File: outputarray.tao

package info (click to toggle)
taopm 1.0-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 6,972 kB
  • sloc: sh: 9,809; cpp: 5,161; yacc: 2,298; lex: 464; makefile: 434; ansic: 57
file content (21 lines) | stat: -rwxr-xr-x 375 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Audio rate: 44100;

String string(200 Hz, 30 secs);

Output outputs(mono)[5];

Init:
    string.lockEnds();
    ...

Score 30 secs:
    At start for 0.1 secs:
        string(0.1).applyForce(1.0);
	...

    outputs[0].ch1: string(0.1);
    outputs[1].ch1: string(0.3);
    outputs[2].ch1: string(0.5);
    outputs[3].ch1: string(0.7);
    outputs[4].ch1: string(0.9);
    ...