sendMidi problems
  • Vibber
    super8 member
    Posts: 166
    Joined: Tue Sep 20, 2005 1:02 pm

    sendMidi problems

    by Vibber » Tue Apr 14, 2009 11:30 pm

    Hi I'm trying to get a module to send a midi message and receive it in a Quartz Composer patch

    I have used google translate to try and understand this thread:

    http://translate.google.com/translate?p ... ry_state0=

    and I have made a module with this code



    ---- start quote ----

    EXAMPLE:
    In a small module, I put a button knob called "sendX.
    I define values as MIN 0, MAX: 127
    (eg lunch so it's 0 to 127)

    and the "script", more precisely in the "Message Event" I wrote:
    Code:
    if msg == 'sendX':
    vol = module.getValue ( 'sendX', 0)
    Modul8. sendMidi (u'Bus 1 ', 1,' CONTROL_CHANGE ', 1, vol)


    voila. M8 sends a MIDI signal on channel 1 ...
    ---- End quote ---

    Then I have started the IAC driver (put it online)
    Then I started midipipe and made a pipe with an Alist to try to inspect the result

    But nothign shows up in midipipe. What can I be doing wrong?

    Perhaps you could point me to a module that uses sendMidi correctly then I try if that works for me

Who is online

Users browsing this forum: No registered users and 6 guests