Skip to content

Commit

Permalink
extended demo with nrpn
Browse files Browse the repository at this point in the history
  • Loading branch information
tschiemer committed Apr 23, 2020
1 parent 2652507 commit 7cf0759
Showing 1 changed file with 85 additions and 20 deletions.
105 changes: 85 additions & 20 deletions midimessage.maxpat
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"fileversion" : 1,
"appversion" : {
"major" : 8,
"minor" : 0,
"revision" : 6,
"minor" : 1,
"revision" : 3,
"architecture" : "x64",
"modernui" : 1
}
Expand Down Expand Up @@ -38,6 +38,55 @@
"style" : "",
"subpatcher_template" : "",
"boxes" : [ {
"box" : {
"id" : "obj-13",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 268.0, 91.0, 95.0, 22.0 ],
"presentation_linecount" : 2,
"text" : "nrpn 1 128 inc 5"
}

}
, {
"box" : {
"id" : "obj-12",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 268.0, 59.0, 85.0, 22.0 ],
"text" : "nrpn 1 128 inc"
}

}
, {
"box" : {
"attr" : "nrpnfilter",
"id" : "obj-8",
"maxclass" : "attrui",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 260.0, 559.0, 150.0, 22.0 ]
}

}
, {
"box" : {
"id" : "obj-10",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 268.0, 22.0, 89.0, 22.0 ],
"text" : "nrpn 1 128 255"
}

}
, {
"box" : {
"id" : "obj-7",
"maxclass" : "newobj",
Expand Down Expand Up @@ -68,7 +117,7 @@
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 260.0, 531.0, 150.0, 22.0 ]
"patching_rect" : [ 260.0, 500.0, 150.0, 22.0 ]
}

}
Expand All @@ -80,7 +129,7 @@
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 260.0, 560.0, 150.0, 22.0 ]
"patching_rect" : [ 260.0, 529.0, 150.0, 22.0 ]
}

}
Expand Down Expand Up @@ -167,18 +216,6 @@
"text" : "gate"
}

}
, {
"box" : {
"id" : "obj-12",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"patching_rect" : [ 503.0, 200.0, 40.0, 22.0 ],
"text" : "midiin"
}

}
, {
"box" : {
Expand Down Expand Up @@ -210,8 +247,8 @@
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 169.0, 600.0, 350.0, 22.0 ],
"text" : "midimessage.parse @runningstatus 0 @outputdiscardedbytes 1"
"patching_rect" : [ 169.0, 600.0, 422.0, 22.0 ],
"text" : "midimessage.parse @runningstatus 0 @outputdiscardedbytes 1 @nrpnfilter 0"
}

}
Expand Down Expand Up @@ -245,7 +282,7 @@
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 285.0, 33.0, 51.0, 22.0 ],
"patching_rect" : [ 194.0, 22.0, 51.0, 22.0 ],
"text" : "cc 1 2 3"
}

Expand Down Expand Up @@ -292,7 +329,7 @@
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 175.0, 133.0, 43.0, 22.0 ],
"patching_rect" : [ 50.0, 170.0, 43.0, 22.0 ],
"text" : "invalid"
}

Expand Down Expand Up @@ -375,13 +412,34 @@
"source" : [ "obj-1", 1 ]
}

}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-10", 0 ]
}

}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-11", 0 ]
}

}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-12", 0 ]
}

}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-13", 0 ]
}

}
, {
"patchline" : {
Expand Down Expand Up @@ -515,6 +573,13 @@
"source" : [ "obj-6", 0 ]
}

}
, {
"patchline" : {
"destination" : [ "obj-3", 0 ],
"source" : [ "obj-8", 0 ]
}

}
],
"dependency_cache" : [ {
Expand Down

0 comments on commit 7cf0759

Please sign in to comment.