0
0

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.

  • You must to post comments
0
0

okay i tried to recompile using Cygwin then run it in my phone and i got this error:

[url=http://img856.imageshack.us/i/newpicture4n.png/:144mo8k0][img:144mo8k0]http://img856.imageshack.us/img856/6232/newpicture4n.png[/img:144mo8k0][/url:144mo8k0]
[url=http://img825.imageshack.us/i/newpicture6e.png/:144mo8k0][img:144mo8k0]http://img825.imageshack.us/img825/2177/newpicture6e.png[/img:144mo8k0][/url:144mo8k0]
[url=http://img267.imageshack.us/i/newpicture5w.png/:144mo8k0][img:144mo8k0]http://img267.imageshack.us/img267/111/newpicture5w.png[/img:144mo8k0][/url:144mo8k0]
[url=http://img820.imageshack.us/i/newpicture8wq.png/:144mo8k0][img:144mo8k0]http://img820.imageshack.us/img820/8098/newpicture8wq.png[/img:144mo8k0][/url:144mo8k0]
[url=http://img215.imageshack.us/i/newpicture7b.png/:144mo8k0][img:144mo8k0]http://img215.imageshack.us/img215/276/newpicture7b.png[/img:144mo8k0][/url:144mo8k0]

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.

  • You must to post comments
0
0

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":

  1. 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.
  • You must to post comments
0
0

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.

  • You must to post comments
0
0

okay here is a better screenshot i guess:

[url=http://img535.imageshack.us/i/newpicture9n.png/:2f2a4585][img:2f2a4585]http://img535.imageshack.us/img535/5788/newpicture9n.png[/img:2f2a4585][/url:2f2a4585]

  • You must to post comments
0
0

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.

Thanks ๐Ÿ˜†

  • You must to post comments
0
0

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?

[url=http://img849.imageshack.us/i/newpicture10g.png/:370iplfs][img:370iplfs]http://img849.imageshack.us/img849/7721/newpicture10g.png[/img:370iplfs][/url:370iplfs]

and thanks again ๐Ÿ˜€

  • You must to post comments
0
0

Can you post the details of your crash and the version of Eclipse you are using?

Can you confirm that the Android NDK examples are working on your device?

  • You must to post comments
0
0

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?

  • You must to post comments
0
0

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:

[url=http://img825.imageshack.us/i/sc20120329210002.png/:doykutic][img:doykutic]http://img825.imageshack.us/img825/166/sc20120329210002.png[/img:doykutic][/url:doykutic]

[url=http://img189.imageshack.us/i/newpicture2ou.png/:doykutic][img:doykutic]http://img189.imageshack.us/img189/7509/newpicture2ou.png[/img:doykutic][/url:doykutic]

[url=http://img577.imageshack.us/i/newpicturekp.png/:doykutic][img:doykutic]http://img577.imageshack.us/img577/2212/newpicturekp.png[/img:doykutic][/url:doykutic]

[url=http://img820.imageshack.us/i/newpicture1nr.png/:doykutic][img:doykutic]http://img820.imageshack.us/img820/6790/newpicture1nr.png[/img:doykutic][/url:doykutic]

[url=http://img26.imageshack.us/i/newpicture3z.png/:doykutic][img:doykutic]http://img26.imageshack.us/img26/6798/newpicture3z.png[/img:doykutic][/url:doykutic]

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.
Njad,

  • You must to post comments
0
0

Could you link with the logging version of FMOD and provide the LogCat output of the crash?
Also do the examples work in the simulator?

  • You must to post comments
0
0

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");

  • You must to post comments
0
0

Examples are not working. I dont kbow how to link the error can you help… thanks

  • You must to post comments
0
0

It would be really helpfull if there is a number i can reach you guys at or maybe a live chat.

  • You must to post comments
0
0

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:

[url=http://img849.imageshack.us/i/new2gb.png/:35gh0s50][img:35gh0s50]http://img849.imageshack.us/img849/4343/new2gb.png[/img:35gh0s50][/url:35gh0s50]

[url=http://img717.imageshack.us/i/new1w.png/:35gh0s50][img:35gh0s50]http://img717.imageshack.us/img717/6762/new1w.png[/img:35gh0s50][/url:35gh0s50]

i tried this method: http://mindtherobot.com/blog/452/androi … p-by-step/
but still doesn’t work ๐Ÿ˜ฅ

  • You must to post comments
Showing 14 results
Your Answer

Please first to submit.