Last active
August 5, 2016 23:23
-
-
Save jahpd/374357ba3c952bd2b9cc3ca75ffff0a1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
max = 880 | |
min = 16 | |
senos = [] | |
@setup = -> | |
senos.push({c:min+(Math.random()*max),a:Math.random(),m: Math.random()*1000}) for i in [0..3] | |
@dsp = -> | |
modL = sin senos[1].m, senos[1].a | |
modR = sin senos[3].m, senos[3].a | |
l = sin senos[0].c, modL | |
r = sin senos[2].c, modR | |
[l * tri(0.01,0.71/2), r * tri(0.011,0.71/2)] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment