×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Feb 2010
    Posts
    5

    [moved] Nokia 3110c MMAPI record in WAV

    Hi,

    I am using MMAPI to record audio. I am developing a code in J2ME for specifically doing Voice Activity Detection in the recorded audio. I want to do this only for Nokia 3110c phone which is S40. The problem is that it records only in AMR-NB. When using MMAPI if I try to create player as:

    player=manager.createPlayer("capture://audio?encoding=wav");

    it throws exception.
    Also my VAD algorithm works only for WAV audio format and not AMR-NB. So either I need to decode AMR to WAV or record directly in WAV for Nokia 3110c. Can anyone please help me in this regard?

    Thanks and Regards
    Chirag

  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: [moved] Nokia 3110c MMAPI record in WAV

    You cannot always select the format for recording. Your device probably records only in AMR (this is common). You will need to find (or implement) an AMR decoder.

    Graham.

  3. #3
    Registered User
    Join Date
    Feb 2010
    Posts
    5

    Re: [moved] Nokia 3110c MMAPI record in WAV

    Thanks Graham for the reply!

    Can you please suggest me any AMR decoder that can work on Nokia 3110c and can be integrated with my J2ME code?
    I searched a lot but was not able to find a mobile specific decoder.

    Thanks and Regards
    Chirag

  4. #4
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: [moved] Nokia 3110c MMAPI record in WAV

    I have never seen such a thing. I'm afraid you'd have to write (or adapt) one.

    Graham.

  5. #5
    Registered User
    Join Date
    Jan 2010
    Posts
    1

    Re: [moved] Nokia 3110c MMAPI record in WAV

    try to use Manager.createPlayer("capture://audio?encoding=pcm");

Similar Threads

  1. Nokia N-Series Complete Model Line-Up
    By Dopod in forum General Development Questions
    Replies: 6
    Last Post: 2008-07-22, 20:16

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×