I have same question.
I can play mp3 with the following code with MCI
With MCI, I can get speed, get duration, play/ stop a *.mp3 file
but how to get mp3' beat?
what API must I use? I don't have imagine on it.
would you like to give me a clue?
thank you.
invoke MCIWndCreate,
hWin, 400000h,
WS_CHILD or MCIWNDF_NOOPEN or MCI_NOTIFY,
addr szMP3path
mov hMci,eax
pop eax ;For some reason 4 things are pushed onto stack unnecessarily
pop eax ;so they have to be popped off the stack to prevent crashing
pop eax ;Thanks to Ron Thomas for spotting that one!
pop eax
invoke MCIWndGetEnd, hMci ;GET END OF MP3(in MILI SECONDS)
invoke MCIWndPlay, hMci ;START PLAY
invoke MCIWndGetSpeed,hMci ;GET SPEED
Elmo,
Please do NOT revive very old topics (from 2005 in this case)
Instead if you have a question please take the time and create your own new topic.
OK BogdanOntanu,
I'm sorry. :red
it is best to create a new topic, and provide a link to the old one, if desired :U