Click here to Skip to main content
16,004,602 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I'm working in VB 6. I have an mp3 playing, and I want the next song to begin playing if the volume level of the current song drops below a certain level in the MP3 file at the end of the song. So I want to scan backward from the end of the file and check the volume level of each frame for the correct volume to start the next mp3 playing. It's sort of a cross fading function that's based on volume level instead of an arbitrary number of seconds.

I also need to do this when the song loads, not as it's playing. Can it be done? Any help is appreciated.

Basically, I just need to know how to read the volume level of an mp3 at any given frame. I know how to do everything else.
Posted
Updated 21-Nov-11 11:06am
v2

1 solution

 
Share this answer
 
Comments
Kevnar 14-Dec-11 0:58am    
This is acting as a volume control setting for the overall sound output. What i need is something that reads an mp3 file and tells me the volume level of any given frame of the song. That way, if the volume level drops below a certain level at the end of the song, the program knows to start the next song to fill in the dead air.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900