Created
October 12, 2010 15:25
-
-
Save jacobjoaquin/622357 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diskin2 | |
Jacob Joaquin | |
October 12, 2010 | |
jacobjoaquin@gmail.com | |
csoundblog.com | |
<CsoundSynthesizer> | |
<CsInstruments> | |
sr = 44100 | |
kr = 4410 | |
ksmps = 10 | |
nchnls = 1 | |
0dbfs = 1.0 | |
instr 1 | |
iamp = p4 ; Amplitude | |
ipch = p5 ; Pitch. 1 = normal, >1 = faster, <1 = slower. | |
Sfile = p6 ; File name of sample. Must be mono. | |
a1 diskin2 Sfile, ipch, 0, 1 | |
out a1 * iamp | |
endin | |
</CsInstruments> | |
<CsScore> | |
i 1 0 1 0.707 1 "mono_loop.wav" | |
i 1 + . . < . | |
i 1 + . . < . | |
i 1 + . . < . | |
i 1 + . . < . | |
i 1 + . . < . | |
i 1 + . . < . | |
i 1 + . . 0.2 . | |
</CsScore> | |
</CsoundSynthesizer> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment