Increase a-fluidsynth polyphony
This commit is contained in:
parent
9d390f38bf
commit
f89ef872dd
|
@ -36,7 +36,7 @@ namespace ARDOUR {
|
||||||
* @param samplerate samplerate
|
* @param samplerate samplerate
|
||||||
* @param polyphony polyphony
|
* @param polyphony polyphony
|
||||||
*/
|
*/
|
||||||
FluidSynth (float samplerate, int polyphony = 32);
|
FluidSynth (float samplerate, int polyphony = 256);
|
||||||
~FluidSynth ();
|
~FluidSynth ();
|
||||||
|
|
||||||
bool load_sf2 (const std::string& fn);
|
bool load_sf2 (const std::string& fn);
|
||||||
|
|
|
@ -343,7 +343,7 @@ instantiate (const LV2_Descriptor* descriptor,
|
||||||
}
|
}
|
||||||
|
|
||||||
fluid_synth_set_gain (self->synth, 1.0f);
|
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_sample_rate (self->synth, (float)rate);
|
||||||
|
|
||||||
fluid_synth_set_reverb_on (self->synth, 0);
|
fluid_synth_set_reverb_on (self->synth, 0);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user