Skip to content

Commit

Permalink
Basic Player - Simpler GUI
Browse files Browse the repository at this point in the history
+ minor fix in the MIDI implementation
  • Loading branch information
domthibault committed Sep 7, 2024
1 parent 0f31f18 commit f0fbe1c
Show file tree
Hide file tree
Showing 4 changed files with 106 additions and 137 deletions.
Binary file modified __MosaiquePlayer_Basic_v0.01.amxd
Binary file not shown.
59 changes: 46 additions & 13 deletions _mosaique.midiNotes.maxpat
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,29 @@
"subpatcher_template" : "",
"assistshowspatchername" : 0,
"boxes" : [ {
"box" : {
"id" : "obj-10",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 285.0, 353.0, 50.0, 22.0 ],
"text" : "size 0"
}

}
, {
"box" : {
"id" : "obj-7",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 545.0, 271.0, 127.0, 22.0 ],
"text" : "s #1MIDI_note_min"
}

}
, {
"box" : {
"id" : "obj-94",
"maxclass" : "newobj",
Expand Down Expand Up @@ -226,7 +249,7 @@
}
,
"text" : "MIDI map",
"textcolor" : [ 0.811764705882353, 0.811764705882353, 0.811764705882353, 1.0 ],
"textcolor" : [ 0.807843, 0.807843, 0.807843, 1.0 ],
"textjustification" : 1
}

Expand Down Expand Up @@ -395,7 +418,7 @@
"parameter_initial" : [ 60 ],
"parameter_invisible" : 1,
"parameter_linknames" : 1,
"parameter_longname" : "---MIDI_note_min[2]",
"parameter_longname" : "MIDI lowest note",
"parameter_modmode" : 0,
"parameter_shortname" : "lowest note",
"parameter_type" : 0,
Expand Down Expand Up @@ -425,7 +448,7 @@
"valueof" : {
"parameter_invisible" : 2,
"parameter_linknames" : 1,
"parameter_longname" : "---MIDI_note_max[2]",
"parameter_longname" : "MIDI highest note",
"parameter_modmode" : 0,
"parameter_shortname" : "Highest Note",
"parameter_type" : 0,
Expand Down Expand Up @@ -629,7 +652,7 @@
"valueof" : {
"parameter_invisible" : 2,
"parameter_linknames" : 1,
"parameter_longname" : "---MIDI_velo_layers",
"parameter_longname" : "MIDI velocity layers",
"parameter_modmode" : 0,
"parameter_shortname" : "Velocity Layers",
"parameter_type" : 0,
Expand Down Expand Up @@ -805,6 +828,14 @@
"patchline" : {
"destination" : [ "obj-54", 1 ],
"midpoints" : [ 690.5, 730.473680853843689, 434.5, 730.473680853843689 ],
"order" : 1,
"source" : [ "obj-45", 1 ]
}

}
, {
"patchline" : {
"destination" : [ "obj-7", 0 ],
"order" : 0,
"source" : [ "obj-45", 1 ]
}
Expand All @@ -814,7 +845,7 @@
"patchline" : {
"destination" : [ "obj-86", 1 ],
"midpoints" : [ 690.5, 865.763149738311768, 173.763156592845917, 865.763149738311768 ],
"order" : 1,
"order" : 2,
"source" : [ "obj-45", 1 ]
}

Expand All @@ -832,10 +863,19 @@
"source" : [ "obj-51", 0 ]
}

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

}
, {
"patchline" : {
"destination" : [ "obj-55", 0 ],
"order" : 0,
"source" : [ "obj-52", 0 ]
}

Expand Down Expand Up @@ -1016,14 +1056,7 @@
}

}
],
"saved_attribute_attributes" : {
"default_plcolor" : {
"expression" : ""
}

}

]
}

}
28 changes: 11 additions & 17 deletions _mosaique.miniCorpusOnOff.maxpat
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@
, {
"box" : {
"id" : "obj-1",
"ignoreclick" : 1,
"maxclass" : "live.toggle",
"numinlets" : 1,
"numoutlets" : 1,
Expand Down Expand Up @@ -192,32 +193,32 @@
}
, {
"box" : {
"fontname" : "Avenir",
"fontname" : "Ableton Sans Light",
"fontsize" : 9.5,
"id" : "obj-29",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 398.0, 228.0, 52.0, 19.0 ],
"patching_rect" : [ 398.0, 228.0, 51.0, 18.0 ],
"presentation" : 1,
"presentation_rect" : [ 22.0, -2.875, 74.0, 19.0 ],
"text" : "Corpus 8",
"presentation_rect" : [ 22.0, -2.0, 73.0, 18.0 ],
"text" : "Corpus 1",
"textcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
}

}
, {
"box" : {
"fontname" : "Avenir",
"fontname" : "Ableton Sans Light",
"fontsize" : 9.5,
"id" : "obj-28",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 276.0, 237.0, 24.0, 19.0 ],
"patching_rect" : [ 276.0, 237.0, 25.0, 18.0 ],
"presentation" : 1,
"presentation_rect" : [ 12.0, -2.875, 17.0, 19.0 ],
"text" : "8",
"presentation_rect" : [ 12.0, -2.0, 17.0, 18.0 ],
"text" : "1",
"textcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
}

Expand Down Expand Up @@ -285,7 +286,7 @@
, {
"box" : {
"angle" : 270.0,
"bgcolor" : [ 0.1542, 0.2187, 0.2995, 1.0 ],
"bgcolor" : [ 0.8966, 0.2503, 0.2751, 1.0 ],
"id" : "obj-31",
"maxclass" : "panel",
"mode" : 0,
Expand Down Expand Up @@ -533,14 +534,7 @@
}

}
],
"saved_attribute_attributes" : {
"default_plcolor" : {
"expression" : ""
}

}

]
}

}
Loading

0 comments on commit f0fbe1c

Please sign in to comment.