Skip to content

Instantly share code, notes, and snippets.

@gabrielflorit
Last active January 24, 2020 23:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gabrielflorit/6ea7e67ae634942d545a262252751424 to your computer and use it in GitHub Desktop.
Save gabrielflorit/6ea7e67ae634942d545a262252751424 to your computer and use it in GitHub Desktop.
SCRIPT-8
{
"0": {
"0": {
"1": 5,
"3": 0
},
"1": {
"1": 6,
"3": 0
},
"2": {
"1": 7,
"3": 0
},
"3": {
"1": "8",
"3": 0
},
"4": {
"1": 5,
"3": 0
},
"5": {
"1": 6,
"3": "0"
},
"6": {
"1": 7,
"3": "0"
},
"7": {
"1": "8",
"3": "0"
},
"8": {
"1": 5,
"2": 1,
"3": "0"
},
"9": {
"1": 6,
"2": 1,
"3": "0"
},
"10": {
"1": 7,
"2": 1,
"3": "0"
},
"11": {
"1": "8",
"2": 1,
"3": 0
},
"12": {
"1": 5,
"2": 1,
"3": 0
},
"13": {
"1": 6,
"2": 1,
"3": 0
},
"14": {
"1": 7,
"2": 1,
"3": 0
},
"15": {
"1": "8",
"2": 1,
"3": 0
},
"tempo": "2"
},
"1": {
"0": {
"1": 5,
"2": 3,
"3": 0
},
"1": {
"1": 6,
"2": 3,
"3": 0
},
"2": {
"1": 7,
"2": 3,
"3": 0
},
"3": {
"1": "8",
"2": 3,
"3": 0
},
"4": {
"1": 5,
"2": 3,
"3": 0
},
"5": {
"1": 6,
"2": 3,
"3": 0
},
"6": {
"1": 7,
"2": 3,
"3": 0
},
"7": {
"1": "8",
"2": "3",
"3": 0
},
"8": {
"0": "11",
"1": 5,
"2": 1,
"3": 0
},
"9": {
"0": "11",
"1": 6,
"2": 1,
"3": 0
},
"10": {
"0": "11",
"1": 7,
"2": 1,
"3": 0
},
"11": {
"0": "11",
"1": "8",
"2": 1,
"3": 0
},
"12": {
"0": "11",
"1": 5,
"2": 1,
"3": 0
},
"13": {
"0": "11",
"1": 6,
"2": 1,
"3": 0
},
"14": {
"0": "11",
"1": 7,
"2": 1,
"3": 0
},
"15": {
"0": "11",
"1": "8",
"2": 1,
"3": 0
},
"tempo": "2"
},
"2": {
"0": {
"0": "11",
"1": 5,
"2": 3,
"3": 0
},
"1": {
"0": "11",
"1": 6,
"2": 3,
"3": 0
},
"2": {
"0": "11",
"1": 7,
"2": 3,
"3": 0
},
"3": {
"0": "11",
"1": "8",
"2": 3,
"3": 0
},
"4": {
"0": "11",
"1": 5,
"2": 3,
"3": 0
},
"5": {
"0": "11",
"1": 6,
"2": 3,
"3": 0
},
"6": {
"0": "11",
"1": 7,
"2": 3,
"3": 0
},
"7": {
"0": "11",
"1": "8",
"2": "3",
"3": 0
},
"8": {
"0": "12",
"1": 5,
"2": 1,
"3": 0
},
"9": {
"0": "13",
"1": 6,
"2": 1,
"3": 0
},
"10": {
"0": "11",
"1": 7,
"2": 1,
"3": 0
},
"11": {
"0": "11",
"1": "8",
"2": 1,
"3": 0
},
"12": {
"0": 12,
"1": 5,
"2": 1,
"3": 0
},
"13": {
"0": "13",
"1": 6,
"2": 1,
"3": 0
},
"14": {
"0": "11",
"1": 7,
"2": 1,
"3": 0
},
"15": {
"0": "11",
"1": "8",
"2": 1,
"3": 0
},
"tempo": "2"
},
"3": {
"0": {
"0": 12,
"1": 5,
"2": 3,
"3": 0
},
"1": {
"0": "13",
"1": 6,
"2": 3,
"3": 0
},
"2": {
"0": "11",
"1": 7,
"2": 3,
"3": 0
},
"3": {
"0": "11",
"1": "8",
"2": 3,
"3": 0
},
"4": {
"0": 12,
"1": 5,
"2": 3,
"3": 0
},
"5": {
"0": "13",
"1": 6,
"2": 3,
"3": 0
},
"6": {
"0": "11",
"1": 7,
"2": 3,
"3": 0
},
"7": {
"0": "11",
"1": "8",
"2": "3",
"3": 0
},
"8": {
"1": 15,
"2": 1,
"3": "24"
},
"9": {
"1": 16,
"2": 1,
"3": "24"
},
"10": {
"1": 17,
"2": 1,
"3": "24"
},
"11": {
"1": "18",
"2": 1,
"3": "24"
},
"12": {
"1": 15,
"3": "24"
},
"13": {
"1": 16,
"3": "24"
},
"14": {
"1": 17,
"3": "24"
},
"15": {
"1": "18",
"3": "24"
},
"tempo": "2"
}
}
// title: i am the program
init = state => {
playSong(0, true)
}
update = (state, input, elapsed) => {
}
draw = state => {
}
{
"iframeVersion": "0.1.276",
"lines": [
11,
0,
0,
0,
0,
0,
0,
0
]
}
{
"0": {
"notes": [
"0b32",
"1b30",
"2b30",
"3b30",
"4b32",
"5b30",
"6b30",
"7b30",
"8b32",
"9b30",
"10b30",
"11b30",
"12b32",
"13b30",
"14b30",
"15b30"
],
"tempo": "2",
"synth": "3"
},
"1": {
"notes": [
"0a07",
"1a07",
"2a07",
"3a07",
"4a07",
"5a07",
"6a07",
"7a07",
"9a07",
"10a07",
"11a07",
"12a07",
"13a07",
"14a07",
"15a07"
],
"tempo": "2",
"synth": "2"
},
"3": {
"notes": [
"0f07",
"1f07",
"2f07",
"3f07",
"4f07",
"5f07",
"6f07",
"7f07",
"9f07",
"10f07",
"11f07",
"12f07",
"13f07",
"14f07",
"15f07"
],
"tempo": "2",
"synth": "2"
},
"4": {
"notes": [
"0a00",
"1a00",
"2a00",
"3a00",
"4a00",
"5a00",
"6a00",
"7a00",
"8a00",
"9a00",
"10a00",
"11a00",
"12a00",
"13a00",
"14a00",
"15a00"
],
"tempo": "2",
"synth": 0
},
"5": {
"notes": [
"0a00",
"1e12",
"2a00",
"3f12",
"4a00",
"5a00",
"6g12",
"7a00",
"8e12",
"9a00",
"10f12",
"11a00",
"12a00",
"13a12",
"14a00",
"15a00"
],
"tempo": "2",
"synth": "0"
},
"6": {
"notes": [
"0g12",
"1a00",
"2a00",
"3e12",
"4a00",
"5f12",
"6a00",
"7a00",
"8g12",
"9a00",
"10e12",
"11a00",
"12f12",
"13a00",
"14a00",
"15e12"
],
"tempo": "2",
"synth": "1"
},
"7": {
"notes": [
"0a00",
"1a00",
"2f12",
"3a00",
"4e12",
"5a00",
"6a00",
"7d12",
"8a00",
"9a00",
"10e12",
"11a00",
"12a00",
"13c12",
"14a00",
"15e12"
],
"tempo": "2",
"synth": "0"
},
"8": {
"notes": [
"0a00",
"1g12",
"2a00",
"3f12",
"4a00",
"5e12",
"6a00",
"7a00",
"8f12",
"9a00",
"10a00",
"11e12",
"12a00",
"13c12",
"14a00",
"15a00"
],
"tempo": "2",
"synth": "0"
},
"10": {
"notes": [
"0f21",
"1e21",
"2a11",
"3e21",
"4a21",
"5e21",
"6a11",
"7e21",
"8c31",
"9b21",
"10a21",
"11b21",
"12c31",
"13a21",
"14a11",
"15e21"
],
"tempo": "2",
"synth": "1"
},
"11": {
"notes": [
"0f20",
"1e20",
"2a10",
"3e20",
"4a20",
"5e20",
"6a10",
"7e20",
"8c30",
"9b20",
"10a20",
"11b20",
"12c30",
"13a20",
"14a10",
"15e20"
],
"tempo": "2",
"synth": "0"
},
"12": {
"notes": [
"0a21",
"1a-17",
"2a-17",
"3a-17",
"4c31",
"5c-17",
"6g21",
"7g-17",
"8g-17",
"9g-17",
"10a21",
"11a-17",
"12a-17",
"13a-17",
"14f21",
"15f-17"
],
"tempo": "2",
"synth": "0"
},
"13": {
"notes": [
"0e-17",
"1e-17",
"2e21",
"3e-17",
"4e-17",
"5e-17",
"6c21",
"7c-17",
"8c-17",
"9c-17",
"10a11",
"11a-17",
"12a-17",
"13a-17",
"14a-17",
"15a-17"
],
"tempo": "2",
"synth": 0
},
"15": {
"notes": [
"0a00",
"1e11",
"2a00",
"3f11",
"4a00",
"5a00",
"6g11",
"7a00",
"8e11",
"9a00",
"10f11",
"11a00",
"12a00",
"13a11",
"14a00",
"15a00"
],
"tempo": "2",
"synth": "0"
},
"16": {
"notes": [
"0g11",
"1a00",
"2a00",
"3e11",
"4a00",
"5f11",
"6a00",
"7a00",
"8g11",
"9a00",
"10e11",
"11a00",
"12f11",
"13a00",
"14a00",
"15e11"
],
"tempo": "2",
"synth": "1"
},
"17": {
"notes": [
"0a00",
"1a00",
"2f11",
"3a00",
"4e11",
"5a00",
"6a00",
"7d11",
"8a00",
"9a00",
"10e11",
"11a00",
"12a00",
"13c11",
"14a00",
"15e11"
],
"tempo": "2",
"synth": "0"
},
"18": {
"notes": [
"0a00",
"1g11",
"2a00",
"3f11",
"4a00",
"5e11",
"6a00",
"7a00",
"8f11",
"9a00",
"10a00",
"11e11",
"12a00",
"13c11",
"14a00",
"15a00"
],
"tempo": "2",
"synth": "0"
},
"20": {
"notes": [
"0b34",
"1b32",
"2b32",
"3b32",
"4b34",
"5b32",
"6b32",
"7b32",
"8b34",
"9b32",
"10b32",
"11b32",
"12b34",
"13b32",
"14b32",
"15b32"
],
"tempo": "2",
"synth": "3"
},
"21": {
"notes": [
"0a07",
"1a07",
"2a07",
"3a07",
"4a07",
"5a07",
"6a07",
"7a07",
"9a07",
"10a07",
"11a07",
"12a07",
"13a07",
"14a07",
"15a07"
],
"tempo": "2",
"synth": "2"
},
"22": {
"notes": [
"0a07",
"1a07",
"2a07",
"3a07",
"4a07",
"5a06",
"6a06",
"7a06",
"8a06",
"9a06",
"10a06",
"11a06",
"12a07",
"13a07",
"14a07",
"15a07"
],
"tempo": "2",
"synth": "2"
},
"23": {
"notes": [
"0b30",
"4b30",
"8b30",
"12b30"
],
"tempo": "2",
"synth": "3"
},
"24": {
"notes": [
"0b31",
"1b30",
"2b30",
"3b30",
"4b31",
"5b30",
"6b30",
"7b30",
"8b31",
"9b30",
"10b30",
"11b30",
"12b31",
"13b30",
"14b30",
"15b30"
],
"tempo": "2",
"synth": "3"
},
"25": {
"notes": [
"0a00",
"1e11",
"2a00",
"3f11",
"4a00",
"5a00",
"6g11",
"7a00",
"8e11",
"9a00",
"10f11",
"11a00",
"12a00",
"13a11",
"14a00",
"15a00"
],
"tempo": "2",
"synth": "0"
},
"26": {
"notes": [
"0g11",
"1a00",
"2a00",
"3e11",
"4a00",
"5f11",
"6a00",
"7a00",
"8g11",
"9a00",
"10e11",
"11a00",
"12f11",
"13a00",
"14a00",
"15e11"
],
"tempo": "2",
"synth": "0"
},
"27": {
"notes": [
"0a00",
"1a00",
"2f11",
"3a00",
"4e11",
"5a00",
"6a00",
"7d11",
"8a00",
"9a00",
"10e11",
"11a00",
"12a00",
"13c11",
"14a00",
"15e11"
],
"tempo": "2",
"synth": "0"
},
"28": {
"notes": [
"0a00",
"1g11",
"2a00",
"3f11",
"4a00",
"5e11",
"6a00",
"7a00",
"8f11",
"9a00",
"10a00",
"11e11",
"12a00",
"13c11",
"14a00",
"15a00"
],
"tempo": "2",
"synth": "0"
}
}
{
"0": {
"0": 0,
"1": 1,
"2": 2,
"3": 3,
"tempo": "2"
},
"1": {
"tempo": 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment