I need to modify pitch or tempo of an audio, but need to do them separately. Is there any example in Android for that or any library which provides support for Android.
I want to avoid using NDK/JNI for this, since I am not that good into it.
I have already seen Many libraries, although they have a nice tutorial, but I am unable to import them to Eclipse Android project. Help is appreciated :-)
you could try Tarsos !
Here some cool demo links from Tarsos:
http://0110.be/posts/Phase_Vocoding%3A_Time_Stretching_and_Pitch_Shifting_with_TarsosDSP_Java
http://0110.be/posts/Pitch_Shifting_-_Implementation_in_Pure_Java_with_Resampling_and_Time_Stretching
Related
I follow up on this article: TarsosDSP with Android
I am trying to implement an android application that reads mp3 files and processes them using WEKA.
The TarsosDSP seems to be a good step in the right direction, especially since the Berkley guys seems to have implemented a fork with android.
When I tried downloading their source code here: TarsosDSPAndroid Source Code
I still found a lot of references to javax.sound, which is kind of counter-productive.
So is something mixed up with their uploaded source code or am I looking in the wrong place?
Perhaps some background to what I am trying to accomplish overall:
I am writing an Android App that will read the entire mp3 library, and using WEKA and pre-loaded test-groups will classify each song to appropriate genre.
The part of reading the mp3 library is all done and so is the classification using WEKA, now I am stuck in joining them up - What seemed to be working fine using jAudio in a java project doesn't work for android because of the dependency in javax.sound, so I am trying to bypass that using a different library that works for android.
Thanks in advance!
-Alex
Version 2.0 of TarsosDSP supports Android out of the box. There are no more dependencies on javax.sound.*. This makes it a lot more easy to work with on Android. There is even an TarsosDSP Android jar file that can be included in your project directly.
I would like to edit an audio file. As java doesn't support voice libraries(according to my knowledge), I would like to use juce library for this.
From some resources found in google, I came to know that we can do it using introjucer..
but i couldn't find proper tutorials for making android projects using introjucer. Can anyone help me out with this? Please correct me if i've misinterpreted any concept.
Best Useful library for audio editing is ringdroid: https://code.google.com/p/ringdroid/
Android Audio reference.
http://developer.android.com/reference/android/media/AudioTrack.html is the Android API for handling audio at the lowest level.
Second check out this -> Getting started with programmatic audio
If you dont want to use ringdroid.
Juce Hello world Tutorial : http://jucevst.wordpress.com/2011/08/17/hello-world-with-juce-actually-making-something/
Juce Beginner Tutorial: http://www.rawmaterialsoftware.com/viewtopic.php?f=13&t=10953#p61988
I need to develop a facial features detection application by which I could be able to detect eyes,nose,lips,head along with its face. For this I opted for OpenCV. I had gone through many tutorials and also sample projects. There I could see the usage of haarcascade files through which I could detect the facial features while recording a video. As I know the location of haar cascade file.
But no site could tell me the complete implementation of haarcascade files in OpenCV android project.
Kindly provide me some sites regarding or give me some brief knowledge regarding the same.
That is a good approach for detecting faces using openCV. Since you are using android, you will probably not find code written in java but you can always modal it to work on android too. This is what I believe is the best approach. http://docs.opencv.org/master/d7/d8b/tutorial_py_face_detection.html#gsc.tab=0
http://docs.opencv.org/modules/contrib/doc/facerec/facerec_tutorial.html
This is another detailed use of different approaches using OpenCV.
Hope it helps, if you need help in changing the code you have to post what you've done so far and then I would be happy to help! Cheers!
I am working on a android audio project which requires BPM tracking. I decided that writing my own would not be a good idea and after looking around, I found a few libraries that does BPM tracking such as aubio, vamp, echonest etc. Out of the lot aubio seemed a good choice. The problem is I cannot find good documentation that can help understand how I can use the library, such as, what sort of input audio formats are compatible (should i pre-process the audio before passing it to the function), etc.
Can you point me to some documentations or implementations of aubio to some open source projects (on android would be a bonus).
If you think there is an easier way (another algorithm/library) to port on android (preferably in c), let me know.
Thanks.
I used the make files provided with aubio to cross compile it for android. I followed some tutorials such as this which shows how to cross compile open source libraries. As for the documentation for aubio, i just used it several times to understand how it works (i studied how the examples worked) and read the phd thesis of the author to get a rough idea on the technical stuff.
I have now admitted defeat that you cannot use/build a good audio pitch function without using the NDK. Now my question is does anyone know of any good pitch changing code either in a library or some source code for the NDK?
You could have a look at the MicDroid app that does auto-tune, sources available on GitHub: https://github.com/intervigilium/MicDroid
some more info here:
http://forum.xda-developers.com/showthread.php?t=721388