Theory and DSP behind spatialisation

DSP, Plug-in and Host development discussion.
Dynamis
KVRer
2 posts since 22 Jul, 2010

Post Thu Mar 08, 2018 11:25 pm

Hy,

Is there a website, a course, a book, articles... to learn the theory (math, physics, DSP algorithms...) about spatialisation techniques ?

stratum
KVRAF
2114 posts since 29 May, 2012

Re: Theory and DSP behind spatialisation

Post Thu Mar 08, 2018 11:35 pm

You can use measured impulse responses http://www.akustik.rwth-aachen.de/cms/T ... nk/?lidx=1

As for the theory, it's related to the way humans hear, and the same website or similar ones may contain papers that you may use as starting points for further research.
~stratum~

User avatar
BertKoor
KVRAF
10788 posts since 8 Mar, 2005 from Utrecht, Holland

Re: Theory and DSP behind spatialisation

Post Fri Mar 09, 2018 8:07 am

At the basis it's just a delay between left & right, the time it takes for the sound wave to travel around your head.
Mr. Haas discovered/descrived this first: https://en.wikipedia.org/wiki/Precedence_effect
We are the KVR collective. Resistance is futile. You will be assimilated. Image
My MusicCalc is back online!!

bbell
KVRer
21 posts since 2 Oct, 2011

Re: Theory and DSP behind spatialisation

Post Sat Mar 10, 2018 8:56 pm

I would look into Csound source code. Here's a list of a few of the Csound spatializer opcodes, then you should download Csound and check out it's open source C code -
http://www.csounds.com/manual/html/SigmodPanspatl.html
http://www.csounds.com/manual/html/SigmodReverbtn.html

User avatar
ottohalmen
KVRer
12 posts since 19 Jan, 2017 from Helsinki, Finland

Re: Theory and DSP behind spatialisation

Post Sun Mar 11, 2018 3:27 am

The Wikipedia article on sound localization is a great starting point, and links to a whole bunch of related subjects, including the aforementioned precedence effect. :)

Other than that, it's such a broad subject (including everything from HRTFs to room acoustics) that recommending anything more specific depends on what you're looking to accomplish. What's your project? :)

Dynamis
KVRer
2 posts since 22 Jul, 2010

Re: Theory and DSP behind spatialisation

Post Thu Mar 15, 2018 3:54 pm

Don't really have a project , maybe to code impulse and to hear the response when it pass through a room for which I can specify the shape, the size...

User avatar
ottohalmen
KVRer
12 posts since 19 Jan, 2017 from Helsinki, Finland

Re: Theory and DSP behind spatialisation

Post Sat Mar 17, 2018 10:28 am

Dynamis wrote:Don't really have a project , maybe to code impulse and to hear the response when it pass through a room for which I can specify the shape, the size...
Search for "image source method". It's a classic algorithm for generating IRs from a parametric room model, and a great starting point. :)

Return to “DSP and Plug-in Development”