Skip to content

Instantly share code, notes, and snippets.

@crystalschang
Created April 29, 2012 19:36
Show Gist options
  • Save crystalschang/2552882 to your computer and use it in GitHub Desktop.
Save crystalschang/2552882 to your computer and use it in GitHub Desktop.
Sample json output for image
[
// First BAR
[
// First BEAT
{
"white": 16 // the number is the intensity level
},
// Second BEAT
{
"white": 6,
"red": 6,
"yellow": 2,
"green": 2
},
// Third BEAT
{
"white": 7,
"red": 5,
"yellow": 2,
"green": 2
},
// Fourth BEAT
{
"white": 8,
"red": 4,
"yellow": 2,
"green": 2
}
],
// Second BAR
[
{
"white": 7,
"red": 5,
"yellow": 2,
"green": 2
},
{
"white": 6,
"red": 6,
"yellow": 2,
"green": 2
},
{
"white": 6,
"red": 6,
"yellow": 2,
"green": 2
},
{
"white": 6,
"green": 6,
"yellow": 4
}
],
[
{
"white": 6,
"green": 6,
"yellow": 4
},
{
"white": 6,
"green": 6,
"yellow": 4
},
{
"white": 6,
"green": 6,
"yellow": 4
},
{
"white": 6,
"green": 6,
"yellow": 4
}
],
[
{
"white": 6,
"green": 6,
"yellow": 4
},
{
"white": 6,
"green": 6,
"yellow": 4
},
{
"white": 6,
"green": 6,
"yellow": 4
},
{
"white": 7,
"green": 5,
"yellow": 4
}
]
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment