chipweinberger / dart_melty_soundfont

A port of Melty Synth by Nobuaki Tanaka (C#) to Dart
Other
35 stars 8 forks source link

Isolate and Multiple instrument usage #25

Open cyrilhl opened 3 months ago

cyrilhl commented 3 months ago

First of all, thanks for the amazing plugin you made, and I have two questions see if you can point me to some hints to resolve.

  1. As you mention in readme, the rendering process should better move into isolate or compute. Do you have any best practice example for that ?
  2. Another question is I want to make a sequencer with the plugin, how can I handle multiple instrument with the synth ? or I need to have multiple instance of synth and then merge the output together ?

Many thanks

chipweinberger commented 3 months ago

I do not have example code as I do it in the main thread. But if you implement it please share it.

For multiple instruments I think yes you need to merge outputs.

chipweinberger commented 1 month ago

you can have 1 instrument per channel