[Vorbis] Mixing inputstreams.

Fish fish at ghostsofp.com
Mon Mar 2 03:06:56 PST 2009


With the help of a java programmer, we have created an application to 
play multiple local ogg sound files, all triggered from a single 'play' 
event. The event triggers an instance of the ogg.vorbis player for each 
file to be played. However we are finding that these 'tracks' are not 
synchronised, since the audioinputstream for each is passed to the 
dataline, and so gets handled by the OS. We are now looking for a way to 
combine these inputstreams, into a single input stream, (mixed), so that 
the combined stream can be output to the dataline, and so guarantee, 
that the combined or mixed sound is indeed synchronised. Since we have 
some controls within each of the players, pan, level, mute, we should be 
able to still use these for each of the channels before they are 
combined. There may indeed be a solution already to this problem, and 
pointers in the right direction would be a help. Otherwise a suggested 
approach would we most welcome.

Thanks in advance
Gerry Abbott


More information about the Vorbis mailing list