Skip to content

Instantly share code, notes, and snippets.

@jacobjoaquin
Created September 15, 2010 18:51
Show Gist options
  • Save jacobjoaquin/581225 to your computer and use it in GitHub Desktop.
Save jacobjoaquin/581225 to your computer and use it in GitHub Desktop.
DTMF
Jacob Joaquin
September 15, 2010
[email protected]
csoundblog.com
<CsoundSynthesizer>
<CsInstruments>
sr = 44100
kr = 4410
ksmps = 10
nchnls = 1
0dbfs = 1.0
instr 1
ifreq1 = p4
ifreq2 = p5
a1 oscils 0.4, ifreq1, 0
a2 oscils 0.4, ifreq2, 0
out a1 + a2
endin
</CsInstruments>
<CsScore>
i 1 0 2 350 440
i 1 2 0.3 697 1209
i 1 2.6 0.2 852 1336
i 1 3.0 0.15 941 1336
i 1 3.22 0.17 941 1336
i 1 4.15 0.2 770 1336
i 1 4.5 0.2 770 1336
i 1 4.75 0.17 770 1336
i 1 5.5 0.2 697 1447
i 1 5.8 0.19 852 1336
i 1 6.4 0.21 770 1447
i 1 6.7 0.15 697 1447
i 1 7.5 2 440 480
i 1 12.5 2 440 480
i 1 17.5 2 440 480
i 1 22.5 2 440 480
</CsScore>
</CsoundSynthesizer>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment