On Jun 5, 2006, at 9:43 PM, blackrain wrote:
warning: if you supply a bufnum of a buffer that has a different numChannels then [sic] you have specified to the BufRd, it will fail silently. I thought Axel was asking how to play only one channel out of a multichannel sound file. So if you have a stereo file and do BufRd.ar(1, ...), you'll get no sound. At present there is no easy way to load a pre selected channel of a sound file. However you can use PlayBuf or BufRd to play back all the channels, and choose only the channel you need for the output. stereoSig = BufRd.ar(2, ...); Out.ar(outbus, stereoSig[0]) // play only the left channel hjh : H. James Harkins : jamshark70@xxxxxxxxxxxxxxxxx : http://www.dewdrop-world.net .::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..: "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman |