Page 1 of 1

How to map M8 with max/msp

Posted: Thu Aug 09, 2007 5:38 pm
by RavenX
Hi, i would like to know how to map/use/interact midi between max/msp and modul8 on the same computer. Normally i know how to use midi with other software but can't figure it out how to do that with that two softs.. thanx

RavenX

Posted: Mon Sep 03, 2007 9:34 pm
by Lupin
quite easy to map max/msp midi output to modul8
this this example i trigger two midi notes 40 and 50 alternatly on channel 2 every 1 second on Max program:

Image
you'll noticed that i have hiddent the link from the start bang to the channel number Box, keep in mind to link the bang checkbox to the num box linked to the noteout patch

then double click the noteout patch to select Midi device

ex:
Image

then open Modul8, go and create a new module then go to the DirectEvent script part( this where you can retrieve midi info)
the following code displays in the output script window the midi key sent by max msp.

Code: Select all

if type == 'MIDI'  and param['channel'] == 2 :
   print 'Midi Key from Max/MSP:' , param['param1']
   #then put the rest of your code here


That's it! now you are able to link you max/msp/jitter patchers to Modul8 modules

enjoy!

More...

Posted: Tue Sep 04, 2007 11:08 am
by morten_beta
Hi!

Could you be more specific. I am not the big programmer... I cant seem to select IAC driver in MaxMSP, I have tried to recreate your patch.

And the more specific path to where to put the code in M8.

Thanks a lot.
Morten_Beta

Posted: Tue Sep 04, 2007 1:07 pm
by Lupin
first open the audio/Midi panel from your osx system
double click on the IAC driver button and check that the driver is connected.
if your driver is connected, you'll be able to select the IAC port in your Midi patches.

then follow my instructions for Modul8 scripts

Got some of it!

Posted: Tue Sep 04, 2007 1:37 pm
by morten_beta
I got the Max part down...

But I can not get M8 to respond to the key-signals.
I have pasted your code, then I just chose a video-clip and pushed a key on the keybard (in max). Nothing happend.
Could it be that I have a demo version only?

Best
morten_beta

Posted: Tue Sep 04, 2007 1:39 pm
by Lupin
which version of Modul8 are you running?

Version

Posted: Tue Sep 04, 2007 1:57 pm
by morten_beta
I have a demo of v. 2.5.4.

Thanks for all your help by the way.

Morten_beta

Posted: Tue Sep 04, 2007 8:06 pm
by Lupin
i'm nto sure if you can download modules from the online library with the trial version. if you can you can download the printEventDirect (tool) from the GarageCube online Library

thanks to this tool you can monitor events inside M8 and check for instance any MIDI signal interpreted by M8

don't forget to activate the output script window

No...

Posted: Wed Sep 05, 2007 9:46 am
by morten_beta
Hi!

No, unfortunately that is not possible to do with the demo version... But my buddy has a license, but have deleted the app. so we are working on deauthorizing and moving the app. to another computer to install. Mayby then all will be fine.

morten_beta

Got a full!

Posted: Wed Sep 05, 2007 3:48 pm
by morten_beta
Got a full version on my machine.

But I still can not get M8 to react to Max...

I have downloaded the printDirectEvent lib. (not sure I understand how to work it).

So now I go to Modules/Editor/directEvent/ - then what? Here is some choices BACF, Media Keyboard and Text.

morten_beta