[vorbis] Multichannel vorbis.

Pavel Polischouk pavelp at geocities.com
Thu Jul 19 07:24:34 PDT 2001



Hi.

I have two CDs that the artists inteded for simultaneous listening. They 
even provide instructions on how to start two CD players with the 
minimal time shift.
(for those interested - the CDs are Neurosis/Times Of Grace and Tribes 
Of Neurot/Grace)
I've heard that Vorbis can encode multiple streams. I've already encoded 
both albums into regular 2-channel .ogg files.
The questions are:
1. How do I produce 4-channel .ogg file from 2 2-channel .oggs?
(pointing at relevant parts of oggenc.c and ogg123.c that read/write ogg 
blocks for each channel may be fine so I can write a simple app that 
just reads ogg blocks from two input files and puts them into one 
output. If I write that beast I'll contribute it back to ogg/vorbis 
project immediately).
or 1.1. How do I produce 4-channel .ogg from 2 2-channel .wavs if there 
is some way of doing this without invoking gcc?
2. How do I play this file (say, mixing together both left and both 
right channels as the first attempt, and using some multichannel 
soundcard later)?
Some suboptimal solution that I use now is to start two instances of 
ogg123 and let esd mix the sound. Is anyone thinking about adding 
multichannel functionality to XMMS plugin, that can mix multiple ogg 
channels into 2 soundcard channel in a somewhat configurable way - say, 
with 4-way balance at least? How hard is to add such an option?

Thanks,
Pavel

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis mailing list