Sebo

MIDIbox CV Clock Sync

8 posts in this topic

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.

Share this post


Link to post
Share on other sites

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
[/code]

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

Or can anybody confirm that it works at his side?

Best Regards, Thorsten.

Share this post


Link to post
Share on other sites

Thank you Thorsten!!!

Hope it can be solved :)

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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/mios/midibox_cv_v1_3.zip

Best Regards, Thorsten.

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

Hi Thorsten:

Problem solved. The clock is working great!!!

Thank you very much!!!

Share this post


Link to post
Share on other sites

Great! It's released now :)

Best Regards, Thorsten.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now