Spatial Audio?

Hello,

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?

Thanks for any help!
Maria

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.

there may be some OSC-controlled ambisonic things out there too these days.
not sure how to use this one, [url]http://puredata.info/Members/zmoelnig/news/abcdefg/?searchterm=ambisonic[/url] for example, but looks cool. gotta get some more speakers when some money comes my way again.

meanwhile, I might start messing with binaural filters into headphones…
[url]http://puredata.info/community/projects/software/earplug/?searchterm=binaural[/url]

looks like there’s a recording of a workshop on spatialization of sound in PureData here…
[url]http://grh.mur.at/misc/PdSpatialization.tar.gz[/url] might give a good ‘big-picture’ view of the subject.

rod.

Hey Maria,

I’ve played around/helped implement a positional audio solution.

I could totally come by your studio and help figure things out?

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 :slight_smile: 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.