Tutorial |
Damping parts of an instrument - damp.tao |
Creating an elliptical sheet |
Emergent behaviour (diffraction) - diffraction.taoThis script creates two rectangular sheets and joins them together using the Join statement. The boundary between the two sheets is then locked in several places leaving a few `slots' where the waves can get through. A short impulse is applied to one of the sheets named verb|source| and the resulting wave fronts interfere after having passed through the slots to form diffraction patterns.Audio rate: 44100; Rectangle source(150 Hz, 300 Hz, 20 secs); Rectangle dest(150 Hz, 300 Hz, 20 secs); Init: source.lockCorners(); dest.lockCorners(); source.lock(0.000000, 0.050000, top, top); source.lock(0.070000, 0.120000, top, top); source.lock(0.140000, 0.190000, top, top); source.lock(0.210000, 0.260000, top, top); source.lock(0.280000, 0.330000, top, top); source.lock(0.350000, 0.400000, top, top); source.lock(0.420000, 0.470000, top, top); source.lock(0.490000, 0.540000, top, top); source.lock(0.560000, 0.610000, top, top); source.lock(0.630000, 0.680000, top, top); source.lock(0.700000, 0.750000, top, top); source.lock(0.770000, 0.820000, top, top); source.lock(0.840000, 0.890000, top, top); source.lock(0.910000, 0.960000, top, top); source.lock(0.980000, 1.000000, top, top); Join source(centre, top) to dest(centre, bottom); dest.setMagnification(5.0); ... Score 5 secs: At 0 secs for 0.1 msecs: source(0.5,bottom).applyForce(50); ... ...
| ||
Tutorial |
Damping parts of an instrument - damp.tao |
Creating an elliptical sheet |
©1999,2000 Mark Pearson
m.pearson@ukonline.co.uk April 30, 2000 |