Se connecter
Se connecter

ou
Créer un compte

ou
Agrandir
Ajouter ce produit à
  • Mon ancien matos
  • Mon matos actuel
  • Mon futur matos
Cycling'74 Max/MSP
Photos
1/35
Cycling'74 Max/MSP

Sujet Max/msp, SysEx et BCF2000

  • 23 réponses
  • 5 participants
  • 2 179 vues
  • 4 followers
Sujet de la discussion Max/msp, SysEx et BCF2000
Salut à tous,
Je suis en train de faire un patch dans max pour le bcf2000 que je mettrais en téléchargement lorsqu'il sera terminé.
Mais j'ai plusieurs problème à mon actif :
- Comment faire un dump dans max (je ne l'ai jamais fait) ?
- Et comment faire un dump de code SysEx ?

Ce que j'aimerai faire c'est de pouvoir envoyer des infos (numéros de controleurs, valeurs, etc....) à mon bcf en SysEx afin de ne pas me prendre la tête à tout configurer à la main. Et cela me permettrais de pouvoir changer de bcf et d'avoir toujours la même configuration interne sur les memes presets.
Mais je ne trouve pas beaucoup d'infos sur le Net.
Merci d'avance pour votre aide !!
Afficher le sujet de la discussion
11
Une petite question, je n'arrive pas à trouver la réponse :
Dans quel objet peut-on écrire (par ex. des nombres) et cela même dans runtime ?
Merci d'avance de vos réponses, cela me permettrais d'avancer dans mon patcher !
12
Voici le code pour obtenir le code sysex du BCF. Il faut quand meme jeter un coup d'oeil dans la doc du BCF. Ce patcher est un peu bordélique, mais vous etes assez grand pour faire le ménage ^^.Amusez vous bien :

{
"patcher" : {
"fileversion" : 1,
"rect" : [ 332.0, 240.0, 927.0, 656.0 ],
"bglocked" : 0,
"defrect" : [ 332.0, 240.0, 927.0, 656.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,
"metadata" : [ ],
"boxes" : [ {
"box" : {
"maxclass" : "message",
"text" : "read BCF.ALLPRESETS.MF",
"fontsize" : 9.0,
"patching_rect" : [ 723.0, 234.0, 126.0, 15.0 ],
"id" : "obj-1",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "0",
"fontsize" : 9.0,
"patching_rect" : [ 226.0, 305.0, 16.0, 15.0 ],
"id" : "obj-2",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "sel 500",
"fontsize" : 9.0,
"patching_rect" : [ 278.0, 478.0, 44.0, 17.0 ],
"id" : "obj-3",
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "bang", "" ],
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "metro 500",
"fontsize" : 9.0,
"patching_rect" : [ 226.0, 337.0, 58.0, 17.0 ],
"id" : "obj-4",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "button",
"patching_rect" : [ 132.0, 303.0, 15.0, 15.0 ],
"id" : "obj-5",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ]
}

}
, {
"box" : {
"maxclass" : "number",
"htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ],
"triscale" : 0.9,
"fontsize" : 9.0,
"patching_rect" : [ 164.0, 465.0, 64.0, 17.0 ],
"id" : "obj-6",
"numinlets" : 1,
"bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ],
"numoutlets" : 2,
"outlettype" : [ "int", "bang" ],
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "timer",
"fontsize" : 9.0,
"patching_rect" : [ 164.0, 430.0, 72.0, 17.0 ],
"id" : "obj-7",
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "float", "" ],
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "print SEQ",
"fontsize" : 9.0,
"patching_rect" : [ 443.0, 301.0, 52.0, 17.0 ],
"id" : "obj-8",
"numinlets" : 1,
"numoutlets" : 0,
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "controllers",
"fontsize" : 9.0,
"patching_rect" : [ 486.0, 85.0, 64.0, 15.0 ],
"id" : "obj-9",
"numinlets" : 2,
"numoutlets" : 1,
"hidden" : 1,
"outlettype" : [ "" ],
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "loadbang",
"fontsize" : 9.0,
"patching_rect" : [ 486.0, 64.0, 52.0, 17.0 ],
"id" : "obj-10",
"numinlets" : 1,
"numoutlets" : 1,
"hidden" : 1,
"outlettype" : [ "bang" ],
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "midiinfo",
"fontsize" : 9.0,
"patching_rect" : [ 486.0, 104.0, 45.0, 17.0 ],
"id" : "obj-11",
"numinlets" : 2,
"numoutlets" : 1,
"hidden" : 1,
"outlettype" : [ "" ],
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "optional argument to read in a MIDI or text file",
"fontsize" : 9.0,
"patching_rect" : [ 626.0, 282.0, 224.0, 17.0 ],
"id" : "obj-12",
"numinlets" : 1,
"numoutlets" : 0,
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "stop",
"fontsize" : 9.0,
"patching_rect" : [ 609.0, 147.0, 52.0, 15.0 ],
"id" : "obj-13",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "button",
"patching_rect" : [ 608.0, 98.0, 45.0, 45.0 ],
"id" : "obj-14",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ]
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "record",
"fontsize" : 9.0,
"patching_rect" : [ 609.0, 164.0, 52.0, 15.0 ],
"id" : "obj-15",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "delay 0",
"fontsize" : 9.0,
"patching_rect" : [ 609.0, 198.0, 52.0, 15.0 ],
"id" : "obj-16",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "print",
"fontsize" : 9.0,
"patching_rect" : [ 609.0, 215.0, 52.0, 15.0 ],
"id" : "obj-17",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "write",
"fontsize" : 9.0,
"patching_rect" : [ 609.0, 259.0, 52.0, 15.0 ],
"id" : "obj-18",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "seq BCF.ALLPRESETS.MF",
"fontsize" : 9.0,
"color" : [ 1.0, 0.890196, 0.090196, 1.0 ],
"patching_rect" : [ 499.0, 280.0, 121.0, 17.0 ],
"id" : "obj-19",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "int", "bang" ],
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "read BCF.PRESET8.MF",
"fontsize" : 9.0,
"patching_rect" : [ 609.0, 234.0, 109.0, 15.0 ],
"id" : "obj-20",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "button",
"patching_rect" : [ 568.0, 300.0, 15.0, 15.0 ],
"id" : "obj-21",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ]
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "bang sent out right outlet when sequence comes to the end",
"fontsize" : 9.0,
"patching_rect" : [ 585.0, 301.0, 272.0, 17.0 ],
"id" : "obj-22",
"numinlets" : 1,
"numoutlets" : 0,
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "midiout",
"fontsize" : 9.0,
"patching_rect" : [ 499.0, 300.0, 50.0, 17.0 ],
"id" : "obj-23",
"numinlets" : 1,
"numoutlets" : 0,
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "Input device:",
"fontsize" : 9.0,
"patching_rect" : [ 486.0, 137.0, 65.0, 17.0 ],
"id" : "obj-24",
"numinlets" : 1,
"numoutlets" : 0,
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "midiin",
"fontsize" : 9.0,
"patching_rect" : [ 487.0, 174.0, 50.0, 17.0 ],
"id" : "obj-25",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "ints interpreted as MIDI bytes",
"linecount" : 4,
"fontsize" : 9.0,
"patching_rect" : [ 494.0, 193.0, 59.0, 48.0 ],
"id" : "obj-26",
"numinlets" : 1,
"numoutlets" : 0,
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "umenu",
"items" : [ "IAC Driver Bus 1", ",", "to MaxMSP 1", ",", "to MaxMSP 2" ],
"fontsize" : 9.0,
"types" : [ ],
"patching_rect" : [ 486.0, 152.0, 95.0, 17.0 ],
"id" : "obj-27",
"numinlets" : 1,
"numoutlets" : 3,
"outlettype" : [ "int", "", "" ],
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "write",
"fontsize" : 9.0,
"patching_rect" : [ 109.0, 143.0, 35.0, 15.0 ],
"id" : "obj-28",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "write",
"fontsize" : 9.0,
"patching_rect" : [ 404.0, 145.0, 41.0, 15.0 ],
"id" : "obj-29",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "capture 7000",
"fontsize" : 9.0,
"patching_rect" : [ 297.0, 165.0, 71.0, 17.0 ],
"id" : "obj-30",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "int" ],
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "dump all presets",
"fontsize" : 9.0,
"patching_rect" : [ 297.0, 146.0, 100.0, 17.0 ],
"id" : "obj-31",
"numinlets" : 1,
"numoutlets" : 0,
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "0",
"fontsize" : 9.0,
"patching_rect" : [ 125.0, 225.0, 16.0, 15.0 ],
"id" : "obj-32",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "number",
"htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ],
"triscale" : 0.9,
"fontsize" : 9.0,
"patching_rect" : [ 37.0, 275.0, 107.0, 17.0 ],
"id" : "obj-33",
"numinlets" : 1,
"bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ],
"numoutlets" : 2,
"outlettype" : [ "int", "bang" ],
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "counter",
"fontsize" : 9.0,
"patching_rect" : [ 36.0, 241.0, 66.0, 17.0 ],
"id" : "obj-34",
"numinlets" : 5,
"numoutlets" : 4,
"outlettype" : [ "int", "", "", "int" ],
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "button",
"patching_rect" : [ 36.0, 160.0, 71.0, 71.0 ],
"id" : "obj-35",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "print SYSEXIN",
"fontsize" : 9.0,
"patching_rect" : [ 265.0, 112.0, 73.0, 17.0 ],
"id" : "obj-36",
"numinlets" : 1,
"numoutlets" : 0,
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "sysexin",
"fontsize" : 9.0,
"patching_rect" : [ 168.0, 92.0, 45.0, 17.0 ],
"id" : "obj-37",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "capture 90000",
"fontsize" : 9.0,
"patching_rect" : [ 154.0, 164.0, 77.0, 17.0 ],
"id" : "obj-38",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "int" ],
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "dump all presets",
"fontsize" : 9.0,
"patching_rect" : [ 156.0, 143.0, 100.0, 17.0 ],
"id" : "obj-39",
"numinlets" : 1,
"numoutlets" : 0,
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "pour connaître la taille du buffer pour l'argument de l'objet capture",
"fontsize" : 9.0,
"patching_rect" : [ 106.0, 250.0, 313.0, 17.0 ],
"id" : "obj-40",
"numinlets" : 1,
"numoutlets" : 0,
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "play at default speed",
"fontsize" : 9.0,
"patching_rect" : [ 654.0, 98.0, 100.0, 17.0 ],
"id" : "obj-41",
"numinlets" : 1,
"numoutlets" : 0,
"fontname" : "Arial"
}

}
],
"lines" : [ {
"patchline" : {
"source" : [ "obj-3", 0 ],
"destination" : [ "obj-13", 0 ],
"hidden" : 0,
"midpoints" : [ 287.5, 499.0, 720.0, 499.0, 720.0, 146.0, 618.5, 146.0 ]
}

}
, {
"patchline" : {
"source" : [ "obj-19", 1 ],
"destination" : [ "obj-21", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-19", 0 ],
"destination" : [ "obj-23", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-20", 0 ],
"destination" : [ "obj-19", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-25", 0 ],
"destination" : [ "obj-19", 0 ],
"hidden" : 0,
"midpoints" : [ 496.5, 270.0, 508.5, 270.0 ]
}

}
, {
"patchline" : {
"source" : [ "obj-18", 0 ],
"destination" : [ "obj-19", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-17", 0 ],
"destination" : [ "obj-19", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-14", 0 ],
"destination" : [ "obj-19", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-16", 0 ],
"destination" : [ "obj-19", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-15", 0 ],
"destination" : [ "obj-19", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-13", 0 ],
"destination" : [ "obj-19", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-1", 0 ],
"destination" : [ "obj-19", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-27", 1 ],
"destination" : [ "obj-25", 0 ],
"hidden" : 1,
"midpoints" : [ 533.5, 171.0, 496.5, 171.0 ]
}

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

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

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

}
, {
"patchline" : {
"source" : [ "obj-19", 0 ],
"destination" : [ "obj-8", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-29", 0 ],
"destination" : [ "obj-30", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-37", 0 ],
"destination" : [ "obj-30", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-7", 0 ],
"destination" : [ "obj-3", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-37", 0 ],
"destination" : [ "obj-36", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-4", 0 ],
"destination" : [ "obj-7", 1 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-35", 0 ],
"destination" : [ "obj-4", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-2", 0 ],
"destination" : [ "obj-4", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-3", 0 ],
"destination" : [ "obj-2", 0 ],
"hidden" : 0,
"midpoints" : [ 287.5, 499.0, 343.0, 499.0, 343.0, 292.0, 232.0, 292.0 ]
}

}
, {
"patchline" : {
"source" : [ "obj-7", 0 ],
"destination" : [ "obj-6", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-35", 0 ],
"destination" : [ "obj-7", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-28", 0 ],
"destination" : [ "obj-38", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-33", 1 ],
"destination" : [ "obj-5", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-32", 0 ],
"destination" : [ "obj-34", 3 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-34", 0 ],
"destination" : [ "obj-33", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-35", 0 ],
"destination" : [ "obj-34", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-37", 0 ],
"destination" : [ "obj-35", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
]
}

}
13
@SalCarlos :

connais-tu l'objet coll ?
14
Non
15
Je viens de jeter un oeil à coll, mais ce n'est pas ce que je recherchais.

En fait ce que je vais etre plus précis. Dans le patcher que je suis en train de construire, j'ai mis pour les faders du BCF une fonction logarithmique pour allé de -inf à 0. Ce que j'aimerai c'est laisser le choix aux personnes qui vont s'en servir et qu'elles puissent écrire la fonction qu'elles souhaitent tout cela sans passer par le mode edit de Max...et oui, je me soucis même des gens qui n'ont que runtime !
Du coup, je cherche un objet dans lequel on puisse écrire tout simplement du texte...je n'en connais pas !
Merci d'avance
16
Dans ce cas, pourquoi n'utilises-tu pas tout simplement le menu déroulants ? avec un choix de plusieurs courbes ...
17
C'est pour laisser le choix aux utilisateurs :D:
18
@ daams>>>Sympa [coll], franchement je ne connaissais pas particulièrement, je crois que je m'en servirais plus souvent.

@ Everybody >>> Je suis en train de me pencher sur la question du help qui va aller avec mon patcher....et du coup, je ne sais pas trop quoi mettre dedans. Quels renseignements sont les plus important pour vous. Avez-vous des conseils à me donner pour qu'il soit clair pour tout le monde et pas trop prise de tete !!??

MErci d'avance !!
19
Pour écrire tu texte dans Max (et dans le Runtime), il existe l'objet textedit.

Mais tu pourrais aussi laisser l'utilisateur dessiner des courbes avec l'objet table (ou mieux encore itable si tu as Max 5). L'objet multislider peut aussi être employé dans ce sens mais il est un peu plus compliqué à employer.
20
C'est justement ce que m'a conseillé un pote hier matin.