commit a364ace695b435f20821cde469159955482896b6
parent 40503425c7be298225afee4fefce0eb2b519d2a4
Author: paulnasca <paulnasca>
Date: Sun, 27 Feb 2005 09:35:34 +0000
*** empty log message ***
Diffstat:
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -766,7 +766,7 @@
19 Feb 2005 - Corectata o eroare care facea ca uneori sa fie calculata frecventa la ADnote=nan si programul sa crape pentru ca era folosit parametrul bandwidthDetuneMultiplier inainte de a fi calculat
21 Feb 2005 - Se afiseaza corect numele fisierului proaspat salvat in fereastra principala
26 Feb 2005 - Corectata eroarea la windows si la OSS care facea ca pitch bend sa nu fie mapat corect (trebuie verificat)
-
+27 Feb 2005 - Se afiseaza corect valoarea lui detune in centi
\ No newline at end of file
diff --git a/src/UI/ADnoteUI.fl b/src/UI/ADnoteUI.fl
@@ -50,9 +50,9 @@ decl {\#include "OscilGenUI.h"} {public
decl {\#include "PresetsUI.h"} {public
}
-class ADvoicelistitem {: {public Fl_Group}
+class ADvoicelistitem {open : {public Fl_Group}
} {
- Function {make_window()} {private
+ Function {make_window()} {open private
} {
Fl_Window ADnoteVoiceListItem {
private xywh {247 599 615 30} type Double hide
@@ -92,7 +92,7 @@ class ADvoicelistitem {: {public Fl_Group}
Fl_Value_Output detunevalueoutput {
callback {o->value(getdetune((pars->VoicePar[nvoice].PDetuneType==0)?(pars->GlobalPar.PDetuneType) : (pars->VoicePar[nvoice].PDetuneType),0,pars->VoicePar[nvoice].PDetune)*pars->getBandwidthDetuneMultiplier());} selected
xywh {265 5 45 20} labelsize 10 align 5 minimum -5000 maximum 5000 step 0.01 textfont 1 textsize 10
- code0 {o->value(getdetune(pars->VoicePar[nvoice].PDetuneType,0,pars->VoicePar[nvoice].PDetune));}
+ code0 {o->value(getdetune(pars->VoicePar[nvoice].PDetuneType,0,pars->VoicePar[nvoice].PDetune)*pars->getBandwidthDetuneMultiplier());}
}
Fl_Slider voicedetune {
callback {pars->VoicePar[nvoice].PDetune=(int)o->value()+8192;
@@ -172,7 +172,7 @@ ADnoteVoiceListItem->redraw();} {}
decl {Master *master;} {}
}
-class ADvoiceUI {: {public Fl_Group}
+class ADvoiceUI {open : {public Fl_Group}
} {
Function {make_window()} {} {
Fl_Window ADnoteVoiceParameters {
@@ -463,9 +463,9 @@ detunevalueoutput->do_callback();}
}
Fl_Value_Output detunevalueoutput {
label Detune
- callback {o->value(getdetune((pars->VoicePar[nvoice].PDetuneType==0)?(pars->GlobalPar.PDetuneType) : (pars->VoicePar[nvoice].PDetuneType),0,pars->VoicePar[nvoice].PDetune));}
+ callback {o->value(getdetune((pars->VoicePar[nvoice].PDetuneType==0)?(pars->GlobalPar.PDetuneType) : (pars->VoicePar[nvoice].PDetuneType),0,pars->VoicePar[nvoice].PDetune)*pars->getBandwidthDetuneMultiplier());}
xywh {10 272 45 15} labelsize 10 align 5 minimum -5000 maximum 5000 step 0.01 textfont 1 textsize 10
- code0 {o->value(getdetune(pars->VoicePar[nvoice].PDetuneType,0,pars->VoicePar[nvoice].PDetune));}
+ code0 {o->value(getdetune(pars->VoicePar[nvoice].PDetuneType,0,pars->VoicePar[nvoice].PDetune)*pars->getBandwidthDetuneMultiplier());}
}
Fl_Check_Button {} {
label 440Hz