19 lines · 671 B · Markdown
RawDownload

libdumb example programs

Two simple example programs are provided.

dumbplay

dumplay will play a module file from command-line. It requires SDL2 for audio output and argtable2 for argument parsing.

dumbout

dumbout streams a module file to raw PCM. This can be used to pipe its output to an encoder such as oggenc (with appropriate command-line options). Or it can be written to a .pcm file which can be read by any respectable waveform editor. It is also convenient for timing DUMB. Compare the time it takes to render a module with the module's playing time! All options are set on the command line. The argtable2-library is required for argument parsing.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t