/usr/share/doc/taopm/examples/hammer.tao is in taopm 1.0-3.1.
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 | Audio rate: 44100;
String string(200 Hz, 30 secs);
Hammer hammer;
Init:
string.lockEnds();
string(0.7) -- hammer;
hammer.setGravity(0.0001).setMass(200.0);
...
Score 10 secs:
At 0 secs:
hammer.drop();
...
...
|