fabricio Posted June 1, 2006 Report Share Posted June 1, 2006 Nobody ??? Quote Link to comment Share on other sites More sharing options...
stryd_one Posted June 1, 2006 Report Share Posted June 1, 2006 Clockbox ??? Quote Link to comment Share on other sites More sharing options...
audiocommander Posted June 2, 2006 Report Share Posted June 2, 2006 AFAIK midi clock is sending 96 pulses per beat.stryd_one is right, I think clockbox shows bpm values. Quote Link to comment Share on other sites More sharing options...
fabricio Posted June 2, 2006 Author Report Share Posted June 2, 2006 OK, Ok sorry for the double postsorry for the smiley (i never utilise it)thank you for your answerThe problem with clockbox : it donesn't receive midi clock just SendMonitor is good but in assembler.So i'm swimming a littlethanks FAB Quote Link to comment Share on other sites More sharing options...
stryd_one Posted June 2, 2006 Report Share Posted June 2, 2006 Yeh sorry about the wrong answer but to be honest I didn't really think about it that much. The double post was a bit off.So what's wrong with MIDIMon? Quote Link to comment Share on other sites More sharing options...
fabricio Posted June 2, 2006 Author Report Share Posted June 2, 2006 I don't want all the monitor application. I just want the code who convert received midi clock(0xF8) into BPM.For include in application who i'm writing. After converting midi clock into bpm, i want to display the BPM on LCD screen.excuse me for my english(cause i'm french).Thanks a lot. FAB Quote Link to comment Share on other sites More sharing options...
audiocommander Posted June 2, 2006 Report Share Posted June 2, 2006 I actually enjoyed the smiley ???;DBut you haven't looked at the clockBox source in detail, haven't you?=>void MCLOCK_BPMSet(unsigned char bpm);unsigned char MCLOCK_BPMGet(void);unsigned int MCLOCK_GetTimerValue(unsigned char bpm);It's all there, the formula, the cycles, ASM-optimized divisions... you just need to crunch it down to your needs and implement a MIDI-Event notification that substitutes or calls void MCLOCK_Timer();;)Michael Quote Link to comment Share on other sites More sharing options...
fabricio Posted June 2, 2006 Author Report Share Posted June 2, 2006 Ok, i try thatthanks FAB Quote Link to comment Share on other sites More sharing options...
fabricio Posted June 2, 2006 Author Report Share Posted June 2, 2006 I don't understand how too utilise this functions for receive midiclock and convert in into BPM. Can i have a short example.thank you FAB Quote Link to comment Share on other sites More sharing options...
audiocommander Posted June 2, 2006 Report Share Posted June 2, 2006 Well, the code is commented very well and explains nearly everything. I understand it does not exactly what you want, but basically it's all there, you just have to use the snippets that are relevant for your needs or implement clock_receive() handlers (which would be a good point to get help from us, because I see that is something more people might request).If you don't understand anything, this might be a bit too complex thing to start with, because divisions (esp. with high numbers) need mixed ASM code and I have to admit that there are some lines I don't understand either, but to be honest: everyone has to fight with some lines of code. Don't give up so fast!All I can say is: the code is there, you just have to use it.If you have specific questions and I know the answer, I might help, but I'm not going to do all the work for you (at least not now, maybe in a few months when my other projects are finished ;) )Good Luck!Michael Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.