TOOT 1: Difference between revisions

From OLPC
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:




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


Line 17: Line 17:
== score ==
== score ==


{{ Box File | toot1.soc | 2=<pre>
{{ Box File | Toot01.sco | 2=<pre>
f1 0 4096 10 1 ; use GEN10 to compute a sine wave
f1 0 4096 10 1 ; use GEN10 to compute a sine wave



Latest 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: Toot01.sco
f1	0	4096	10	1	; use GEN10 to compute a sine wave

;ins	strt	dur

i1	0	4

e