Hello, this is my first time posting in this forum
I am working on a .sf2-player for a friend. I am building it in Cabbage using Csound’s fluidSynth-opcodes. I have currently found a way to select different presets and banks, but this is where my limited experience with both csound and cabbage stops me…
At this moment, I only use a rotary slider to select the different presets from the .sf2-files. This means that there is no way for the user to know what sound is currently selected, and what number the sound he might want is.
The only solution i see to this is that the opcode fluidLoad can output exactly this information. The issue is that it is only output to the terminal. My question then is if there is any way to access this information?
The manual says fluidLoad outputs information about the soundfont in this format:
SoundFont: 1 Bank: 0 Preset: 0 Seagul Acoustic Git
I feel like if it is possible to grab this information in any way, it should not be too difficult to generate a combobox to let the user select the sounds he wants, instead of guessing. Is this even possible in Cabbage?
Thanks on beforehand for reading this, and if anyone could help, I would be really really grateful.
Børge