JJazzLab icon indicating copy to clipboard operation
JJazzLab copied to clipboard

Add possibility to fine tune FluidSynth e.g A460 instead of A440

Open jjazzboss opened this issue 11 months ago • 3 comments

Fluidsynth supports midi fine tuning, but using pitch bend might be simpler. https://github.com/FluidSynth/fluidsynth/discussions/807

jjazzboss avatar Jan 02 '25 09:01 jjazzboss

I am experimenting with this one. It seems fluidsynth implements midi tuning standard interface https://www.fluidsynth.org/api/group__tuning.html and https://github.com/FluidSynth/fluidsynth/wiki/FluidFeatures But I'm still to map the params correctly. I'll try that a bit and check pitch bend if it doesn't work.

If you have a good reference for MIDI that'd be welcomed!

juanotto avatar Sep 29 '25 13:09 juanotto

If you have a good reference for MIDI that'd be welcomed!

Just the web...

If you manage to do it, you can update the UI here https://github.com/jjazzboss/JJazzLab/blob/c639c1ccb53014fae0dbed3770d3a9d0d86e7dab/plugins/FluidSynthEmbeddedSynth/src/main/java/org/jjazz/fluidsynthembeddedsynth/api/SettingsDialog.java

Maybe you can have a look at #523 too... I guess this kind of advanced fluidsynth setting should not be in the UI, I see more a config file for advanced users.

To me these are rather low-priority issues because it will not be used by many people.

jjazzboss avatar Sep 29 '25 21:09 jjazzboss

Just the web... On that, I am over there 😆

To me these are rather low-priority issues because it will not be used by many people. I suspected the same but wanted to get some view of the machine underneath!

I got down to debug the messages going through FluidSynthJava, compiling FluidSynthJava, try sysex tuning messages, read fluidsynth API docs and even some fluidsynth code -> https://github.com/FluidSynth/fluidsynth/blob/master/src/synth/fluid_synth.c#L2119

I take it as learning, it will be useful at some point. But I'll check other issues or do updates in the docs if I don't get some results today, not staying stuck on this one.

juanotto avatar Sep 29 '25 22:09 juanotto