zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

commit 1cd9b968631e6e19201f7b3a2440440bca4d32e5
parent d9bebc4a1392c2ea5c240c0573f1d70da25a0197
Author: paulnasca <paulnasca>
Date:   Sat, 12 Feb 2005 13:15:54 +0000

*** empty log message ***

Diffstat:
Msrc/Params/ADnoteParameters.C | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/Params/ADnoteParameters.C b/src/Params/ADnoteParameters.C @@ -389,6 +389,8 @@ void ADnoteParameters::add2XML(XMLwrapper *xml){ xml->addpar("coarse_detune",GlobalPar.PCoarseDetune); xml->addpar("detune_type",GlobalPar.PDetuneType); + + xml->addpar("bandwidth",GlobalPar.PBandwidth); xml->beginbranch("FREQUENCY_ENVELOPE"); GlobalPar.FreqEnvelope->add2XML(xml); @@ -460,6 +462,8 @@ void ADnoteParameters::getfromXML(XMLwrapper *xml){ GlobalPar.PDetune=xml->getpar("detune",GlobalPar.PDetune,0,16383); GlobalPar.PCoarseDetune=xml->getpar("coarse_detune",GlobalPar.PCoarseDetune,0,16383); GlobalPar.PDetuneType=xml->getpar127("detune_type",GlobalPar.PDetuneType); + + GlobalPar.PBandwidth=xml->getpar127("bandwidth",GlobalPar.PBandwidth); xml->enterbranch("FREQUENCY_ENVELOPE"); GlobalPar.FreqEnvelope->getfromXML(xml);