cSounds.com - tutorials - An Instrument Design TOOTorial
Toot 1: Play One Note

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.


Toot01.orc

instr 1

	a1	oscil	10000, 440, 1

		out	a1

endin


Run this with its corresponding score file, toot1.sco :

 
Navi

[index] [prev] [next]


cSounds.com

[+] Home

Csound Manual

[+] oscil

Listen

[+] Toot01.mp3 32k



 
Toot01.sco

f1	0	4096	10	1	; use GEN10 to compute a sine wave



;ins	strt	dur

i1	0	4



e					; indicates the end of the score

Figure 1: Oscil

[+] Any questions, comments or suggestions? please let us know:
support@csounds.com