- From: Olivier Thereaux <notifications@github.com>
- Date: Mon, 21 Oct 2013 08:22:36 -0700
- To: WebAudio/web-audio-api <web-audio-api@noreply.github.com>
Received on Monday, 21 October 2013 15:23:00 UTC
> What language are the examples in Section 11 written in? Since section numbering changes now and then, let me clarify that this refers to Section 11. Spatialization / Panning (http://www.w3.org/TR/webaudio/#Spatialization) I am not an expert on pseudo-code, but this looks like c++, assuming usage of a vector library such as https://code.google.com/p/slmath/. Unsurprisingly, it is derived very closely from Chrome source: https://chromium.googlesource.com/chromium/blink/+/master/Source/modules/webaudio/PannerNode.cpp Look for ```cpp void PannerNode::getAzimuthElevation(double* outAzimuth, double* outElevation) ``` > Can it be executed? Not really, seeing as the actual data the example is supposed to process is not present. I don't think this is the actual problem - it is describing an algorithm which is to be followed to calculate azimuth and elevation. My question would be more along the lines of - do we need this pseudo-code at all, seeing as azimuth and elevation are fairly well-defined mathematical constructs? --- Reply to this email directly or view it on GitHub: https://github.com/WebAudio/web-audio-api/issues/260#issuecomment-26726670
Received on Monday, 21 October 2013 15:23:00 UTC