Basically, I’m trying to build an iphone/Android app that will take a stream voice signal from the mic and adds some effects to it (like a voice changer app. so as you speak your voice will be pitched down for example). So the question here, I’m i in the right place? experts please guide me on how to start because i already wasted my time learning about libraries to do not implement my idea of the app.
- dobkhn asked 7 years ago
okay i tried to recompile using Cygwin then run it in my phone and i got this error:
i also learned about "make" and how to set it up:
http://cs.nyu.edu/rgrimm/teaching/fa05- … -make.html
** So far the example runs IFF i comment the cBegin() method and the next line. it would be really helpful if you do a little video about how i would solve the problem … i spent about a month trying to get it to work … it’s just hard.
I see you are getting FMOD_ERR_FILENOTFOUND, this means you are trying to load files that you have not copied to the device.
Please note section 4 of "Running Examples" in "Getting started with FMOD for Android.pdf":
- Copy all the files from the two sets of example media "examples\media*" and
"fmoddesignerapi\examples\media*" to a folder called ‘fmod’ in the root of the SD card.
Yes you can achieve something like that with FMOD.
The basic idea is start a looping record, wait a little bit, then start playing the recoded sound. The small gap is so there is some distance between the record and play positions. Now you are playing your voice in realtime. If you want you can add DSP effects as you would to any FMOD channel to alter the sound of your voice.
thank you very much man , i have a problem though. I installed the NDK and the recording example is built completely without error, but the thing is when i run it in my phone it crashes right a way … it doesn’t even show the application interface. I tried so with emulator and another android phone and the problem still there. I also tried to comment everything out in the example.java file, yet the app crashes.
i followed the steps in the manual but some of them don’t apply to my version of eclipse. more accurately, this step : "Ensure appropriate environment variables are set on your machine or in the project via:
Project -> Properties -> C/C++ Build -> Environment -> Add
ANDROID_NDK_ROOT = C:\Android\ndk "
please guide me on how I successfully run the example app.
yay!!!!!!!!!!!!!!! thankssss it worked 😀
alright in this following code i have a stream audio object… so buffering from the mic to speakers with minimal delay… how would i include a .fev file that modifies this stream?
and thanks again 😀
alright i tried to work with the recording example that you guys shipped with FMOD but there is a problem on:
1- making smaller buffer size.
2- having the sound play simultaneously with the record
with the java code i provided … the app record and play with latency of less than 4ms … is there a modification i need to do to the main.c to make it work like the android function?
well examples aren’t running… they do build successfully but when launching the application it just crashes i’m using 64bit win7 …. look at the snapshots:
As you can see the library is linked !!
here is how i added it:
1- Create a new folder, libs, in your Eclipse/Android project.
2- Right-click libs and choose Import -> General -> File System, then Next, Browse in the filesystem to find the library’s parent directory
Click OK, then click the directory name (not the checkbox) in the left pane, then check the relevant JAR in the right pane. This puts the library into your project (physically).
3- Right-click on your project, choose Build Path -> Configure Build Path, then click the Libraries tab, then Add JARs…, navigate to your new JAR in the libs directory and add it. (This, incidentally, is the moment at which your new JAR is converted for use on Android.)
Thanks a lot for your help.
To link with the logging version of FMOD:
1. Modify the Android.mk file for the example, change libfmodex.so to libfmodexL.so and fmodex to fmodexL
2. Modify Example.java, change System.loadLibrary("fmodex"); to System.loadLibrary("fmodexL");
there is nothing in the logcat screen and no errors … but still crashes without message on the phone this time!
i have to comment these two lines in order to load the app’s GUI but then crash when i press buttons… have a lock at the screenshots:
i tried this method: http://mindtherobot.com/blog/452/androi … p-by-step/
but still doesn’t work 😥
Please login first to submit.