Having problems with my first patch
hi!
i'm very new to max so it is very likely that this is a really silly question. i tried to understand and remake a patch from Mark Fells thesis, but couldn't make it run. from my (very little) understanding this patch should send out midi-notes when i hit the button, but ableton doesn't receive anything from it. could you tell me why?
{\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf600
{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
{\colortbl;\red255\green255\blue255;}
{\*\expandedcolortbl;;}
\paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
\f0\fs24 \cf0 \{\
"boxes" : [ \{\
"box" : \{\
"maxclass" : "button",\
"outlettype" : [ "bang" ],\
"style" : "",\
"patching_rect" : [ 150.0, 12.0, 24.0, 24.0 ],\
"numinlets" : 1,\
"presentation_rect" : [ 150.0, 12.0, 24.0, 24.0 ],\
"id" : "obj-4",\
"numoutlets" : 1\
\}\
\
\}\
, \{\
"box" : \{\
"maxclass" : "newobj",\
"text" : "pack i i",\
"outlettype" : [ "" ],\
"style" : "",\
"patching_rect" : [ 207.0, 362.0, 44.0, 20.0 ],\
"numinlets" : 2,\
"presentation_rect" : [ 207.0, 362.0, 44.0, 20.0 ],\
"id" : "obj-25",\
"numoutlets" : 1\
\}\
\
\}\
, \{\
"box" : \{\
"maxclass" : "newobj",\
"text" : "makenote 120 500",\
"outlettype" : [ "float", "float" ],\
"style" : "",\
"patching_rect" : [ 200.0, 324.0, 96.0, 20.0 ],\
"numinlets" : 3,\
"presentation_rect" : [ 200.0, 324.0, 96.0, 20.0 ],\
"id" : "obj-24",\
"numoutlets" : 2\
\}\
\
\}\
, \{\
"box" : \{\
"maxclass" : "newobj",\
"text" : "* 1.",\
"outlettype" : [ "float" ],\
"style" : "",\
"patching_rect" : [ 221.5, 278.0, 29.5, 20.0 ],\
"numinlets" : 2,\
"presentation_rect" : [ 221.5, 278.0, 29.5, 20.0 ],\
"id" : "obj-23",\
"numoutlets" : 1\
\}\
\
\}\
, \{\
"box" : \{\
"maxclass" : "newobj",\
"text" : "/ 100.",\
"outlettype" : [ "float" ],\
"style" : "",\
"patching_rect" : [ 188.0, 238.0, 36.0, 20.0 ],\
"numinlets" : 2,\
"presentation_rect" : [ 188.0, 238.0, 36.0, 20.0 ],\
"id" : "obj-21",\
"numoutlets" : 1\
\}\
\
\}\
, \{\
"box" : \{\
"maxclass" : "newobj",\
"text" : "random 100",\
"outlettype" : [ "int" ],\
"style" : "",\
"patching_rect" : [ 188.0, 197.0, 67.0, 20.0 ],\
"numinlets" : 2,\
"presentation_rect" : [ 188.0, 197.0, 67.0, 20.0 ],\
"id" : "obj-20",\
"numoutlets" : 1\
\}\
\
\}\
, \{\
"box" : \{\
"maxclass" : "newobj",\
"text" : "t 60 b",\
"outlettype" : [ "int", "bang" ],\
"style" : "",\
"patching_rect" : [ 153.0, 159.0, 37.0, 20.0 ],\
"numinlets" : 1,\
"presentation_rect" : [ 153.0, 159.0, 37.0, 20.0 ],\
"id" : "obj-19",\
"numoutlets" : 2\
\}\
\
\}\
, \{\
"box" : \{\
"maxclass" : "number",\
"outlettype" : [ "", "bang" ],\
"style" : "",\
"patching_rect" : [ 217.5, 74.5, 50.0, 20.0 ],\
"numinlets" : 1,\
"presentation_rect" : [ 217.5, 74.5, 50.0, 20.0 ],\
"id" : "obj-12",\
"parameter_enable" : 0,\
"numoutlets" : 2\
\}\
\
\}\
, \{\
"box" : \{\
"maxclass" : "newobj",\
"text" : "loadmess 1000",\
"outlettype" : [ "" ],\
"style" : "",\
"patching_rect" : [ 214.0, 34.0, 82.0, 20.0 ],\
"numinlets" : 1,\
"presentation_rect" : [ 214.0, 34.0, 82.0, 20.0 ],\
"id" : "obj-8",\
"numoutlets" : 1\
\}\
\
\}\
, \{\
"box" : \{\
"maxclass" : "newobj",\
"text" : "metro",\
"outlettype" : [ "bang" ],\
"style" : "",\
"patching_rect" : [ 150.0, 120.0, 39.0, 20.0 ],\
"numinlets" : 2,\
"presentation_rect" : [ 150.0, 120.0, 39.0, 20.0 ],\
"id" : "obj-5",\
"numoutlets" : 1\
\}\
\
\}\
, \{\
"box" : \{\
"maxclass" : "comment",\
"text" : "Device vertical limit",\
"hidden" : 1,\
"fontname" : "Ableton Sans Medium Regular",\
"style" : "",\
"patching_rect" : [ 0.0, 170.0, 133.0, 20.0 ],\
"numinlets" : 1,\
"presentation_rect" : [ 0.0, 170.0, 133.0, 20.0 ],\
"id" : "obj-9",\
"numoutlets" : 0,\
"fontsize" : 11.0\
\}\
\
\}\
, \{\
"box" : \{\
"maxclass" : "newobj",\
"text" : "midiout",\
"fontname" : "Arial Bold",\
"style" : "",\
"patching_rect" : [ 207.0, 402.0, 47.0, 20.0 ],\
"numinlets" : 1,\
"presentation_rect" : [ 207.0, 402.0, 47.0, 20.0 ],\
"id" : "obj-2",\
"numoutlets" : 0,\
"fontsize" : 10.0\
\}\
\
\}\
],\
"lines" : [ \{\
"patchline" : \{\
"source" : [ "obj-8", 0 ],\
"destination" : [ "obj-12", 0 ]\
\}\
\
\}\
, \{\
"patchline" : \{\
"source" : [ "obj-5", 0 ],\
"destination" : [ "obj-19", 0 ]\
\}\
\
\}\
, \{\
"patchline" : \{\
"source" : [ "obj-4", 0 ],\
"destination" : [ "obj-5", 0 ]\
\}\
\
\}\
, \{\
"patchline" : \{\
"source" : [ "obj-25", 0 ],\
"destination" : [ "obj-2", 0 ]\
\}\
\
\}\
, \{\
"patchline" : \{\
"source" : [ "obj-24", 0 ],\
"destination" : [ "obj-25", 0 ]\
\}\
\
\}\
, \{\
"patchline" : \{\
"source" : [ "obj-24", 1 ],\
"destinat
let´s escape the curly braces!
sorry i dont get it :-/
haha
select all in your patch > edit > copy compressed and paste it here again
thanks florent :)
hey, you need to add a midiformat between the [pack i i] and the midiout
the combo [midiformat + midiout] is equivalent to the noteout object but allows for more midi info to be sent out of the device
same thing with [midiin + midiparse] and notein
@florent that fixed it, thanks a lot!!
you're welcome