X-Git-Url: http://git.sourceforge.jp/view?p=timewavesynth%2FTimewave_Synthesizer.git;a=blobdiff_plain;f=timewavesynth8.scd;h=6f0296cb6be92f290ffebe90d705c2f481814882;hp=0142a84f6dfebce6385cef56cb0d2948dbf04fc6;hb=7d691718ad96b308703ed122d1597221591710ca;hpb=a923599f4c80a55ec261429e83b5aac41a418123;ds=sidebyside diff --git a/timewavesynth8.scd b/timewavesynth8.scd index 0142a84..6f0296c 100644 --- a/timewavesynth8.scd +++ b/timewavesynth8.scd @@ -50,7 +50,7 @@ s.waitForBoot({ //base frequency for synth inst - ~base_frequency = ~freqmap.at(45); //default 45 + ~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;