Bonjour devant convertit tout un patch dans max5 je m'aperçois que tout un tas de choses ne fonctionne pas:
Je me demande si tu as déjà rencontré ce problème d'édition de message dans Max5, le but de l'opération est de faire un rappel de preset en cliquant le text : le contenu du patch openmessage est le suivant :
Si on clique sur open cela permet d'ouvrir une fenêtre message inspector et donc par exemple de copier ces eléments qui peuvent être parfois des paramètres genre :
;
filter1 cutoff 554.;
filter1 res 0.71;
filter1 bass 32;
filter1 bsfreq 214.;
filter1 mid 88;
filter1 trfreq 4014.;
filter1 treble 84;
filter1 pan 59
via Pomc et Pomv
Je me demande comment faire pour conserver ses possibilités dans Max5.
Hors ligne
c'est pas très clair
que veux tu faire précisément ...?
Hors ligne
Dans Max5, on ne peut plus éditer le contenu d'une boite message via son inspecteur comme on le faisait dans Max4.
On pourrait par exemple bouncer le contenu du message [text] ou [textedit] ou [capture] pour en éditer le contenu manuellement.
Il existe probablement de nombreuses possibilités. Il faudrait en effet préciser.
Hors ligne
Boujour,
Je vous joins pour plus de clarté un fragment de patch qui vous permettra de comprendre le problème posé.
{
"patcher" : {
"fileversion" : 1,
"rect" : [ 226.0, 122.0, 401.0, 502.0 ],
"bglocked" : 0,
"defrect" : [ 226.0, 122.0, 401.0, 502.0 ],
"openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
"openinpresentation" : 0,
"default_fontsize" : 12.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 0,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 0,
"toolbarvisible" : 1,
"boxanimatetime" : 200,
"imprint" : 0,
"enablehscroll" : 1,
"enablevscroll" : 1,
"devicewidth" : 0.0,
"boxes" : [ {
"box" : {
"maxclass" : "message",
"text" : "open",
"linecount" : 2,
"id" : "obj-21",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 9.0,
"patching_rect" : [ 126.0, 198.5, 28.0, 25.0 ],
"numinlets" : 2,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "store",
"id" : "obj-22",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 9.0,
"patching_rect" : [ 77.0, 198.5, 48.0, 15.0 ],
"numinlets" : 2,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "0",
"id" : "obj-23",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 9.0,
"patching_rect" : [ 15.0, 182.5, 26.0, 15.0 ],
"numinlets" : 2,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "16",
"id" : "obj-24",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 9.0,
"patching_rect" : [ 15.0, 168.5, 26.0, 15.0 ],
"numinlets" : 2,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "32",
"id" : "obj-25",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 9.0,
"patching_rect" : [ 15.0, 154.5, 26.0, 15.0 ],
"numinlets" : 2,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "48",
"id" : "obj-26",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 9.0,
"patching_rect" : [ 15.0, 140.5, 26.0, 15.0 ],
"numinlets" : 2,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "64",
"id" : "obj-27",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 9.0,
"patching_rect" : [ 15.0, 126.5, 26.0, 15.0 ],
"numinlets" : 2,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "80",
"id" : "obj-28",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 9.0,
"patching_rect" : [ 15.0, 112.5, 26.0, 15.0 ],
"numinlets" : 2,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "96",
"id" : "obj-29",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 9.0,
"patching_rect" : [ 15.0, 98.5, 26.0, 15.0 ],
"numinlets" : 2,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "112",
"id" : "obj-30",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 9.0,
"patching_rect" : [ 15.0, 84.5, 26.0, 15.0 ],
"numinlets" : 2,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "127",
"id" : "obj-31",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 9.0,
"patching_rect" : [ 15.0, 70.5, 26.0, 15.0 ],
"numinlets" : 2,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "144",
"id" : "obj-32",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 9.0,
"patching_rect" : [ 15.0, 56.5, 26.0, 15.0 ],
"numinlets" : 2,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "157",
"id" : "obj-33",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 9.0,
"patching_rect" : [ 15.0, 42.5, 26.0, 15.0 ],
"numinlets" : 2,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "slider",
"id" : "obj-34",
"outlettype" : [ "" ],
"patching_rect" : [ 42.0, 42.5, 34.0, 155.0 ],
"size" : 158.0,
"numinlets" : 1,
"orientation" : 2,
"bgcolor" : [ 0.380392, 0.611765, 0.611765, 1.0 ],
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "message",
"text" : ";\rsamp-aux> connect >reson;\rsamp-aux 51 10",
"linecount" : 3,
"id" : "obj-35",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 9.0,
"patching_rect" : [ 15.0, 214.5, 139.0, 36.0 ],
"numinlets" : 2,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "p s/r/msg",
"id" : "obj-36",
"fontname" : "Arial",
"outlettype" : [ "", "", "", "" ],
"fontsize" : 9.0,
"patching_rect" : [ 30.0, 21.5, 61.0, 17.0 ],
"numinlets" : 4,
"numoutlets" : 4,
"patcher" : {
"fileversion" : 1,
"rect" : [ 9.0, 45.0, 633.0, 256.0 ],
"bglocked" : 0,
"defrect" : [ 9.0, 45.0, 633.0, 256.0 ],
"openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
"openinpresentation" : 0,
"default_fontsize" : 12.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 0,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 0,
"toolbarvisible" : 1,
"boxanimatetime" : 200,
"imprint" : 0,
"enablehscroll" : 1,
"enablevscroll" : 1,
"devicewidth" : 0.0,
"boxes" : [ {
"box" : {
"maxclass" : "newobj",
"text" : "s samp-aux>",
"id" : "obj-1",
"fontname" : "Arial",
"fontsize" : 9.0,
"patching_rect" : [ 507.0, 93.0, 65.0, 17.0 ],
"color" : [ 0.156863, 0.8, 0.54902, 1.0 ],
"numinlets" : 1,
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "prepend connect",
"id" : "obj-2",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 9.0,
"patching_rect" : [ 507.0, 66.0, 80.0, 17.0 ],
"numinlets" : 1,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "inlet",
"id" : "obj-3",
"outlettype" : [ "" ],
"patching_rect" : [ 507.0, 22.0, 15.0, 15.0 ],
"numinlets" : 0,
"numoutlets" : 1,
"comment" : ""
}
}
, {
"box" : {
"maxclass" : "outlet",
"id" : "obj-4",
"patching_rect" : [ 429.0, 167.0, 15.0, 15.0 ],
"numinlets" : 1,
"numoutlets" : 0,
"comment" : ""
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "prepend set",
"id" : "obj-5",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 9.0,
"patching_rect" : [ 429.0, 61.0, 60.0, 17.0 ],
"numinlets" : 1,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "route connect",
"id" : "obj-6",
"fontname" : "Arial",
"outlettype" : [ "", "" ],
"fontsize" : 9.0,
"patching_rect" : [ 313.0, 43.0, 69.0, 17.0 ],
"numinlets" : 1,
"numoutlets" : 2
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "r samp-aux>",
"id" : "obj-7",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 9.0,
"patching_rect" : [ 313.0, 22.0, 65.0, 17.0 ],
"color" : [ 0.156863, 0.8, 0.54902, 1.0 ],
"numinlets" : 0,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "listreg",
"id" : "obj-8",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 9.0,
"patching_rect" : [ 285.0, 82.0, 38.0, 17.0 ],
"numinlets" : 2,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "sprintf set \\; samp-aux> connect %s \\; samp-aux %i 10",
"linecount" : 3,
"id" : "obj-9",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 9.0,
"patching_rect" : [ 285.0, 103.0, 115.0, 38.0 ],
"numinlets" : 2,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "$1",
"id" : "obj-10",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 9.0,
"patching_rect" : [ 390.0, 82.0, 20.0, 15.0 ],
"numinlets" : 2,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "outlet",
"id" : "obj-11",
"patching_rect" : [ 285.0, 167.0, 15.0, 15.0 ],
"numinlets" : 1,
"numoutlets" : 0,
"comment" : ""
}
}
, {
"box" : {
"maxclass" : "inlet",
"id" : "obj-12",
"outlettype" : [ "" ],
"patching_rect" : [ 285.0, 22.0, 15.0, 15.0 ],
"numinlets" : 0,
"numoutlets" : 1,
"comment" : ""
}
}
, {
"box" : {
"maxclass" : "button",
"id" : "obj-13",
"outlettype" : [ "bang" ],
"patching_rect" : [ 285.0, 43.0, 15.0, 15.0 ],
"numinlets" : 1,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "outlet",
"id" : "obj-14",
"patching_rect" : [ 203.0, 167.0, 15.0, 15.0 ],
"numinlets" : 1,
"numoutlets" : 0,
"comment" : ""
}
}
, {
"box" : {
"maxclass" : "outlet",
"id" : "obj-15",
"patching_rect" : [ 147.0, 167.0, 15.0, 15.0 ],
"numinlets" : 1,
"numoutlets" : 0,
"comment" : ""
}
}
, {
"box" : {
"maxclass" : "inlet",
"id" : "obj-16",
"outlettype" : [ "" ],
"patching_rect" : [ 83.0, 22.0, 15.0, 15.0 ],
"numinlets" : 0,
"numoutlets" : 1,
"comment" : ""
}
}
, {
"box" : {
"maxclass" : "inlet",
"id" : "obj-17",
"outlettype" : [ "int" ],
"patching_rect" : [ 25.0, 22.0, 15.0, 15.0 ],
"numinlets" : 0,
"numoutlets" : 1,
"comment" : ""
}
}
, {
"box" : {
"maxclass" : "message",
"text" : ";\rsamp-aux $1 10",
"linecount" : 2,
"id" : "obj-18",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 9.0,
"patching_rect" : [ 25.0, 167.0, 82.0, 25.0 ],
"numinlets" : 2,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "set $1",
"id" : "obj-19",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 9.0,
"patching_rect" : [ 147.0, 85.0, 35.0, 15.0 ],
"numinlets" : 2,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "listiter 2",
"id" : "obj-20",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 9.0,
"patching_rect" : [ 147.0, 43.0, 49.0, 17.0 ],
"numinlets" : 2,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "r samp-aux",
"id" : "obj-21",
"fontname" : "Arial",
"outlettype" : [ "" ],
"fontsize" : 9.0,
"patching_rect" : [ 147.0, 22.0, 60.0, 17.0 ],
"color" : [ 0.156863, 0.8, 0.54902, 1.0 ],
"numinlets" : 0,
"numoutlets" : 1
}
}
],
"lines" : [ {
"patchline" : {
"source" : [ "obj-17", 0 ],
"destination" : [ "obj-18", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-16", 0 ],
"destination" : [ "obj-18", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-21", 0 ],
"destination" : [ "obj-20", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-20", 0 ],
"destination" : [ "obj-19", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-19", 0 ],
"destination" : [ "obj-15", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-19", 0 ],
"destination" : [ "obj-14", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-12", 0 ],
"destination" : [ "obj-13", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-13", 0 ],
"destination" : [ "obj-8", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-8", 0 ],
"destination" : [ "obj-9", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-9", 0 ],
"destination" : [ "obj-11", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-7", 0 ],
"destination" : [ "obj-6", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-6", 0 ],
"destination" : [ "obj-8", 1 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-20", 0 ],
"destination" : [ "obj-10", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-10", 0 ],
"destination" : [ "obj-9", 1 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-6", 0 ],
"destination" : [ "obj-5", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-5", 0 ],
"destination" : [ "obj-4", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-3", 0 ],
"destination" : [ "obj-2", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-2", 0 ],
"destination" : [ "obj-1", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
]
}
,
"saved_object_attributes" : {
"default_fontsize" : 12.0,
"fontname" : "Arial",
"globalpatchername" : "",
"fontface" : 0,
"fontsize" : 12.0,
"default_fontface" : 0,
"default_fontname" : "Arial"
}
}
}
, {
"box" : {
"maxclass" : "number",
"triscale" : 0.9,
"htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ],
"id" : "obj-37",
"fontname" : "Arial",
"outlettype" : [ "int", "bang" ],
"fontface" : 1,
"fontsize" : 9.0,
"patching_rect" : [ 15.0, 198.5, 61.0, 17.0 ],
"numinlets" : 1,
"minimum" : 0,
"bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ],
"numoutlets" : 2,
"maximum" : 157
}
}
, {
"box" : {
"maxclass" : "umenu",
"id" : "obj-55",
"fontname" : "Arial",
"outlettype" : [ "int", "", "" ],
"fontsize" : 9.0,
"patching_rect" : [ 15.0, 25.5, 61.0, 17.0 ],
"items" : [ "nil", ",", ">harms", ",", ">shifts", ",", ">rmods", ",", ">reson", ",", ">convolA", ",", ">convolB", ",", ">disto", ",", ">wave", ",", ">dels", ",", ">iana", ",", ">filter1", ",", ">filter2", ",", ">capture" ],
"numinlets" : 1,
"types" : [ ],
"numoutlets" : 3
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "aux send",
"id" : "obj-57",
"fontname" : "Arial",
"fontsize" : 9.0,
"patching_rect" : [ 76.0, 27.5, 45.0, 17.0 ],
"numinlets" : 1,
"numoutlets" : 0
}
}
],
"lines" : [ {
"patchline" : {
"source" : [ "obj-36", 3 ],
"destination" : [ "obj-55", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-36", 0 ],
"destination" : [ "obj-37", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-23", 0 ],
"destination" : [ "obj-37", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-24", 0 ],
"destination" : [ "obj-37", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-25", 0 ],
"destination" : [ "obj-37", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-26", 0 ],
"destination" : [ "obj-37", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-27", 0 ],
"destination" : [ "obj-37", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-28", 0 ],
"destination" : [ "obj-37", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-29", 0 ],
"destination" : [ "obj-37", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-30", 0 ],
"destination" : [ "obj-37", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-31", 0 ],
"destination" : [ "obj-37", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-32", 0 ],
"destination" : [ "obj-37", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-33", 0 ],
"destination" : [ "obj-37", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-36", 2 ],
"destination" : [ "obj-35", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-21", 0 ],
"destination" : [ "obj-35", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-37", 0 ],
"destination" : [ "obj-36", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-36", 1 ],
"destination" : [ "obj-34", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-34", 0 ],
"destination" : [ "obj-36", 1 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-22", 0 ],
"destination" : [ "obj-36", 2 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-55", 1 ],
"destination" : [ "obj-36", 3 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
]
}
}Hors ligne
Pages: 1