Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Real Time Beats Per Minute Counter

Posted on 1999-06-28
5
Medium Priority
?
1,033 Views
Last Modified: 2013-11-18
This a multimedia question.

I wish to obtain working code or help regarding extracting the number of Beats per minute a song/track playing through my 'audio in' on my sound card is currently producing in real time.  Hope that makes sense.

I don't wish to purchase a full blown midi package or sample software that requires you to first save the sound sample, then convert to beats per minute.  All I wish to do, is to have this program display the current bpm of the track I'm currently playing displayed in a dialog or something similar in real time.  I have been looking for a utility for ages, but have come up with nothing. I also do not want to tap the space bar along to the beat of the track to get the bpm as some utilities offer.  I won't have a keyboard left after a while!

Please help guys.  Thanks
0
Comment
Question by:carlpaddick
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 

Accepted Solution

by:
Floater earned 600 total points
ID: 1198612
Sounds like you need something that will sample/analyze the sound in real time.  Take samples, analyze the frequency breakdown, notice spikes in the bass (whatever the beats are coming in on), and take 1/(the time between them) == beats per second.  You might be able to find source for something like this from a winamp plugin;  I think they do a graphic equalizer thing that does a frequency breakdown for display.
0
 

Author Comment

by:carlpaddick
ID: 1198613
You have diagnosed exactly what I want to do Floater.  Your the first person to understand the problem too!  The source from the Winamp plugin sounds really useful.  Do you know where I can get hold of it, and what it is written in.  I'm an MFC developer so would be looking for an MFC answer hopefully.  "Boo!" I hear you say, "get over to MFC guys", but I do have points on offer!  Thanks in advance Floater
0
 

Expert Comment

by:Floater
ID: 1198614
I assume you're a DJ trying to sync tracks... I think this is what you're looking for:
http://www.winamp.com/winamp/plug-ins/detailplugins.phtml?res_id=1361&ver=
It's described as
"DJ plugin - for beatmixing MP3s (realtime)"
That do it?
(If that link doesn't work, go to www.winamp.com, the plug-in downloads section, it's under effects)
0
 

Author Comment

by:carlpaddick
ID: 1198615
Cheers Floater,

Sorry for the delay in getting back to you, but I have been trying to understand the Winamp code.  This sort of seems to do the trick with a bit of customization of course.  I will let you know how I get on.  Here are your points.
0
 

Expert Comment

by:Floater
ID: 1198616
You might be able to use WinAmp as-is.  I think it has an option to use the line-in as a source.  If so, that plugin will work without modification.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question