/usr/share/doc/taopm/examples/accesspoint1.tao is in taopm 1.0-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | // accesspoint1.tao
//
// Shows how to create and initialise two AccessPoint objects and then use
// them to specify where to take output from a string.
Audio rate: 44100;
String s1(100 Hz, 20 secs);
AccessPoint l=s1(0.1), r=s1(0.9);
Output out(2);
Init:
s1.lockEnds();
...
Score 5.0 secs:
At 0 secs for 0.1 msecs:
s1(0.05).applyForce(1.0);
...
Every 0.1 secs:
Print Time, " ", l, " ", r, newline;
...
out.chL: l;
out.chR: r;
...
|