Got it, you have to use a routine appropriate to the field type, ie,
fluid_settings_setnum(settings, "synth.gain", 2.0);
Sorry to bother you all,
Scott Franco
- Original Message - Subject: Re: [fluid-dev] Help with setting
volume control
From: "scott andrew f
Actually, going through the .xml list, quite a few of the values don't appear
to be defined
(return nothing from fluid_settings_copystr()).
- Original Message - Subject: Re: [fluid-dev] Help with setting
volume control
From: "scott andrew franco"
Date: 7/30
So running a program to research the issue:
/* show the device fluidsynth connects to (usually "default") */
r = fluid_settings_copystr(settings, "audio.alsa.device", buff, 200);
printf("r: %d\n", r);
printf("The alsa PCM device for Fluidsynth is: %s\n", buff);
r = fluid_settings_copystr(sett