How to map M8 with max/msp
  • RavenX
    junior Member
    Posts: 1
    Joined: Thu Aug 09, 2007 5:28 pm

    How to map M8 with max/msp

    by RavenX » Thu Aug 09, 2007 5:38 pm

    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
  • Lupin
    garageCube team
    Posts: 383
    Joined: Fri Aug 18, 2006 12:37 pm
    Location: France
    Contact:

    by Lupin » Mon Sep 03, 2007 9:34 pm

    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!
    Gael Abegg Gauthey (former known as Lupin)
    https://www.linkedin.com/in/abegg-gauthey/
  • morten_beta
    member
    Posts: 11
    Joined: Mon Sep 03, 2007 2:49 pm

    More...

    by morten_beta » Tue Sep 04, 2007 11:08 am

    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
  • Lupin
    garageCube team
    Posts: 383
    Joined: Fri Aug 18, 2006 12:37 pm
    Location: France
    Contact:

    by Lupin » Tue Sep 04, 2007 1:07 pm

    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
    Gael Abegg Gauthey (former known as Lupin)
    https://www.linkedin.com/in/abegg-gauthey/
  • morten_beta
    member
    Posts: 11
    Joined: Mon Sep 03, 2007 2:49 pm

    Got some of it!

    by morten_beta » Tue Sep 04, 2007 1:37 pm

    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
  • Lupin
    garageCube team
    Posts: 383
    Joined: Fri Aug 18, 2006 12:37 pm
    Location: France
    Contact:

    by Lupin » Tue Sep 04, 2007 1:39 pm

    which version of Modul8 are you running?
    Gael Abegg Gauthey (former known as Lupin)
    https://www.linkedin.com/in/abegg-gauthey/
  • morten_beta
    member
    Posts: 11
    Joined: Mon Sep 03, 2007 2:49 pm

    Version

    by morten_beta » Tue Sep 04, 2007 1:57 pm

    I have a demo of v. 2.5.4.

    Thanks for all your help by the way.

    Morten_beta
  • Lupin
    garageCube team
    Posts: 383
    Joined: Fri Aug 18, 2006 12:37 pm
    Location: France
    Contact:

    by Lupin » Tue Sep 04, 2007 8:06 pm

    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
    Gael Abegg Gauthey (former known as Lupin)
    https://www.linkedin.com/in/abegg-gauthey/
  • morten_beta
    member
    Posts: 11
    Joined: Mon Sep 03, 2007 2:49 pm

    No...

    by morten_beta » Wed Sep 05, 2007 9:46 am

    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
  • morten_beta
    member
    Posts: 11
    Joined: Mon Sep 03, 2007 2:49 pm

    Got a full!

    by morten_beta » Wed Sep 05, 2007 3:48 pm

    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

Who is online

Users browsing this forum: No registered users and 14 guests