Increase a-fluidsynth polyphony

This commit is contained in:
Robin Gareus 2020-07-12 06:33:34 +02:00
parent 9d390f38bf
commit f89ef872dd
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ namespace ARDOUR {
* @param samplerate samplerate
* @param polyphony polyphony
*/
FluidSynth (float samplerate, int polyphony = 32);
FluidSynth (float samplerate, int polyphony = 256);
~FluidSynth ();
bool load_sf2 (const std::string& fn);

View File

@ -343,7 +343,7 @@ instantiate (const LV2_Descriptor* descriptor,
}
fluid_synth_set_gain (self->synth, 1.0f);
fluid_synth_set_polyphony (self->synth, 32);
fluid_synth_set_polyphony (self->synth, 256);
fluid_synth_set_sample_rate (self->synth, (float)rate);
fluid_synth_set_reverb_on (self->synth, 0);