Questions tagged [musicg]

musicg is Lightweight Java API for audio analysing, Android compatible

musicg is Lightweight Java API for audio analysing, Android compatible

About

musicg is a lightweight audio analysis library, written in Java, with the purpose of extracting both high level and low level audio features.

This API allows developers to extract audio features and operate audio data like reading, cutting and trimming easily from an inputstream. It also provides tools for digital signal processing, renders the wavform or spectrogram for research and development purpose.

The API is Android compatible.

15 questions
5
votes
3 answers

Java compare two audio files with fingerprint

I want find out, if two audio files are same or one contains the other. For this I use Fingerprint of musicg byte[] firstAudio = readAudioFileData("first.mp3"); byte[] secondAudio = readAudioFileData("second.mp3"); FingerprintSimilarityComputer…
anatoli
  • 1,663
  • 1
  • 17
  • 43
4
votes
1 answer

Voice Recognition Api

I have got a java application. And I want to implement a voice recognition feature on it. Just like this: Assuming, I have got some records which are called "hey", "one", "two, "tea" by user. When he/she say "hey", voice recognition api should…
ziLk
  • 3,120
  • 21
  • 45
3
votes
1 answer

I'm not able to use FingerprintSimilarity from musicg library

I am trying to implement musicg library in my android project. I had successfully import it to my project and try to use it for comparing two audio files and get the symilarity between them. Here is my code : final String rootPath =…
ankushalg
  • 523
  • 3
  • 23
2
votes
0 answers

How do I mix two wave 16bit audio files in Android?

I successfully could mix two 8 bit files with the code below.(with compiled Musicg 1.4.2.0 jar lib) But when I try to mix two 22050 (sample rate) and 16bit files the resulting file plays faster. Tried everything in the header code or in the mix…
Sktsalad
  • 23
  • 4
2
votes
0 answers

How to compare two wave audio files and generate score?

What I tried: I try to compare(fingerprint) two audio songs(with out background music) by using musicg API. The code is like below: file1.wav is master file and file2.wav (vice-versa) is recorded file, both are sung by same person(without background…
Chandra Sekhar
  • 16,256
  • 10
  • 67
  • 90
1
vote
1 answer

Fingerprint matching using wave files

import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.widget.Toast; import com.musicg.fingerprint.FingerprintSimilarity; import com.musicg.wave.Wave; import…
D.Soni
  • 11
  • 4
1
vote
1 answer

Musicg library for Clap Detection not working android

I am using musicg library for clap detection but whenever starts activity it shows continuous detection of clap without any clap. I thought that there is some value issue with bit rate or frame size. This is my code RecorderThread.java public class…
Tecksky Android
  • 133
  • 3
  • 14
1
vote
0 answers

How can I modify WhistleApi for another sound

I want to modify WhistleApi to use for another sound that I want to detect. I want to know how I can define the value of these attributes and how to detect. public WhistleApi(int sampleRate, int bitsPerSample, int channel) { …
bigcenima
  • 73
  • 1
  • 5
0
votes
0 answers

Musicg audio fingerprint to wave file

I am using musicg to compare audio files and saving the fingerprint prior as a text file makes it far quicker. So for example. byte [] secondPrint = Audio.newManager.getFingerprintFromFile("File Path"); However, can I convert the fingerprint back…
0
votes
0 answers

musicg convert audio fingerprint to wav file

I have a program as such package com.mycompany.audiofile; import com.musicg.fingerprint.FingerprintManager; import com.musicg.fingerprint.FingerprintSimilarity; import com.musicg.fingerprint.FingerprintSimilarityComputer; import…
0
votes
1 answer

why fingerprintsimilarty in my code does not work?

I'm creating an application to recognize the sound of two wave files, for doing this I have found that "Musicg" library is used for that purpose. so I just write a simple code into my project to see if the sound are similar or not, but when I run…
0
votes
1 answer

DetectionAPI supports mono Wav only

I am working on a clap detection android app. i am using musicg api for this. I imported the project from github and run on android device. then this error shows - DetectionAPI supports mono Wav only the detail LogCat is- DetectionAPI supports mono…
Sagar Nayak
  • 2,138
  • 2
  • 19
  • 52
-1
votes
1 answer

How can I solve the error of the "no such a directory or file"?

I have this simple code, but when I run, I get an error of not such a directory or file! how can I solved I tried many ways none of them works!! can anyone help? public static void main (String [] args) { String songA =…
-2
votes
1 answer

How to solve java.lang.NoClassDefFoundError exception in Android Studio?

I am creating a project in Android Studio using LibGDX, musicg and jlayer. The problem is when using any class from these libraries in the core project the error java.lang.NoClassDefFoundError appears. I have the libraries in jar on the folder libs…
Llop
  • 1
  • 3
-3
votes
1 answer

Musicg library not working for mp3 , rm , wma

I am trying to build song matching app . The android app would read music files and generate a fingerprint and send this to server. Server wil verify the fingerprint against its database of fingerprints to get highest matched similiarity. For this I…
Manas Saxena
  • 2,171
  • 6
  • 39
  • 58