From f89ef872dd1e32c6b6ddda99370247ae436cf148 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 12 Jul 2020 06:33:34 +0200 Subject: [PATCH] Increase a-fluidsynth polyphony --- libs/ardour/ardour/fluid_synth.h | 2 +- libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/ardour/ardour/fluid_synth.h b/libs/ardour/ardour/fluid_synth.h index e37a27419e..143e3f3f62 100644 --- a/libs/ardour/ardour/fluid_synth.h +++ b/libs/ardour/ardour/fluid_synth.h @@ -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); diff --git a/libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc b/libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc index cc656b56c1..95d2953127 100644 --- a/libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc +++ b/libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc @@ -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);