Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 428c6597c2
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 54 lines (40 sloc) 0.711 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
<CsoundSynthesizer>
<CsOptions>
-d -odac /Users/clu/Documents/workspace/Csoundo/examples/devScratchPad/data/temp.csd
</CsOptions>
<CsInstruments>
sr = 44100
kr = 1470
ksmps = 30
nchnls = 1
0dbfs = 1

gi_sin ftgen 1, 0, 8192, 10, 1
;gi_foo ftgen 20, 0, 8192, 10, 1

instr 1
    ; Keep Csound running
endin

instr 2
    idur = p3
    iamp = p4
    ifreq = p5
    
    k1 line iamp, idur, 0
    a1 oscil k1, ifreq, gi_sin
    
    out a1
endin

instr 3
    turnoff2 4, 0, 0
    turnoff
endin

instr 4
    idur = p3
    iamp = p4
    ifreq = p5
    
    a1 foscil iamp, ifreq, 1, 2, 1, gi_sin
    
    out a1
endin


</CsInstruments>
<CsScore>
i 1 0 [60 * 60 * 24]
i 2 0 4 0.5 262


</CsScore>
</CsoundSynthesizer>
Something went wrong with that request. Please try again.