1,105,546 Community Members

Sound analysis programming language

Member Avatar
ana_eht
Newbie Poster
20 posts since Mar 2010
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
1
 

Hi everyone
This year i have to develop my final year project.
Actually I'm thinking about a software that help people with music. it has several different parts as well as a "Testing" part. For this one I want to have sound input from the user via microphone and then analyze it, to find out info like which note it is and how long it lasted...
Can someone please tell me what programming language does support sound analysis or what library I can use for it (for java for example)..
I have done lots of searching but I could not find my answer.
thanx.

Member Avatar
joehms22
Junior Poster
109 posts since Jan 2010
Reputation Points: 18 [?]
Q&As Helped to Solve: 21 [?]
Skill Endorsements: 0 [?]
 
0
 

A bump might help here too.

You might want to check out audiooop in Python:
http://docs.python.org/library/audioop.html

Other than that, you might be able to check out how it is done in some of the free speech recognition softwares, like sphinx.

- Joe

Member Avatar
Rashakil Fol
Super Senior Demiposter
2,596 posts since Jun 2005
Reputation Points: 982 [?]
Q&As Helped to Solve: 209 [?]
Skill Endorsements: 42 [?]
Team Colleague
 
1
 

Java, C++, C#, any of those would be appropriate. With Python you have to deal with the fact that any code you write yourself will be very slow.

Member Avatar
joehms22
Junior Poster
109 posts since Jan 2010
Reputation Points: 18 [?]
Q&As Helped to Solve: 21 [?]
Skill Endorsements: 0 [?]
 
0
 

Java, C++, C#, any of those would be appropriate. With Python you have to deal with the fact that any code you write yourself will be very slow.

I'd entirely agree with this, but you will have the same problem with any interprited language being slow; both Java and C# are also run on virtual machines, the best you're going to get with that is someone that is using a JIT compiler, which is available for each of these three platforms in its own way, or using native compiled libraries (like the library I sent you, which was written in C or C++ originally and a wrapper provided); this is probably not a big deal if you aren't processing huge amounts of data (and as a single project you probaly won't be) but it certainly does become important if your software were to run continuously on a machine or if you want to support any kind of legacy hardware.

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: