Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Using Vorbis for encoding/decoding files (Read 3709 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Using Vorbis for encoding/decoding files

Hi,
I am new to using/working on Vorbis command line code.
Can you please tell me how can I use the vorbis source code to compress and decompress the audio files at 48, 96, 192KHz.

I have downloaded libvorbis-1.1.2

Using Vorbis for encoding/decoding files

Reply #1
http://www.xiph.org/vorbis/doc/vorbisfile/example.html

Here is a decoding example for reference. 

http://www.xiph.org/vorbis/doc/vorbisenc/examples.html

Here is an encoding example for reference.

The library is designed to be pretty straightforward depending upon what you want to do. Calculating the sample rate would just require some trivial multiplication.
budding I.T professional