OSDN Git Service

Update timewavesynth8 script.scd
[timewavesynth/Timewave_Synthesizer.git] / timewavesynth8 script.scd
index 6b2dfc8..eb2955e 100644 (file)
@@ -1,10 +1,12 @@
-/*Order of execution to run script and record: Hit Ctrl/Cmd - Enter inside the "load synth functions" parenthesis,
-click on the same line as "s.record;" (above the "load synth functions" parenthesis) and hit Ctrl/Cmd - Enter, then
-hit Ctrl/Cmd - Enter inside the "3 - Task" parenthesis above. The record file location will be found in the post window. Just leave
-out the hit record step to run the script without recording.
-Note: You must load the timewave synth program and press the "synth0" button at least once before this script can run.*/
+/*Order of execution to run script and record(goes from bottom to top):
+1. Hit "Ctrl/Cmd - Enter" anywhere inside the "LOAD SYNTH FUNCTIONS" parenthesis,
+2. Click on the same line as "START RECORDING;" (above the "LOAD SYNTH FUNCTIONS" parenthesis) and hit "Ctrl/Cmd - Enter",
+3. Hit "Ctrl/Cmd - Enter" anywhere inside the "TASK" parenthesis above the "START RECORDING;" line...
+The record file location will be found in the post window...
+Leave out #2 to run the script without recording...
+Important Note: You must load the Timewave Synthesizer program and press the "synth0" button at least once before this script can run.*/
 
-((// 3 - Task
+((//3 - TASK
        t = Task({~st = 0; ~trace = {("event-"++(~st = ~st + 1).asString).postln;};
                ~vol = 0.005;~vol1 = ~vol;~vol2 = ~vol;~vol3 = ~vol;~vol4 = ~vol;~vol5 = ~vol;~vol6 = ~vol;~vol7 = ~vol;~vol8 = ~vol;~vol9 = ~vol;~vol10 = ~vol;~vol11 = ~vol;~vol12 = ~vol;
                1.do({
@@ -13,6 +15,7 @@ Note: You must load the timewave synth program and press the "synth0" button at
                        x = 32;
 
                        //copy and paste "saved" chords from the "copy" button inside the synthesizer program here:
+                       //choose to change each duration individually by changing the "x" variable in the code below this line, as well as "synthopen/synthflow"
                        [~f1=519.95703782873,~f2=616.23193196285,~f3=667.17109017758,~f4=692.66874234338,~f5=526.88556162392,~f6=516.52701736121,~f7=508.61137210833,~f8=506.37212156992]; ~synthopen.value; ~trace.value; (x).wait;
                        [~f1=572.96170615003,~f2=572.96170615003,~f3=570.43914200903,~f4=570.43914200903,~f5=570.43914200903,~f6=516.52701736121,~f7=508.61137210833,~f8=506.37212156992]; ~synthflow.value; ~trace.value; (x).wait;
                        [~f1=572.96170615003,~f2=572.96170615003,~f3=709.68417951408,~f4=709.68417951408,~f5=661.30934745052,~f6=590.93477690798,~f7=575.49542543341,~f8=551.87055912019]; ~synthflow.value; ~trace.value; (x).wait;
@@ -24,19 +27,7 @@ Note: You must load the timewave synth program and press the "synth0" button at
 
 
                        //fade out function
-                       x=0.00005;
-                       100.do({
-                               ~vol1=~vol1-x;
-                               ~vol2=~vol2-x;
-                               ~vol3=~vol3-x;
-                               ~vol4=~vol4-x;
-                               ~vol5=~vol5-x;
-                               ~vol6=~vol6-x;
-                               ~vol7=~vol7-x;
-                               ~vol8=~vol8-x;
-                               ~synthflow.value;
-                               0.1.wait;
-                       });
+                       x=0.00005;100.do({~vol1=~vol1-x;~vol2=~vol2-x;~vol3=~vol3-x;~vol4=~vol4-x;~vol5=~vol5-x;~vol6=~vol6-x;~vol7=~vol7-x;~vol8=~vol8-x;~synthflow.value;0.1.wait;});
 
                        //stop everything
                        ~synthfree.value; 2.wait; s.stopRecording;
@@ -46,10 +37,10 @@ Note: You must load the timewave synth program and press the "synth0" button at
 t.play;
 );
 
-s.record; // 2 - start recording
-s.stopRecording; // stop recording
+s.record; //2 - START RECORDING
+s.stopRecording; // STOP RECORDING
 
-(// 1 - load synth functions
+(//1 - LOAD SYNTH FUNCTIONS
 ~synthopen = {
                                case
                                {((~l1a.isRunning == false) and: (~l1a1.isRunning == false)) or: ~l1a1.isRunning == true}{
@@ -619,4 +610,4 @@ s.stopRecording; // stop recording
                                        };
                                );
                        };
-);
\ No newline at end of file
+);