Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
OMG Data Format - Sections
{
"tags": "cool jam",
"type": "SECTION",
"beats": 4,
"measures": 2,
"scale": "0,3,5,6,7,10",
"ascale": [0,3,5,6,7,10],
"shuffle": 0,
"rootNote": 0,
"subbeats": 4,
"created_at": 1511504896229,
"last_modified": 1511504896229,
"subbeatMillis": 125,
"chordProgression": [
0
],
"id": 302,
"parts": [
{
"type": "PART",
"notes": [
{
"note": 12,
"rest": false,
"beats": 0.25
},
{
"note": 13,
"rest": false,
"beats": 0.75
},
{
"note": 14,
"rest": false,
"beats": 0.75
},
{
"note": 13,
"rest": false,
"beats": 1
},
{
"note": 12,
"rest": false,
"beats": 1.25
},
{
"rest": true,
"beats": 0.75
},
{
"rest": true,
"beats": 1
},
{
"rest": true,
"beats": 1
},
{
"rest": true,
"beats": 1
}
],
"scale": "0,3,5,6,7,10",
"ascale": [0,3,5,6,7,10],
"octave": 3,
"volume": 0.75,
"rootNote": 0,
"surfaceURL": "PRESET_VERTICAL",
"soundsetURL": "PRESET_OSC_SINE_SOFT_DELAY",
"soundsetName": "Osc Soft Sine Delay"
},
{
"type": "PART",
"notes": [
{
"note": 0,
"rest": false,
"beats": 1
},
{
"note": 0,
"rest": false,
"beats": 1
},
{
"note": 0,
"rest": false,
"beats": 1
},
{
"note": 0,
"rest": false,
"beats": 1
},
{
"note": 0,
"rest": false,
"beats": 0.5
},
{
"note": 1,
"rest": false,
"beats": 0.5
},
{
"note": 1,
"rest": false,
"beats": 0.5
},
{
"note": 1,
"rest": false,
"beats": 0.5
},
{
"note": 1,
"rest": false,
"beats": 0.5
},
{
"note": 1,
"rest": false,
"beats": 0.5
},
{
"note": 1,
"rest": false,
"beats": 0.5
},
{
"note": 1,
"rest": false,
"beats": 0.5
}
],
"scale": "0,3,5,6,7,10",
"ascale": [0,3,5,6,7,10],
"octave": 3,
"volume": 0.75,
"rootNote": 0,
"surfaceURL": "PRESET_VERTICAL",
"soundsetURL": "PRESET_BASS",
"soundsetName": "Electric Bass"
},
{
"type": "PART",
"tracks": [
{
"data": [1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0],
"name": "kick",
"sound": "PRESET_HH_KICK"
},
{
"data": [0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0],
"name": "clap",
"sound": "PRESET_HH_CLAP"
},
{
"data": [1,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0],
"name": "closed hi-hat",
"sound": "PRESET_ROCK_HIHAT_CLOSED"
},
{
"data": [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0],
"name": "open hi-hat",
"sound": "PRESET_HH_HIHAT"
}
],
"volume": 0.75,
"rootNote": 0,
"surfaceURL": "PRESET_SEQUENCER",
"soundsetURL": "PRESET_HIPKIT",
"soundsetName": "Hip Hop Drum Kit"
},
{
"type": "PART",
"tracks": [
{
"data": [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0],
"name": "bongo l",
"sound": "PRESET_bongol"
},
{
"data": [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0],
"name": "bongo h",
"sound": "PRESET_bongoh"
},
{
"data": [0,0,1,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0],
"name": "shhk",
"sound": "PRESET_shhk"
}
],
"volume": 0.75,
"rootNote": 0,
"surfaceURL": "PRESET_SEQUENCER",
"soundsetURL": "PRESET_PERCUSSION_SAMPLER",
"soundsetName": "Percussion Sampler"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.