Advice on implementation 2

Posted on 2008-02-07
Medium Priority
Last Modified: 2010-03-30
I am trying to write a program in JAVA that can open a song from a file (this i can do) and detect beats in a song. When it detects a beat it should say that a beat hasbeen detected and also count the number of beats in the song. My concern is how to start this type of code. What is the logic of the program in stages. Speedy advice would be very much appreciated. It may also be useful to code in Matlab.
Question by:motolanix1

Accepted Solution

ansi-boy earned 500 total points
ID: 20841124
Taking a look at the Java sound API would be a good starting point.

Assisted Solution

James_h1023 earned 500 total points
ID: 20842064
Perhaps splitting the music down into different frequency bands could be useful and then maybe a fourrier transform which could be used to look at a time window and if a large increase in the appropriate frequency band is detected; i.e. a beat, it could be recorded.

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This video teaches viewers about errors in exception handling.
Suggested Courses

587 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