nhthn / supercollider-sfz

pre-alpha SFZ sample player
7 stars 2 forks source link

SynthDef #2

Open stahlnow opened 7 years ago

stahlnow commented 7 years ago

Newbie here, how could I use your class in a synthdef.. thanks!

nhthn commented 7 years ago

Please note that this player is not stable, so use at your own risk. Also, I stopped using SFZ so I don't actively maintain this anymore, but I'm willing to address bugs and feature requests to a reasonable extent.

SFZ generates a SynthDef internally, so it can't be embedded in another SynthDef. However, you can still pipe the SFZ Synths into further signal processing. One way is to play to a Bus and implement the effect in a different SynthDef (unfortunately you can't control what Group the SFZ synths play on right now, so you may have to implement that to ensure correct execution order). The other is to modify the source to provide support for injecting a custom function into the generated SynthDef.