@ptitSeb : well, speed really depends on the level. Levels 8 and 9 were pretty slow for example on my Rebirth with OC @ 600MHz. I can provide you with saved games if need be.I rebuild the sources but I don't have updated them (still SDL1.2). It seems to works fine and fast anyway.
+ fluid_settings_setnum(settings, "synth.sample-rate", 48000); // or another rate
+ fluid_settings_setnum(settings, "synth.gain", 1); // loudness
+ fluid_settings_setstr(settings, "synth.reverb.active", "no"); // for testing
+ fluid_settings_setstr(settings, "synth.chorus.active", "no");
+ fluid_settings_setint(settings, "synth.polyphony", 256);
+ fluid_settings_setnum(settings, "synth.cpu-cores", 1);
+ fluid_settings_setnum(settings, "audio.periods", 2);
+ fluid_settings_setnum(settings, "audio.period-size", 256);
-#define FLUID_REVERB_DEFAULT_ROOMSIZE 0.2f /**< Default reverb room size */
-#define FLUID_REVERB_DEFAULT_DAMP 0.0f /**< Default reverb damping */
-#define FLUID_REVERB_DEFAULT_WIDTH 0.5f /**< Default reverb width */
-#define FLUID_REVERB_DEFAULT_LEVEL 0.9f /**< Default reverb level */
+#define FLUID_REVERB_DEFAULT_ROOMSIZE 0.61f /**< Default reverb room size */
+#define FLUID_REVERB_DEFAULT_DAMP 0.23f /**< Default reverb damping */
+#define FLUID_REVERB_DEFAULT_WIDTH 0.76f /**< Default reverb width */
+#define FLUID_REVERB_DEFAULT_LEVEL 0.57f /**< Default reverb level */
-#define FLUID_CHORUS_DEFAULT_LEVEL 2.0f /**< Default chorus level */
+#define FLUID_CHORUS_DEFAULT_LEVEL 1.2f /**< Default chorus level */
Seq_SetConfig(&doomseq, "synth.polyphony", 160);
Seq_SetConfig(&doomseq, "synth.sample-rate", 22050);
One of the Fluidsynth forks I told you about yesterday uses some kind of DSP IIRC. Could something similar be achieved easily on the Pandora ?Fluidsynth is heavy, you don't mix 160 voice with reverb and all with no cpu...