wsieroci / audio-recognizer Goto Github PK
View Code? Open in Web Editor NEWShazam in Java
Shazam in Java
For song id: 0
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at view.AudioRecognizerWindow$6.actionPerformed(AudioRecognizerWindow.java:469)
at java.awt.Button.processActionEvent(Unknown Source)
at java.awt.Button.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Freq is inited to LOWER_LIMIT(40). Then, the index geted is 0 with the method
// Find out in which range
public int getIndex(int freq) {
int i = 0;
while (RANGE[i] < freq)
i++;
return i;
}
Just one point in section 0.
The reflection like:
0 : 40,
1 : 41-80,
2 : 81 - 120,
3 : 121 - 180,
4 : 181 - 300.
Is this a bug or I just misunderstand?
Great work indeed! But there are some issues with your approach. You are trying to store a large chunck of data which is not a good approach. It would be better to use the similarity criteria like Jacard's Similarity etc. Apart from that there are issues with the application's Stop button.
Nevertheless, Great effort and clean Code!!
I was following this code to take some major concepts of audio fingerprinting. I pushed my customized audio files into this, but while trying to match, it was showing -1 every time. This means it is showing that the audio doesn't exist in the database each time I tried to match. Any possible solution to fix this?
Great demo code, thank you!
I was wondering if you have ever seen a way to have a FormatConversionProvider for a mp4 audio file? I was hoping to try your code on my own library, but with the defaults being mp4 instead of mp3, no such luck.
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: format conversion not supported
Hey dude can you please guide me how to use this.... can you please list steps in detail
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.