Tutorial |
Example 2 - circle2.tao |
Damping parts of an instrument - damp.tao |
Using the Connector device - connector.taoThis script creates two strings and a Connector device. The Connector device is used to couple the two strings together. The access points representing the end points of the connector move during the performance. One migrates from one end of one of the strings to the other, whilst the second migrates in the opposite direction on the other string. This script also involves theParam keyword.
Audio rate: 44100; String string1(200 Hz, 30 secs); String string2(200 Hz, 30 secs); Connector conn; Param x1,x2; Init: string1.lockEnds(); string2.lockEnds(); ... Score 1 secs: At start for 1 msecs: string1(0.1).applyForce(1.0); ... x1 = linear(0,1); x2 = linear(1,0); string1(x1) -- conn -- string2(x2); ...
| ||
Tutorial |
Example 2 - circle2.tao |
Damping parts of an instrument - damp.tao |
©1999,2000 Mark Pearson
m.pearson@ukonline.co.uk April 30, 2000 |