×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Oct 2008
    Posts
    292

    Media Player which can play keypad tones fast!

    Hi Guys :


    I want to simulate the behaviour like keypad tones on nokia phones....the problem is if i would use the CMdaAudioPlayerUtility to play the .mp3 sound then it takes some time in play()API..thus there is jerk kinda feeling.

    Now i want to know how nokia provide that keypadtones features so fast and quick is there any other player which can play fast or there is some other format sound which can play fast.


    Regards
    Manish

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,168

    Re: Media Player which can play keypad tones fast!

    what about tone player API, wiki should have it..

  3. #3
    Regular Contributor
    Join Date
    Oct 2008
    Posts
    292

    Re: Media Player which can play keypad tones fast!

    Hey can u let me know the format for the keypad tones....and if u have any sample audio file then send me....


    regards
    Manish

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,168

    Re: Media Player which can play keypad tones fast!

    they are just tones, no real format there.. Anyway, if you are actually talking on the tones send to the network, then you actually would need to check if which APIs are supported for playing into the uplink. Also as DTMF tones are not actually send as tones, you would need to consult the specifications to see whther you can get the right values for the tone frequency etc. there are of course real APIs for sending DTMF tones, though with them you can not really make the transmitting too much faster than what it is by default.

  5. #5
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,751

    Re: Media Player which can play keypad tones fast!

    You can find the frequencies in Wikipedia for example: http://en.wikipedia.org/wiki/DTMF
    It is still unclear what you want, however if you just want to play them locally, CMdaAudioTonePlayer::PrepareToPlayDualTone is exactly designed for this purpose.

  6. #6
    Registered User
    Join Date
    May 2010
    Posts
    5

    Re: Media Player which can play keypad tones fast!

    I guess you mean CMdaAudioToneUtility::PrepareToPlayDualTone ?

    Anyway, does any of you know what the approximate latency of the CMdaAudioToneUtility functions are, ie. how many us/ms from calling the API until the sound starts in the speaker? This could be important for applications such as the one mentioned with keypress where an immediate response is required to get the correct feeling.

Similar Threads

  1. Replies: 9
    Last Post: 2012-02-10, 07:36
  2. problem wih wav media player to support buffering
    By hamada200700 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 6
    Last Post: 2009-04-15, 13:46
  3. [Moved] Problem In Video For S60 Series
    By amitsrivastava in forum Mobile Java Media (Graphics & Sounds)
    Replies: 3
    Last Post: 2008-04-18, 12:20
  4. Media player issue
    By mayankkedia in forum Symbian
    Replies: 2
    Last Post: 2007-07-05, 21:55
  5. SIP content type
    By hlothman in forum Symbian Networking & Messaging (Closed)
    Replies: 8
    Last Post: 2006-05-17, 09:26

Posting Permissions

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