1

I would like to split up an audio stream (32bit floats) to chunks, encode them with a lossy compression and then decode it in the other side.

I have no experience with audio codecs, so I started to look for solution. What I've found is Opus and Vorbis. I was not able to find out the substantial difference between them.

The audio I would like to trasfer is mostly speech, but it may contain some other sounds too. The program may run in an environment where the computational power and network bandwidth is limited.

From this image it looks like that Opus can scale better and can compress audio more (by reducing quality) if for example the network bandwidth is low.

codecs

3

Opus is the successor for Vorbis, created by the same company and applicable to a wider range of audio qualities and rates while having low latency.

When Opus is available, there is no real reason to prefer Vorbis over it except possibly for catering for older playback devices.

The graphics you show do like they'd be straight out of an advertising flyer of the Xiph.Org foundation responsible for both Opus and Vorbis, but at least regarding the relation of the latter two they have little enough reason to oversell (apart from not wanting to split maintenance efforts, but superseding Vobis had been a design goal from the start and if anybody should be in a good position for that, one would expect the original creators of Vorbis to be).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.