zynaddsubfx

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

commit 14bec3125524a6afbe7699a435dcca1189129017
parent c37c5476f4b8008ef82e887d1efd6c7ecf6d6206
Author: fundamental <mark.d.mccurry@gmail.com>
Date:   Sun, 11 Aug 2013 16:28:39 -0400

Fixes Panning & White Noise

Diffstat:
Msrc/Params/ADnoteParameters.cpp | 2+-
Msrc/UI/ADnoteUI.fl | 10++--------
2 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/src/Params/ADnoteParameters.cpp b/src/Params/ADnoteParameters.cpp @@ -164,7 +164,7 @@ static Ports globalPorts = { rParam(PBandwidth, "Relative Fine Detune Gain"), //Amplitude - //TODO move panning here + rParam(PPanning, "Panning of ADsynth"), rParam(PVolume, "volume control"), rParam(PAmpVelocityScaleFunction, "Volume Velocity Control"), diff --git a/src/UI/ADnoteUI.fl b/src/UI/ADnoteUI.fl @@ -718,8 +718,8 @@ o->redraw();} code0 {char tmp[10];snprintf(tmp,10,"%d",nvoice+1);o->label(strdup(tmp));} } {} Fl_Choice {} { - callback {if (o->value()==0) voicemodegroup->activate(); - else voicemodegroup->deactivate();} + callback {if (o->value()==0){ voicemodegroup->activate(); noiselabel->hide();} + else{ voicemodegroup->deactivate(); noiselabel->show();}} tooltip {Oscillator Type (sound/noise)} xywh {5 515 65 20} down_box BORDER_BOX labelsize 10 textfont 1 textsize 10 code0 {o->init("Type");} class Fl_Osc_Choice @@ -763,12 +763,6 @@ bypassfiltercheckbutton->redraw();} label {White Noise} xywh {150 430 300 65} labelfont 1 labelsize 50 labelcolor 7 } - Fl_Check_Button {} { - callback {if (o->value()==0) noiselabel->hide(); else noiselabel->show();} - xywh {0 0 0 0} - code0 {o->init("Type");} - class Fl_Osc_Check - } } Fl_Check_Button voiceonbutton { label On