Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#12 "undersample" param, editable draft settings

closed-out-of-date
None
5
2011-06-23
2010-03-24
Anonymous
No

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.

Discussion

  • undersample / editable draft quality patch

     
    Attachments
  • 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.

     
  • Updated by #2977763.

     
    • assigned_to: nobody --> tobydox
    • status: open --> closed-out-of-date