Skip to content

Instantly share code, notes, and snippets.

@johnty
Created April 25, 2017 22:20
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 johnty/302025f92ed59a24fe1c45cca8ca0d1e to your computer and use it in GitHub Desktop.
Save johnty/302025f92ed59a24fe1c45cca8ca0d1e to your computer and use it in GitHub Desktop.
play a midi keyboard with node-red
[
{
"id":"106236e9.a79359",
"type":"ui_button",
"z":"c7976967.e6bb98",
"name":"",
"group":"134bfa7c.f58646",
"order":1,
"width":0,
"height":0,
"label":"C4",
"color":"",
"icon":"",
"payload":"1",
"payloadType":"json",
"topic":"",
"x":133,
"y":85,
"wires":[
[
"bd54832.c4c2c8"
]
]
},
{
"id":"f178ad71.7370b",
"type":"ui_button",
"z":"c7976967.e6bb98",
"name":"",
"group":"134bfa7c.f58646",
"order":5,
"width":0,
"height":0,
"label":"G4",
"color":"",
"icon":"",
"payload":"[144, 67, 120]",
"payloadType":"json",
"topic":"",
"x":131,
"y":245,
"wires":[
[
"51ffb77a.fdc928"
]
]
},
{
"id":"daa10003.9f2b4",
"type":"ui_button",
"z":"c7976967.e6bb98",
"name":"",
"group":"134bfa7c.f58646",
"order":8,
"width":0,
"height":0,
"label":"C5",
"color":"",
"icon":"",
"payload":"[144, 72, 120]",
"payloadType":"json",
"topic":"",
"x":124,
"y":356,
"wires":[
[
"7097f708.069a88"
]
]
},
{
"id":"b5582771.820da8",
"type":"midi out",
"z":"c7976967.e6bb98",
"name":"",
"midiport":"1",
"x":579,
"y":222,
"wires":[
]
},
{
"id":"5ffa2311.f72e4c",
"type":"ui_button",
"z":"c7976967.e6bb98",
"name":"",
"group":"134bfa7c.f58646",
"order":2,
"width":0,
"height":0,
"label":"D4",
"color":"",
"icon":"",
"payload":"[144, 62, 120]",
"payloadType":"json",
"topic":"",
"x":126,
"y":122,
"wires":[
[
"5a05cb93.46d734"
]
]
},
{
"id":"a471ae00.f058",
"type":"ui_button",
"z":"c7976967.e6bb98",
"name":"",
"group":"134bfa7c.f58646",
"order":3,
"width":0,
"height":0,
"label":"E4",
"color":"",
"icon":"",
"payload":"[144, 64, 120]",
"payloadType":"json",
"topic":"",
"x":124,
"y":158,
"wires":[
[
"6cb4984b.133898"
]
]
},
{
"id":"f3fdb2dd.3b6a4",
"type":"ui_button",
"z":"c7976967.e6bb98",
"name":"",
"group":"134bfa7c.f58646",
"order":4,
"width":0,
"height":0,
"label":"F4",
"color":"",
"icon":"",
"payload":"[144, 65, 120]",
"payloadType":"json",
"topic":"",
"x":124,
"y":198,
"wires":[
[
"c7ba679b.32f698"
]
]
},
{
"id":"d0478cf7.0324e",
"type":"ui_button",
"z":"c7976967.e6bb98",
"name":"",
"group":"134bfa7c.f58646",
"order":6,
"width":0,
"height":0,
"label":"A4",
"color":"",
"icon":"",
"payload":"[144, 69, 120]",
"payloadType":"json",
"topic":"",
"x":128,
"y":283,
"wires":[
[
"cb15128a.5cdfa"
]
]
},
{
"id":"870c45e.58e2ab8",
"type":"ui_button",
"z":"c7976967.e6bb98",
"name":"",
"group":"134bfa7c.f58646",
"order":7,
"width":0,
"height":0,
"label":"B4",
"color":"",
"icon":"",
"payload":"[144, 71, 120]",
"payloadType":"json",
"topic":"",
"x":127,
"y":321,
"wires":[
[
"bafbce89.ebfda"
]
]
},
{
"id":"bd54832.c4c2c8",
"type":"trigger",
"z":"c7976967.e6bb98",
"op1":"[144, 60, 120]",
"op2":"[128, 60, 120]",
"op1type":"json",
"op2type":"json",
"duration":"500",
"extend":false,
"units":"ms",
"reset":"",
"name":"",
"x":305,
"y":73,
"wires":[
[
"b5582771.820da8"
]
]
},
{
"id":"5a05cb93.46d734",
"type":"trigger",
"z":"c7976967.e6bb98",
"op1":"[144, 62, 120]",
"op2":"[128, 62, 120]",
"op1type":"json",
"op2type":"json",
"duration":"500",
"extend":false,
"units":"ms",
"reset":"",
"name":"",
"x":304,
"y":105,
"wires":[
[
"b5582771.820da8"
]
]
},
{
"id":"6cb4984b.133898",
"type":"trigger",
"z":"c7976967.e6bb98",
"op1":"[144, 64, 120]",
"op2":"[128, 64, 120]",
"op1type":"json",
"op2type":"json",
"duration":"500",
"extend":false,
"units":"ms",
"reset":"",
"name":"",
"x":304,
"y":141,
"wires":[
[
"b5582771.820da8"
]
]
},
{
"id":"c7ba679b.32f698",
"type":"trigger",
"z":"c7976967.e6bb98",
"op1":"[144, 65, 120]",
"op2":"[128, 65, 120]",
"op1type":"json",
"op2type":"json",
"duration":"500",
"extend":false,
"units":"ms",
"reset":"",
"name":"",
"x":301,
"y":179,
"wires":[
[
"b5582771.820da8"
]
]
},
{
"id":"51ffb77a.fdc928",
"type":"trigger",
"z":"c7976967.e6bb98",
"op1":"[144, 67, 120]",
"op2":"[128, 67, 120]",
"op1type":"json",
"op2type":"json",
"duration":"500",
"extend":false,
"units":"ms",
"reset":"",
"name":"",
"x":297,
"y":218,
"wires":[
[
"b5582771.820da8"
]
]
},
{
"id":"cb15128a.5cdfa",
"type":"trigger",
"z":"c7976967.e6bb98",
"op1":"[144, 69, 120]",
"op2":"[128, 69, 120]",
"op1type":"json",
"op2type":"json",
"duration":"500",
"extend":false,
"units":"ms",
"reset":"",
"name":"",
"x":308,
"y":252,
"wires":[
[
"b5582771.820da8"
]
]
},
{
"id":"bafbce89.ebfda",
"type":"trigger",
"z":"c7976967.e6bb98",
"op1":"[144, 71, 120]",
"op2":"[128, 71, 120]",
"op1type":"json",
"op2type":"json",
"duration":"500",
"extend":false,
"units":"ms",
"reset":"",
"name":"",
"x":296,
"y":285,
"wires":[
[
"b5582771.820da8"
]
]
},
{
"id":"7097f708.069a88",
"type":"trigger",
"z":"c7976967.e6bb98",
"op1":"[144, 72, 120]",
"op2":"[128, 72, 120]",
"op1type":"json",
"op2type":"json",
"duration":"500",
"extend":false,
"units":"ms",
"reset":"",
"name":"",
"x":307,
"y":323,
"wires":[
[
"b5582771.820da8"
]
]
},
{
"id":"134bfa7c.f58646",
"type":"ui_group",
"z":"",
"name":"PiMidi",
"tab":"10d9607.3929ba",
"disp":true,
"width":"6"
},
{
"id":"10d9607.3929ba",
"type":"ui_tab",
"z":"",
"name":"PiMIDI",
"icon":"dashboard",
"order":3
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment