severak / cyber-music-studio

not your usual DAW
https://severak.github.io/cyber-music-studio/
MIT License
13 stars 1 forks source link

implement as WAM #15

Open severak opened 1 year ago

severak commented 1 year ago

either as https://github.com/webaudiomodules/api or using https://github.com/webaudiomodules/sdk

Use advices from Tom:

In the webaudiomodules SDK there is a class called ParamMgr. It is built to wrap WebAudio Nodes, and expose some of their parameters as WAM parameters. I don't think I have any examples using it without using some sort of JS build tool, but one may exist.. not sure yet. I'll link to my code that uses ParamMgr anyways. Here's a small delay WAM plugin that is implemented using webaudio nodes: https://github.com/boourns/burns-audio-wam/tree/main/src/plugins/delay/src There's other examples in the webaudiomodules/wam-examples repository as well that use ParagMgr, and some of these I think use no build tool, for example - https://github.com/webaudiomodules/wam-examples/tree/ebf5ed23d7543411901b24f12c48164fac9e78bf/packages/pingpongdelay/src

I will also need to process incoming MIDI data. How this is done?

here's a link into a different WAM, the sh-101 clone I built - https://github.com/boourns/burns-audio-wam/blob/main/src/plugins/synth101/src/Node.ts#L234

severak commented 2 months ago

probably not doing this as I have implemented WebMidiLink