1<CsoundSynthesizer> 2<CsOptions> 3-o dac 4</CsOptions> 5<CsInstruments> 6 7sr = 44100 8ksmps = 32 9nchnls = 1 100dbfs = 1 11 12instr 1 13aRaise expseg 2, 20, 100 14aModSine poscil 0.5, aRaise, 1 15aDCOffset = 0.5 ; we want amplitude-modulation 16aCarSine poscil 0.3, 440, 1 17out aCarSine*(aModSine + aDCOffset) 18endin 19 20</CsInstruments> 21<CsScore> 22f 1 0 1024 10 1 23i 1 0 25 24e 25</CsScore> 26</CsoundSynthesizer> 27; written by Alex Hofmann (Mar. 2011) 28<bsbPanel> 29 <label>Widgets</label> 30 <objectName/> 31 <x>100</x> 32 <y>100</y> 33 <width>320</width> 34 <height>240</height> 35 <visible>true</visible> 36 <uuid/> 37 <bgcolor mode="nobackground"> 38 <r>255</r> 39 <g>255</g> 40 <b>255</b> 41 </bgcolor> 42</bsbPanel> 43<bsbPresets> 44</bsbPresets> 45