> When I handed WebPd over to you, one feature that was important to me
was to have WebPd work as a system where you could take an existing Pd
patch and be pretty sure it would sound and work the same
And I agreed with this goal of yours! Only if you remember, these were different times. Web Audio API had not fully landed, WebPd was firefox only and working on Audio Data API, which provided a simple callback to write audio to the sound card buffers and nothing else, so custom dsp was the only way to go. With the deprecation of Audio data API in favor of web audio API, and native nodes becoming the default thing (custom dsp being only a second class citizen), I couldn't just ignore the option of rebuilding it on native nodes.
My hope was that :
1) native nodes would be enough to implement a significant part of Pd's functionalities, with ScriptProcessorNode complementing what couldn't be implemented with a big !!!use these objects carefully : performance penalty warning sign
2) the difference in implementation in native nodes compared to pd objects wouldn't be that significant.