Tutorial |
Arrays of Output devices - outputarray.tao |
Using pitches - pitches.tao |
Using the Output device - outputs.taoThis script illustrates stereo and mono Output devices. It creates one of each and a single string and then writes output to each channel of each device from different positions on the string, after a short impulse has been applied to the string.
Audio rate: 44100;
String string(100 Hz, 30 secs);
Output out1(stereo), out2(mono);
Init:
string.lockEnds();
...
Score 30 secs:
At start for 0.1 msecs:
string(0.9).applyForce(1.0);
...
out1.chL: string(0.1);
out1.chR: string(0.9);
out2.ch1: string(0.5);
Every 0.1 secs: Print Time, newline; ...
...
| ||
Tutorial |
Arrays of Output devices - outputarray.tao |
Using pitches - pitches.tao |
| ©1999,2000 Mark Pearson
m.pearson@ukonline.co.uk April 30, 2000 | ||