Implementing System Realtime msgs


    Mar 08 2006 | 7:14 pm
    Hi to all,
    I have an external sequencer unit (Korg Electribe) and I am trying to get MAX to act as a master clock, so that the Electribe is running as a slave in sync to whatever material I am using in MAX.
    I have the MIDI implementation chart for the electribe and it can run as a slave if set to external clock source. I am aware that I need to send it system real time messages, then start/stop the clock to make it run.
    How on earth do i implement this in MAX? I can't find anyone who has a clue or has done this before!!!
    Do I just set up a counter with a metronome attached, sending out continuous bangs? If so, how do I make the electribe recognise these bangs as MIDI clock messages? How do I send START/STOP messages?
    PLEASE HELP!!!
    Alec J P

    • Mar 08 2006 | 7:57 pm
      Hi Alec,
      I posted this a week ago:
      The MIDI byte 248 belongs to the class of real time messages. This
      means they are accepted at any time at high priority. The receiving
      device being in external sync mode and in play mode (e.g. the
      drummaschine) goes immedialely to the next 96th of the bar after
      receiving the clock byte 248. This is no reference for the absolut
      position just a continious time grid of 96th notes. The song position
      can be transmitted by the song position pointer, see page 28 of Max
      getting started pdf.
      See the sync~.help file for an implementation example
      Falk
    • Mar 09 2006 | 1:13 am
      Hi there
      Thanks for the pointers, I have found the patch:
      It seems from looking at the other thread this came from, that it is what i'm looking for...
      However, I know how to save patches I make as a txt file but have no idea how to convert txt files to patches. When you refer to page 28 of the Getting Started .pdf, is this where the solution is supposed to be?
      I looked through the file menu commands and found no way of converting the txt file to a max patch. How is this done?
      Also, I when I type in sync~, it says "no such object" in the MAX window.
      Just one more thing...
      When you refer to sending MIDI byte 248 to the external sequencer, how do I send it out. Does it involve sxformat, midiout or what?
      I would be very grateful for anyones assistance on this matter!!! :)
    • Mar 09 2006 | 7:53 am
      Just copy the text.....
      In the filemenu in MAX choose New From Clipboard
      That's it...
      Sometimes if it wont work....try copying the TEXT to an empty TEXT document, and remove the space in front of each line.....
    • Mar 09 2006 | 9:19 am
      So can this only be done on a mac then? I have windows and I don't have the option "New From Clipboard" in the file menu.
      Is there some way of doing it in windows, or some sort of workaround?
      Thanx
    • Mar 09 2006 | 9:28 am
      New from clipboard was added in max 4.5.5 AFAIR. mac and Windows. If
      you upgrade to the latest version you will have it. If not, add
      max2;
      as first line of the text, and
      pop;
      as last one. Now you will be able to open as a Max patch saves as
      text. I don't necessarily exactly remember the syntax out of the top
      of my head, so open an existing patch as text, and copy first and
      last lines to make sure that you get it right.
      Best,
      Trond
    • Mar 09 2006 | 10:55 am
    • Mar 09 2006 | 11:21 am
      Thank you to all who have tried to help - now i'll try to get on with my project!
      Hope i dont have to make any more posts on this thread!!! :-)
    • Mar 09 2006 | 11:18 pm
      Alec Pritchard wrote:
      > Thanks for the pointers, I have found the patch:
      > Also, I when I type in sync~, it says "no such object" in the MAX
      > window.
      Which version of Max are you using? If its an older one, put it into
      your signature ;-)
      I found more and more patches sent to the list need Max 4.5. Though most
      of my patches could run on older versions, and have been made in the
      first place with older versions, alone one object like patcherargs is
      now in almost any patch I make. But its 4.5...
      I might start a little hacking to replace some of the new objects with
      abhaXions for those who are still on pre 4.5, but with patcherargs its
      hard to get the same behaviour. It would only work partially.
      > When you refer to sending MIDI byte 248 to the external sequencer,
      > how do I send it out. Does it involve sxformat, midiout or what?
      Yes, midiout.
      --
      [][] [][][] [][] [][][]
      [][][][][][][][][][][][][][][]
      Stefan Tiedje
      Klanggestalter
      Electronic Composition
      &
      Improvisation
      /~~~~~
      \ /|() ()|
      ))))) )| | |( \
      /// _/)/ )))))
      ___/ ///
      -------------------------x----
      --_____-----------|-----------
      --(_|_ ----|-----|-----()----
      -- _|_)----|-----()-----------
      ----------()------------x-----
      14, Av. Pr. Franklin Roosevelt,
      94320 Thiais, France
      Phone at CCMIX +33-1-57 42 91 09
    • Mar 10 2006 | 11:53 am
      Thank you for the suggestions...
      So, what functionality does patcherargs have?
      I'm on the verge of upgrading and will do so soon cos i'm getting left behind a bit!
      I'v managed to control my external sequencer using midi bytes 248, 250 and 251 (sent out of midiout) in conjunction with the tempo object. Seems to be working well, so I'm sorted for now!
      Cheers
      Alec J P