OSDN Git Service

Update timewavesynth8.scd
[timewavesynth/Timewave_Synthesizer.git] / timewavesynth8.scd
index a16d008..0ab0c97 100644 (file)
@@ -8,7 +8,7 @@
 //and pressing "ctrl - enter" or "cmd - return", before each server boot. Rebooting the interpreter is not needed to
 //evaluate the code below if the server is booted.
 
-//You can program/make a song by using the "timewavesynth8 script" file
+//You can program/make a song by using the "timewavesynth8 script.scd" file
 
 //This synth is compatible with the Korg NanoKontrol 2
 
@@ -50,7 +50,7 @@ s.waitForBoot({
 
        //base frequency for synth inst
 
-       ~base_frequency = ~freqmap.at(48); //default 48
+       ~base_frequency = ~freqmap.at(37); //default 37
        ~synthdefnum = 7; //default 7
 
        //volume
@@ -5152,7 +5152,7 @@ s.waitForBoot({
                ~closemessagestring.align = \center;
                ~closemessagestring.string ="Close Timewave Synth?";
                ~closemessagestring.stringColor = Color.white;
-               ~closemessagebutton1 = Button.new(~closemessage,Rect(120-46+40,340/1.6180339887499-30,46,46/1.6180339887499)).states_([["Yes",Color.white,Color.black]]).action_({AppClock.sched(0, {w.close; if(~l1a.isRunning == true or: ~l1a1.isRunning == true, {~synthfree.value; ~numsynths.stop;}, {nil});});});
+               ~closemessagebutton1 = Button.new(~closemessage,Rect(120-46+40,340/1.6180339887499-30,46,46/1.6180339887499)).states_([["Yes",Color.white,Color.black]]).action_({AppClock.sched(0, {w.close; if(~l1a.isRunning == true or: ~l1a1.isRunning == true, {~synthfree.value; ~numsynths.stop; s.freeAll;}, {nil});});});
                ~closemessagebutton2 = Button.new(~closemessage,Rect(320+46-130,340/1.6180339887499-30,46,46/1.6180339887499)).states_([["No",Color.white,Color.black]]).action_({AppClock.sched(0, {~closemessage.close;});});
                ~closemessage.front;