#12 "undersample" param, editable draft settings


This patches the 0.9.x branch so that

(1) the sf2 player uses the Mixer::sfxSampleRate() rather than Mixer::processingSampleRate()
(2) new parameter undersample introduced, like oversample but serves as divisor to the processing sample rate when generating midi sound fx.
(3) all preset draft parameters are now editable in .lmmsrc.xml as follows:

<draftqualitysettings undersampleratedivisor="8" alisafreeoscillators="false" interpolation="linear" oversampleratemultiplier="1" sampleexactcontrollers="false"/>

for instance, makes the draft quality synth 8 times worse sample rate than output samplerate. Note that the default is None (the behavior before the patch), and the given values here for the other parameters were the defaults before the patch. the code path defaults to previous values if the xml attributes are missing as well.


  • Nobody/Anonymous

    undersample / editable draft quality patch

  • Carmelo Piccione

    Why add an undersampling parameter? It's an alternative to buying faster hardware or optimizing fluidsynth / lmms. Fortunately, the audio quality for drafting is acceptable. The publishing quality is unaffected by this patch.

  • Tobias Doerffel

    Tobias Doerffel - 2011-06-23

    Updated by #2977763.

  • Tobias Doerffel

    Tobias Doerffel - 2011-06-23
    • assigned_to: nobody --> tobydox
    • status: open --> closed-out-of-date

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks