TOOT 1

From OLPC
Jump to navigation Jump to search

The first orchestra file, called Toot01.orc contains a single instrument which uses an oscil unit to play a 440Hz sine wave (defined by f1 in the score) at an amplitude of 10000

orchestra

 File: Toot01.orc
 instr 1

	a1	oscil	10000, 440, 1

		out	a1

 endin

score

 File: toot1.soc
f1	0	4096	10	1	; use GEN10 to compute a sine wave

;ins	strt	dur

i1	0	4

e