Created
October 7, 2010 19:14
-
-
Save jacobjoaquin/615702 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
Random | |
Jacob Joaquin | |
OCtober 7, 2010 | |
jacobjoaquin@gmail.com | |
csoundblog.com | |
<CsoundSynthesizer> | |
<CsInstruments> | |
sr = 44100 | |
kr = 4410 | |
ksmps = 10 | |
nchnls = 1 | |
0dbfs = 1.0 | |
instr 1 | |
krandom randh 0.5, 4 ; Generate new value 4 times per second | |
krandom = (krandom + 1) * 440 ; Bias and scale | |
a1 vco2 0.707, krandom, 12 ; Frequency modulated by randomized signal | |
out a1 | |
endin | |
</CsInstruments> | |
<CsScore> | |
i 1 0 32 | |
</CsScore> | |
</CsoundSynthesizer> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment