USB Midi Problem

2»

Comments

  • ...I forgot to mention that I'm using a macbook pro, as well
  • Same behavior on my iPAD when I connect the LXR directly using the camera connection kit: when using "littlemidi" the LXR sequencer speed looks more than doubled...
    Yeah I have the same experience with my iPad using beatmaker 2
  • Strange behavior... on USB Port with new firmware.
    I installed the new firmware 0.27. After the successful installing and the rebooting my LXR could not perform anything - if it was connected with USB to my macbook pro. The sequencer is not running. But when i shut down my macbook - the LXR could play and the sequencer is running. I tried this several times and the behavior is still the same.  If the LXR is connected to my macbook nothing works. If i disconnect the LXR  from the USB Port - the sequencer is running and the LXR itself works. I tried this also in different types. First LXR next the Mac or first the Mac next the LXR. Plug in the USB Port after booting Mac and LXR or before. It is always the same behavior.

    help us macusers please...
    And Thanks a lot!

    hex


  • hexhex
    edited December 2013
    ... i forgot...
    When the LXR is connected to my mac and the macbook is in booting or shutdown prozess - a loud high noise is hearable. is this a dc power problem?
  • edited December 2013
    I had never test the usb port and sequencing other gear before firmware 0.27.
    My experience on osx 10.6.8
    No problem to sync my DAW (renoise 2.8) with the midi out port of the LXR and a midi to usb interface. Notes are send but a note "off" is always send before a note "on", i will expect note on before a note off, renoise record the notes but no note off at all, strange. Is this a normal behavior?

    But with the USB port of the LXR to my Mac the same behavior as describe above. It seems to happen when i open the first application using the midi port of the LXR via USB or when i close the last application using de LXR (perhaps because the LXR is still sending notes and so) and it make the high sound or stop the sequencer. If i open or close an application that use the LXR USB while an other application is using it the LXR don't crash.
    The LXR don't send any clock message via USB or my computer don't receive any clock message.
    When i send clock from my DAW to the LXR, the LXR clock speed is too fast.
    A note "off" is always send before a note "on".


    Hope it helps a bit
  • The reason you see a note off before a note on is because the note off is from the previous sequencer step. you should see a note on when you first start the sequencer and it gets to an active step. then you should see a note off before the next active step plays followed by a note on for that step.
    As for the timing issue on Macs, I think this will only be solved when either Julian gets a Mac in his hands, or we can see what events are coming from the Mac. I'm working on midi thru code now. When it's done it might help as we can have one of the Mac people load midi ox, and take a dump of midi events sent by lxr usb interface.
  • Thanks for the explanations,
    So i made a few test with midi monitor on osx it's a bit like midi ox.
    The "…"  are juste to replacing Clock.
    My DAW (renoise 2.8) slaved to an external midi sequencer via midi to usb

    21:36:07.062    From Midi In 1    Start        
    21:36:07.090    From Midi In 1    Clock        
    21:36:07.092    From Midi In 1    Note On    1    A#5    127
    21:36:07.093    From Midi In 1    Note On    1    G#1    122
    21:36:07.119    From Midi In 1    Clock        
    21:36:07.120    From Midi In 1    Note Off    1    G#1    0
    21:36:07.121    From Midi In 1    Note Off    1    A#5    0
    ...     
    21:36:07.261    From Midi In 1    Note On    1    C1    127
    21:36:07.288    From Midi In 1    Clock        
    21:36:07.289    From Midi In 1    Note Off    1    C1    0
    ...  
    21:36:08.210    From Midi In 1    Stop    

    My DAW slaved by the LXR via midi to usb
        
    21:46:22.972    From Midi In 1    Clock        
    21:46:22.986    From Midi In 1    Start        
    21:46:22.988    From Midi In 1    Note On    1    D#3    100
    21:46:22.989    From Midi In 1    Clock        
    ...         
    21:46:23.217    From Midi In 1    Clock        
    21:46:23.238    From Midi In 1    Note Off    1    D#3    0
    21:46:23.239    From Midi In 1    Note On    1    D#3    100
    ...   
    21:46:23.364    From Midi In 1    Note Off    1    D#3    0
    21:46:23.365    From Midi In 1    Note On    1    D#3    100
    21:46:23.365    From Midi In 1    Clock

    My DAW sending clock as master via the usb to midi interface
     
    21:52:23.806    To Midi Out 1    Clock        
    21:52:23.825    To Midi Out 1    Start        
    21:52:23.825    To Midi Out 1    SysEx        Universal Real Time    6 bytes
    21:52:23.826    To Midi Out 1    Clock        
    21:52:23.827    To Midi Out 1    Song Position Pointer        0 0
    21:52:23.846    To Midi Out 1    Clock   
    ….   
    21:52:26.095    To Midi Out 1    Clock        
    21:52:26.096    To Midi Out 1    Stop        
    21:52:26.096    To Midi Out 1    SysEx        Universal Real Time    6 bytes
    21:52:26.096    To Midi Out 1    Clock       

    My DAW sending clock as master to the usb of the Sonic Potions LXR
          
    22:00:14.769    To Sonic Potions USB MIDI    Clock        
    22:00:14.788    To Sonic Potions USB MIDI    Start        
    22:00:14.788    To Sonic Potions USB MIDI    SysEx        Universal Real Time    6 bytes
    22:00:14.788    To Sonic Potions USB MIDI    Clock        
    22:00:14.789    To Sonic Potions USB MIDI    Song Position Pointer        0 0
    22:00:14.807    To Sonic Potions USB MIDI    Clock        
    ...        
    22:00:16.634    To Sonic Potions USB MIDI    Clock        
    22:00:16.635    To Sonic Potions USB MIDI    Song Position Pointer        0 0
    ...
    22:00:18.481    To Sonic Potions USB MIDI    Song Position Pointer        0 0
    22:00:18.499    To Sonic Potions USB MIDI    Clock              
    ...        
    22:00:18.903    To Sonic Potions USB MIDI    Clock        
    22:00:18.917    To Sonic Potions USB MIDI    Stop        
    22:00:18.917    To Sonic Potions USB MIDI    SysEx        Universal Real Time    6 bytes
    22:00:18.917    To Sonic Potions USB MIDI    Clock       
    ...
    The Sonic Potions LXR sending clock as master to the usb of the computer

    22:03:30.406    From Sonic Potions USB MIDI    Note On    1    D#3    100
    22:03:30.669    From Sonic Potions USB MIDI    Note Off    1    D#3    0
    22:03:30.669    From Sonic Potions USB MIDI    Note On    1    D#3    100
    22:03:30.800    From Sonic Potions USB MIDI    Note Off    1    D#3    0
    22:03:30.800    From Sonic Potions USB MIDI    Note On    1    D#3    100
    22:03:32.509    From Sonic Potions USB MIDI    Note Off    1    D#3    0
    22:03:32.510    From Sonic Potions USB MIDI    Note On    1    D#3    100

    The LXR seems to send no clock at all via usb, only notes.

    The LXR crash when the first or last application that use midi is open or close.
    I think is when osx open or close is MIDIServer.

    My DAW doesn't record the note off, but that's an other thing…
  • I think rudeogs suggestion for test with a MIDI through mode are our best hope (or me finding someone with a mac around here)

    I had a similar problem with the LXR shutting down when I unplugged the USB cable on windows, but this could be solved by removing the "go to standby without USB connection" command from STs USB library.

    But since the USB lib is a mess (which USB lib isn't?) It could be that there is another piece of code that will shut down the processor if the USB connection is dropped.

    I will look into this. For the lockdown there just is no other explanation. Since only the 2 data lines are used by the LXR, not the USB power.
  • the double speed problem sounds like some sort of MIDI hickup.
    Maybe the frames somehow are send twice by the MAC, causing the LXR to receive too many clock messages...
  • @julian:
    i have a ibook g4 with live 7 which i can reproduce the problem with.
    i can lend it to you to sort this out.
    i need it until 11.01.14, but after that you can keep it until you sorted out the problem.
    we could meet in ffm or i could bring it to you or you pick it up in wiesbaden or something...
  • Hi all, I have the same problem with the sequencer running to fast on the Mac and Live 9 with firmware 0.27. The tempo also changes when you pause the live sequence and then start it again, then its almost like triple to the original tempo, but that does not happen every time

    Theres no syncing problem on my old windows machine running live 9 as well.
  • @loderbast Wow! great offer. Maybe I will come back to this. I think I will have a look at alternative USB stacks first, since I have the feeling the one from ST is not very good and stable overall.
  • Hi Julian,

    I sent you an email which pointed out two potential imperfections in the USB MIDI driver, did you receive it?

    Best Regards, Thorsten.

  • Hallo ;-)

    are there any news concerning the USB probs with Mac Systems?
    Likewise i have although probs syncing the LXR to my MAC with Logic Audio via MDI Ports.
    The Sync is not in time...

    Thank for infos...

  • could one of the OSX users with the sync problems test this release?

    http://www.sonic-potions.com/public/FIRMWARE.BIN
    or
    https://github.com/SonicPotions/LXR/raw/master/firmware image/FIRMWARE.BIN

    I want to be sure it is fixed before I make an official announcement for this release.
    PLD made a suggestion for a possible fix and it seems to work now on his machine.
  • Hi
    Great! Sync works here now (OSX+Logic Pro 9) but if i want to trigger a soft synth via MIDI over USB in logic, it seems that random notes are not transmited. I tried it yesterday with 0.30 and it worked fine.
  • I mean it worked fine when i set the master BPM (Logic) to 30. It sounded extreme shity but, every note from the LXR was transmitted.
  • so the sync works
    but some notes send out from logic don't arrive at the LXR?
    or is it the other way round, LXR triggering the softsynth in logic skips notes?

    I'm currently trying to figure out whats wrong with the lxr->computer usb link.
    does it also happen when you turn the midi filter for realtime events (clocks) off?
  • The LXR is triggering the softsynth in logic. 
    Settings: 
    txf: N
    rxf: R
    bpm: 0

    I tried to set RXF to off and a bpm to non zero. Its the same problem. It skips notes, but not the same one each round. 


  • Same effect here using ableton, lxr => mac is glitchy and stops eventually... I'll take a look.

  • :-))
    Now everything is fine here. 
    Thanks Julian. 

  • great :)
    I just announced the new firmware officially
Sign In or Register to comment.