<div dir="auto">Sounds like you want spatialization on a plane through 8 speakers positioned on a circle?<div dir="auto"><br></div><div dir="auto">So you need to convert any cartesian locations to polar coords first. For an approximate 3D sound effect you really only need a function to create distance (and Doppler?) effects, and then feed that output, and the angle into the planner. </div><div dir="auto"><br></div><div dir="auto">The Doppler effects are the trickiest obviously. Last time I checked, real time pitch shifting as a function of change in distance was best done in the Fourier domain. Not sure how real time that is these days.</div><div dir="auto"><br></div><div dir="auto">Distance effects are just inverse square of distance (or 1/ d^1.5 according to some). Then add filters for high and low frequencies. Constant power panning and variants popular and easy for speakers on a circle.</div><div dir="auto"><br></div><div dir="auto"><div dir="auto">There's pseudo code in this book from memory: Dodge, Charles; Jerse, Thomas A. 1997 Computer music : synthesis, composition, </div><div dir="auto">and performance. 2nd ed. New York : Schirmer Books ; London : Prentice </div><div dir="auto">Hall International.</div></div><div dir="auto"><br></div><div dir="auto">Cheers</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 10, 2019, 3:10 PM Alexandre Torres Porres <<a href="mailto:porres@gmail.com">porres@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr">Em ter, 10 de set de 2019 às 16:42, Roman Haefeli <<a href="mailto:reduzent@gmail.com" target="_blank" rel="noreferrer">reduzent@gmail.com</a>> escreveu:</div><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Do you need the flexibility that Ambisoncis gives you?<br></blockquote><div><br></div><div>doubt it.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Would like to be able to switch between 2D and 3D with the same system? </blockquote><div><br></div><div>nope </div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I'm not sure if what you want is different from<br>
[else/pan4~], but with 8 channels...<br></blockquote><div><br></div><div>yeah, all I want is expand it to 8 channels, and I'm gonna call it [else/pan8~]</div><div><br></div><div>I'll let the other experts deal with "true spatilization" and people can just use these more sophisticated libraries for that.</div><div><br></div><div><br></div><div><br></div><div></div></div></div></div>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank" rel="noreferrer">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div>