| Reply | « Previous Thread | Next Thread » |
|
Hi, what's the default parameters (rate, nBits, encoding) in audio capture? I have used rate = 8000 Hz, PCM and 8 bits. To transform the byte stream (ByteArrayOutputStream.toByteArray()) into a integer stream i'm using the conventional cast (audioData[i] = (int) output[i]), but signal are not leaving anything similar to a speech signal. I didn't test in Nokia emulator yet. Anybody can help me?
|
|
if you have not specifying any parameters in capture://audio then phone will record in whatever format is default (i am not sure) but you can use
getContentType which returns the content type of the recorded media. All content types are defined in the Java Docs. http://www.forum.nokia.com/document/...l#content-type As for what rates/content types are supported refer to Forum Nokia JavaME developers library and check the implementation notes. Moreover check this Excel document for Multimedia Support in Nokia devices. http://www.forum.nokia.com/info/sw.n..._0_en.xls.html I did not understand the second part of your query if you can re phrase it I will have another look. Try using AMR as your encoder, it gives very good performance in a noisy environment specially when recording speech. |
|
Hi morash,
I'm building a system of speech recognition in Nokia phones S60 with JME (using JSR 135), but by now I have tested this system in PC using Java toolkit. So, i'm trying to calculate the LPC coefficients of the speech signal, but this signal is very strange: Even when i don't speak anything in mic, the signal has high amplitude (128 or -128). Looking at better the signal, it doesn't seem to be white noise. Thanks a lot for your help, i'm going to search the AMR enconding. |
|
But yet J2ME does not provide that kind of API. It is possible if you can try to build it.
|
| honest_success |
| View Public Profile |
| Find all posts by honest_success |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Audio Capture, last 3 seconds of audio chopped off | aztec30 | Mobile Java Media (Graphics & Sounds) | 6 | 2006-09-15 19:28 |
| Audio Capture | aztec30 | Mobile Java General | 1 | 2006-09-15 03:16 |
| capture audio on S40 6101 | lreyero | Mobile Java Media (Graphics & Sounds) | 2 | 2006-04-04 19:09 |
| nokia 6600 audio capture problems | yuxl-bupt | Mobile Java Media (Graphics & Sounds) | 6 | 2005-12-21 20:58 |
| Audio Capture in Java | larrydb | Mobile Java Media (Graphics & Sounds) | 4 | 2003-08-25 16:13 |