Skip to content

Instantly share code, notes, and snippets.

@hemanth
Last active August 29, 2015 14:15
Show Gist options
  • Save hemanth/67581fefcde08f93c23d to your computer and use it in GitHub Desktop.
Save hemanth/67581fefcde08f93c23d to your computer and use it in GitHub Desktop.
Google IO audio sprint snippet.
function(t) {
t.exports = {
resources: ["https://events.google.com/io2015/experiment/cataudiosprite.mp3"],
spritemap: {
"arp_synth_A-sharp": {
start: 0,
end: 1.0971428571428572,
loop: !1
},
"arp_synth_A-sharp2": {
start: 3,
end: 4.044897959183674,
loop: !1
},
arp_synth_C: {
start: 6,
end: 7.14938775510204,
loop: !1
},
arp_synth_C2: {
start: 9,
end: 10.14938775510204,
loop: !1
},
arp_synth_C3: {
start: 12,
end: 13.14938775510204,
loop: !1
},
"arp_synth_D-sharp": {
start: 15,
end: 16.097142857142856,
loop: !1
},
"arp_synth_D-sharp2": {
start: 18,
end: 19.071020408163264,
loop: !1
},
arp_synth_F: {
start: 21,
end: 22.227755102040817,
loop: !1
},
arp_synth_F2: {
start: 24,
end: 25.227755102040817,
loop: !1
},
arp_synth_G: {
start: 27,
end: 28.227755102040817,
loop: !1
},
arp_synth_G2: {
start: 30,
end: 31.12326530612245,
loop: !1
},
drumClap: {
start: 33,
end: 33.496326530612244,
loop: !1
},
drumKick: {
start: 35,
end: 35.99265306122449,
loop: !1
},
drumSnare: {
start: 37,
end: 37.99265306122449,
loop: !1
},
hexagon1: {
start: 39,
end: 42.34367346938775,
loop: !1
},
hexagon2: {
start: 44,
end: 47.70938775510204,
loop: !1
},
hexagon3: {
start: 49,
end: 52.944489795918365,
loop: !1
},
hexagon4: {
start: 54,
end: 57.369795918367345,
loop: !1
},
hexagon5: {
start: 59,
end: 62.369795918367345,
loop: !1
},
"parallelogram_A-sharp-major": {
start: 64,
end: 65.04489795918367,
loop: !1
},
"parallelogram_C-minor": {
start: 67,
end: 67.99265306122449,
loop: !1
},
"parallelogram_D-sharp-major": {
start: 69,
end: 70.17551020408163,
loop: !1
},
"parallelogram_G-minor": {
start: 72,
end: 73.01877551020408,
loop: !1
},
"parallelogram_G-sharp-major": {
start: 75,
end: 76.01877551020408,
loop: !1
},
"stringbass_A-sharp": {
start: 78,
end: 79.09714285714286,
loop: !1
},
stringbass_C2: {
start: 81,
end: 82.20163265306122,
loop: !1
},
stringbass_F: {
start: 84,
end: 85.09714285714286,
loop: !1
},
stringbass_G: {
start: 87,
end: 88.28,
loop: !1
}
}
}
}
}
};
/* Google IO cat audio */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment