I have a .toe that automatically adds object instances matched to sound and animation. The sounds are mono and I’d like each object location to affect the rendering of the sound. Basically I want to take the mono sound and make it multi-channel based on object location.
Is there an easy way to do spatial audio in Touch? Or do I need to research algos and implement from scratch?
well, you can control relative volume levels to each output channel in touch but no real multi-channel panning unless you make it yourself certainly simple 4 way panning would be easy to hook up using x/y values to place the sounds. I’d probably install Pure Data [url]http://puredata.info/downloads[/url] and include the VBAP extension (I think it’;s included in the PDextended distribution, along with OSC support) to get vector-based amplitude panning between an arbitrary number of speakers in a circle (or sphere). then OSC messages could control the audio panning in real time.
Thank you Rod and Christopher for your responses! Rod, I had a thought to use OpenAL somehow but your solution sounds maybe easier.
At this point I have a few more things to do before spatial sound gets on the critical path but it will get there. Since it seems to be more complicated that I’d hoped I could use some help. So yes Christopher I would love for you to come by and show me a few tricks Maybe sometime next week? Leila, my collaborator is in town from Montreal and we’ll be in the studio pretty much all week except for Wednesday and Friday aft.