search for: ogg_encode

Displaying 1 result from an estimated 1 matches for "ogg_encode".

Did you mean: oe_encode
2000 May 20
0
Useful scripts for WAV encode/decode
...gnizable or usable by most sound programs. So I wrote some wrapper shell scripts to make it easier to convert WAV <-> Vorbis They take stdin as the first argument and stdout as the second. They aren't extremely well tested, consider them beta or example code themselves. Here they are: ogg_encode: #! /bin/sh if [ $# -gt 0 ]; then exec < $1 fi if [ $# -gt 1 ]; then exec > $2 fi sox - -t wav -c 2 -s -w -r 44100 - | encoder_example ogg_decode: #! /bin/sh if [ $# -gt 0 ]; then exec < $1 fi if [ $# -gt 1 ]; then exec > $2 fi decoder_example | sox -t sw -c 2 -s -w...