Skip to content

Instantly share code, notes, and snippets.

@briansorahan
Created May 15, 2015 03:12
Show Gist options
  • Save briansorahan/4b339400427013ebd323 to your computer and use it in GitHub Desktop.
Save briansorahan/4b339400427013ebd323 to your computer and use it in GitHub Desktop.
json representation of a synthdef that uses PlayBuf
{
"name": "PlayBufExample",
"constants": [
1,
0,
2
],
"initialParamValues": [
0
],
"paramNames": [
{
"Name": "bufnum",
"Index": 0
}
],
"ugens": [
{
"name": "Control",
"rate": 1,
"specialIndex": 0,
"inputs": [],
"outputs": [
{
"rate": 1
}
]
},
{
"name": "PlayBuf",
"rate": 2,
"specialIndex": 0,
"inputs": [
{
"ugenIndex": 0,
"outputIndex": 0
},
{
"ugenIndex": -1,
"outputIndex": 0
},
{
"ugenIndex": -1,
"outputIndex": 0
},
{
"ugenIndex": -1,
"outputIndex": 1
},
{
"ugenIndex": -1,
"outputIndex": 1
},
{
"ugenIndex": -1,
"outputIndex": 2
}
],
"outputs": [
{
"rate": 2
}
]
},
{
"name": "Out",
"rate": 2,
"specialIndex": 0,
"inputs": [
{
"ugenIndex": -1,
"outputIndex": 1
},
{
"ugenIndex": 1,
"outputIndex": 0
}
],
"outputs": []
}
],
"variants": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment