OSDN Git Service

Update timewavesynth8.scd
[timewavesynth/Timewave_Synthesizer.git] / timewavesynth8.scd
index 2501df7..6f0296c 100644 (file)
@@ -50,7 +50,7 @@ s.waitForBoot({
 
        //base frequency for synth inst
 
-       ~base_frequency = ~freqmap.at(52); //default 52
+       ~base_frequency = ~freqmap.at(48); //default 48
        ~synthdefnum = 7; //default 7
 
        //volume
@@ -5147,7 +5147,7 @@ s.waitForBoot({
        });*/
        ~min = Button.new(w,Rect(Window.screenBounds.width-20,~bpt+69+5-(20/1.6180339887499),20,20/1.6180339887499)).states_([["m",Color.white,Color.black]]).action_({arg button; w.minimize;});
 
-       ~close = Button.new(w,Rect(Window.screenBounds.width-20,~bpt+69+5,20,20/1.6180339887499)).states_([["c",Color.white,Color.black]]).action_({arg button; w.close; ~numsynths.stop;});
+       ~close = Button.new(w,Rect(Window.screenBounds.width-20,~bpt+69+5,20,20/1.6180339887499)).states_([["c",Color.white,Color.black]]).action_({arg button; ~synthfree.value; w.close; ~numsynths.stop;});
 
 
        w.front; w.fullScreen;