alize-speaker-recognition / android-alize-demo Goto Github PK
View Code? Open in Web Editor NEWDemo application for the Android version of ALIZÉ
Demo application for the Android version of ALIZÉ
Hi All,
When I am doing speaker verification test (from the "Test" button), sometimes the project will crash with the following error:
E/AndroidRuntime: FATAL EXCEPTION: main
Process: fr.univavignon.alize.AndroidALIZEDemo, PID: 4603
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:503)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Caused by: java.io.FileNotFoundException: [ FileNotFoundException 0xcc9855d0 ]
message = ""
source file = /home/duret/Dropbox/Alize/ferrone/android-alize/alize/src/main/cpp/alize-core/src/FileReader.cpp
line number = 101
fileName = /data/user/0/fr.univavignon.alize.AndroidALIZEDemo/files/prm/181109_113743_7337431a.norm.prm
at AlizeSpkRec.SimpleSpkDetSystem.createSpeakerModel(Native Method)
at fr.univavignon.alize.AndroidALIZEDemo.EditSpeakerModelActivity$4.onClick(EditSpeakerModelActivity.java:134)
at android.view.View.performClick(View.java:6597)
at android.view.View.performClickInternal(View.java:6574)
at android.view.View.access$3100(View.java:778)
at android.view.View$PerformClick.run(View.java:25885)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6669)
... 3 more
The error will not occur everytime, it will occur suddenly during one of our testing. When the error occur, all the speakers model that we have trained will be gone.
Another error that we faced is when we are saving the new speaker model after recording, the program will crash in the same way, but with a different error message as shown below:
E/AndroidRuntime: FATAL EXCEPTION: addSamples Thread
Process: fr.univavignon.alize.AndroidALIZEDemo, PID: 4975
java.io.IOException: [ IOException 0xe16625f0 ]
message = "Failed to parameterize audio file"
source file = /home/duret/Dropbox/Alize/ferrone/android-alize/alize/src/main/cpp/LIA_RAL/LIA_SpkDet/SimpleSpkDetSystem/src/SimpleSpkDetSystem.cpp
line number = 643
fileName = /data/user/0/fr.univavignon.alize.AndroidALIZEDemo/files/audio//181109_113931_474b456.audio
at AlizeSpkRec.SimpleSpkDetSystem.addAudio(Native Method)
at fr.univavignon.alize.AndroidALIZEDemo.RecordActivity$2.run(RecordActivity.java:237)
at java.lang.Thread.run(Thread.java:764)
Kindly advice on what could be causing this issue and how we can resolve it?
Regards,
Yi Yang
Hi
I'm unable to figure out where you are specifying the GMM parameters like the number of Gaussians, initializations, and max iterations?
It would be great if you could help in that regard.
Thanks
Hello,
I recently use the app, run OK. I can train my voice speaking between 5, 10 and 20 seconds.
The response is always negative over test (verification) and identification.
There is a good length for the training, verification and identification?
Something like:
Training: at least 20 seconds
Verification: at least 5 seconds
Identification: at least 10 seconds.
Thanks
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.