Skip to content

Instantly share code, notes, and snippets.

@xriss
Created Sep 30, 2017
Embed
What would you like to do?
Swanky Beep example
sfx.render{
["frequency"]="C4",
["name"]="shot",
["volume"]=0.5,
["duty"]=0.5,
["fwav"]="square",
["adsr"]=
{
1,
0,
0,
0.8,
0.2,
}
,
["fm"]=
{
["duty"]=0.5,
["frequency"]=16,
["fwav"]="sine",
["ffreq"]=
{
"freq_range",
130.815,
261.63,
523.26,
0,
}
,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment