NAME
|
vocdec, vocenc – decode and encode VOC files |
SYNOPSIS
|
games/vocdec games/vocenc fmt |
DESCRIPTION
|
Vocdec and vocenc process and create Creative Voice formatted
audio files. Vocdec reads a VOC file on stdin and outputs a raw audio stream in the default format understood by /dev/audio, that is signed 16 bit little endian, two channels, 44.1kHz.
Vocenc reads raw audio on stdin and outputs a VOC formatted file
on stdout. The fmt argument specifies both the input and output
raw audio format using the same string format as pcmconv(1). |
EXAMPLES
|
Create a VOC file from microphone input: <
|
SOURCE
|
/sys/src/games/vocdec.c /sys/src/games/vocenc.c |
SEE ALSO
|
audio(1), audio(3), play(1) |
HISTORY
|
Vocdec first appeared in 9front (February, 2023). Vocenc was added
later (August, 2023). |