×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Aug 2007
    Posts
    46

    Getting Recorded Audio Frequency in J2ME

    Hi,
    I am doing one application in J2ME which records audio spoken through microphone attached to the phone.
    I had to get the frequency in which the audio is recording from my application. I had gone through the
    J2ME documentation for Player as well as RecordControl, but i couldn't find any information on
    retrieving the frequency at which the sound is playing.

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Norway
    Posts
    63

    Question Re: Getting Recorded Audio Frequency in J2ME

    You question is not quite clear to me - are you looking for the rate or frequency when you are recording the file or when playing it back?

  3. #3
    Super Contributor
    Join Date
    Jan 2008
    Location
    Amravati, India
    Posts
    546

    Re: Getting Recorded Audio Frequency in J2ME

    If you want frequency of sound in Hz then it is actually not a single value but a series of values as a function of time.
    You will have to calculate fourier transform of the sound samples which will give you frequency.
    Read about this on wikipedia on how to calculate fourier transform and frequency graph...

Similar Threads

  1. What audio formats does J2ME support
    By Subotai4Winds in forum Mobile Java Media (Graphics & Sounds)
    Replies: 11
    Last Post: 2010-12-12, 12:34
  2. problem in playing recorded audio
    By prashantpersistent in forum Mobile Java General
    Replies: 1
    Last Post: 2008-08-22, 15:52
  3. Frequency Analysis in J2ME MMAPI
    By Jimmmeh in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2006-11-22, 18:40
  4. J2ME Audio Capture Device List
    By symfrog in forum Mobile Java Media (Graphics & Sounds)
    Replies: 3
    Last Post: 2006-11-11, 00:27
  5. Any devices supporting bi-directional audio in J2ME?
    By eugene_panich in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2005-01-25, 13:50

Posting Permissions

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