TOOT 1: Difference between revisions

From OLPC
Jump to navigation Jump to search
Line 4: Line 4:




{{ Box File | toot1.orc | 2=<pre>
{{ Box File | Toot01.orc | 2=<pre>
instr 1
instr 1



Revision as of 22:11, 23 March 2008

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