Birch-san / juicysfplugin

Audio plugin (e.g. VST, AU) to play soundfonts on macOS, Windows, Linux
GNU General Public License v3.0
209 stars 27 forks source link

Legato / Portmento function? #40

Closed Inversil closed 2 years ago

Inversil commented 2 years ago

Hey!

I love what you're doing with JuicySFplugin. How difficult would it be to add midi legato for easier pitch transitions on things like violins / guitars? Would really improve the usability of soundfonts in general.

Thanks so much

Birch-san commented 2 years ago

Thanks! Probably it already supports legato and portamento. I pass every MIDI CC down to the underlying synthesized, FluidSynth: https://github.com/Birch-san/juicysfplugin/blob/c95eb5755aab634a22dfa778912facd136590d5c/Source/FluidSynthModel.cpp#L361

And FluidSynth has had support for legato & portamento for years: https://github.com/FluidSynth/fluidsynth/issues/158

So, try sending the appropriate MIDI CCs and see what happens!

Birch-san commented 2 years ago

This was mentioned previously; apparently it's possible: https://github.com/Birch-san/juicysfplugin/issues/16

Inversil commented 2 years ago

Ohh! Ok! I figured it would be missing since I couldn't find any buttons for it.

I send the right midi ccs into it it will enable the feature? amazing! I will try it out right now.

EDIT: sorry for creating a duplicate issue