This adds audio applets as a concept. They are only integrated into Hemispheres as normal applets ATM, but should be ready for repackaging into quadrants (or manifold? polyspheres?). This also replaces the old macro based applet declaration with a template based one, with an eye towards eventually allowing dynamic applets (though that's going to involve further refactoring).
The example applets are barely functional, just there to give a sense of how to use these things. They are memory hungry however... hopefully dynamic applets will help alleviate some of that pain in future (even if audio applets themselves can't be dynamic). We might also have to look at something like audio buffer pools or something that applets can share.
Anyway, this PR makes functionality worse, but hopefully is a good enough stepping stone to for longer term awesomeness. All existing DSP stuff has been commented out; I have not ported it to applets, but could if needed.
This adds audio applets as a concept. They are only integrated into Hemispheres as normal applets ATM, but should be ready for repackaging into quadrants (or manifold? polyspheres?). This also replaces the old macro based applet declaration with a template based one, with an eye towards eventually allowing dynamic applets (though that's going to involve further refactoring).
The example applets are barely functional, just there to give a sense of how to use these things. They are memory hungry however... hopefully dynamic applets will help alleviate some of that pain in future (even if audio applets themselves can't be dynamic). We might also have to look at something like audio buffer pools or something that applets can share.
Anyway, this PR makes functionality worse, but hopefully is a good enough stepping stone to for longer term awesomeness. All existing DSP stuff has been commented out; I have not ported it to applets, but could if needed.