/* Getting started.. 1.2 Basic Document Structure This file explains the "Document Structure". If you press run, you won't hear anything! A Csound document is structured in four main sections. Each sections is opened with a tag and closed with tag. Every Csound file starts with a tag, and ends with , only text that is inbetween, will be compiled by Csound. */ ; START OF A CSOUND FILE ; OPTIONS ; If you run Csound from CsoundQt, you can set options in the 'Preferences' menu more comfortably. ; Read more details in the Csound Manual under: 1.Overview->The Csound Command->Comand-line Flags (by Category). ;close OPTIONS ; INSTRUMENT SECTION ; The instrumentheader section, specifies global options for instrument performance. sr = 44100 ; the samplerate for audiosignals is set to 44100 Hz (calculations per second) ksmps = 128 ; is the number of samples per control-block, -> ~345 Hz is the controlrate (sr/ksmps = controlrate HZ) nchnls = 2 ; the number of output channels is set to 2 (stereo) 0dbfs = 1 ; the maximum output level before clipping (0dB FS) is set to 1, so the amplitude range is 0-1 ; Now you can define your instruments instr 1 ; first instrument ; this is empty, so nothing will be played endin instr 2 ; second instrument ; this is also empty, so nothing will be played endin ;ends the INSTUMENT SECTION ; SCORE ; instruments will be triggered here but this is empty as well e ; ends the SCORE ; ending of CSOUND FILE this will not become compiled :-), so I don't need the comment sign ; written by Alex Hofmann (Nov. 2009) - Incontri HMT-Hannover 1013 279 563 397 true 160 158 162 51 30 80 25 {12de81e4-fac6-4001-b773-b19de1632c09} true 0 -3 left Lucida Grande 10 3 0 0 0 255 255 255 border 1 1