Jump to content


Photo
- - - - -

MIDIbox CV Clock Sync


  • Please log in to reply
7 replies to this topic

#1 Sebo

Sebo

    MIDIbox Addict

  • Members
  • PipPip
  • 116 posts
  • LocationArgentina

Posted 18 November 2011 - 22:30

Hi:
Recently I'm using more the clock output of the MIDIbox CV (firmware ver. 1.2a), and noted an anoying behaviour. My sequencer (SONAR) is sending MIDI Clock all the time (even when stopped), and MIDIbox CV y synced all the time, so is outputting Clock signal all the time, that's OK, when I hit start in my sequencer, the MIDIbox CV keeps outputting Clock, but not sync the division to the start of the sequencer. Let's say I configured the Clock of the MIDIbox to 24/12 ppqn, when I start the sequencer most times the clock is shifted from the the tempo of the sequencer. The shift could be anything between 1 ppqn and the division I set in the MIDIbox configuration (1/8 note in my example).
How could I reset the counter in the MIDIbox CV when a MIDI start message arrives?
Thank you.
Sebo
www.cosaquitosenglobo.com.ar
www.myspace.com/cosaquitosenglobo

#2 TK.

TK.

    MIDIbox Guru

  • Administrators
  • 12,450 posts
  • LocationGermany

Posted 19 November 2011 - 00:17

This seems to be a bug, but unfortunately I've currently no access to my hardware.
Please up this thread in 2 weeks if I haven't replied yet.

According to the source code the divider should be reset on an incoming MIDI start event:

    movlw   0xfa
    cpfseq  IRQ_TMP1, ACCESS
    rgoto CV_CLK_NotifyRx_NoStart
CV_CLK_NotifyRx_Start
    clrf    CV_CLK_DIVIDER, BANKED  ; clear clock divider (!)
    rgoto   CV_CLK_NotifyRx_Start_Cont
CV_CLK_NotifyRx_NoStart

but it seems that this doesn't work correctly anymore.

Or can anybody confirm that it works at his side?

Best Regards, Thorsten.
Posted Image Buy TK a Beer Disclaimer: buying TK a beer gets you absolutely nothing in return likesuchas firmware enhancements, technical advices and MIDIbox troubleshooting assistance.

#3 Sebo

Sebo

    MIDIbox Addict

  • Members
  • PipPip
  • 116 posts
  • LocationArgentina

Posted 20 November 2011 - 00:57

Thank you Thorsten!!!
Hope it can be solved :)
Sebo
www.cosaquitosenglobo.com.ar
www.myspace.com/cosaquitosenglobo

#4 Sebo

Sebo

    MIDIbox Addict

  • Members
  • PipPip
  • 116 posts
  • LocationArgentina

Posted 08 December 2011 - 05:30

Hi Thorsten:
Did you look at the sync problem?
I tried to look at the code but my programing skills are almost null.
Thank you.
Sebo
www.cosaquitosenglobo.com.ar
www.myspace.com/cosaquitosenglobo

#5 TK.

TK.

    MIDIbox Guru

  • Administrators
  • 12,450 posts
  • LocationGermany

Posted 11 December 2011 - 11:37

I wasn't able to reproduce this with Logic, but I noticed a missing feature: the divider wasn't cleared with a song position event.
If Sonar doesn't send MIDI start, but a song position event instead, then this is the reason.

Please try following version and give feedback:
http://www.ucapps.de...box_cv_v1_3.zip

Best Regards, Thorsten.
Posted Image Buy TK a Beer Disclaimer: buying TK a beer gets you absolutely nothing in return likesuchas firmware enhancements, technical advices and MIDIbox troubleshooting assistance.

#6 Sebo

Sebo

    MIDIbox Addict

  • Members
  • PipPip
  • 116 posts
  • LocationArgentina

Posted 12 December 2011 - 23:13

Thanks a lot Thorsten!!!
I will try it in next few days and report back.
Just a question: I always used MPASM to make the HEX file (I have to mod some things in the main ASM), can I still use it?
Sebo
www.cosaquitosenglobo.com.ar
www.myspace.com/cosaquitosenglobo

#7 Sebo

Sebo

    MIDIbox Addict

  • Members
  • PipPip
  • 116 posts
  • LocationArgentina

Posted 14 December 2011 - 04:37

Hi Thorsten:
Problem solved. The clock is working great!!!
Thank you very much!!!
Sebo
www.cosaquitosenglobo.com.ar
www.myspace.com/cosaquitosenglobo

#8 TK.

TK.

    MIDIbox Guru

  • Administrators
  • 12,450 posts
  • LocationGermany

Posted 18 December 2011 - 15:39

Great! It's released now :)

Best Regards, Thorsten.
Posted Image Buy TK a Beer Disclaimer: buying TK a beer gets you absolutely nothing in return likesuchas firmware enhancements, technical advices and MIDIbox troubleshooting assistance.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users