|
-
Mar 23rd, 2003, 09:43 PM
#1
Thread Starter
Junior Member
Seeking advice from a Pro in C or C++
Can you help me define what it is I need?
First off, I'm looking for something written in C or C++ that can be used in VB6.
I have a small media program that requires an *.avi file to loop endlessly. Now, it can be simply done in Vb except that I need the quality and precision that the proffessional recording programs from CakeWalk and Sonic Foundry have.
Somehow, they are able to loop an *.avi or wave file using midi time code. This offers greater precision in looping because instead
of operating in milliseconds or frames (the timer in VB6), it runs on BPM(beats per minute) and I don't believe that can be done in VB6.
I'm looking for a programmer in C and would like to be a bit more specific: do I need a *.dll, *.ocx or activeX.
And is this possible?
Any help and advice would be greatly appreciated....rluka
-
Mar 24th, 2003, 12:47 PM
#2
Of course it is possible. But it sounds like a high-performance job, maybe the whole thing should be done in C++...
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Mar 24th, 2003, 05:09 PM
#3
Thread Starter
Junior Member
I guess what I'm trying to find out is this. Am I heading in the right direction by trying to sync an *.avi file to MTC(midi time code)? Is this how its done in Pro recording software?
Thanks for your reply..rluka
-
Mar 25th, 2003, 11:42 AM
#4
What you need is the mulitmedia timer, the time* and QueryPerformanceTimer functions. Those have the precision you need.
Nothing really to do with MIDI there.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Mar 28th, 2003, 01:39 PM
#5
Thread Starter
Junior Member
Okay
So you say the timer is what I need and that is what I have been having problems with all along. I have examples of precision timing in VB and it doesn't work because the timer uses milliseconds and I need the precision of BPM(beats per minute) which as far I know is only available through MTC(Midi Time Code).
It was suggested that I byepass mci altogether but I'm not an experienced enough coder so that why I'm looking for someone who can do this. A coder with 10 years experience in C++ programming in multimedia just dropped my project because he said it was too hard.
So, I'm looking for real answers from experienced coders please.
-
Mar 29th, 2003, 04:49 AM
#6
I said, use the multimedia timer. It was written with MTC in mind and is used to control the MTC.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Mar 30th, 2003, 01:28 AM
#7
Thread Starter
Junior Member
Sorry for sounding rude. Everytime I hear the word timer I want to start screaming. I' m a musician thats new to VB programming
and I didn't think it would be this dififcult. I have some excellent examples in VB using the timer with near perfect precision in WinXP but when I run it in Win98 it just craps out. So are you saying that the multimedia timer is different than the windows timer that is used in VB?
I have also heard that directX would also be a better way to go.
Thanks very much for responding and again I 'm sorry for appearing rude.
-
Mar 30th, 2003, 12:49 PM
#8
Exactly that. The multimedia timer is NOT the same as the timer control.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|