×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jan 2007
    Posts
    31

    Cool How to make the loudest sound?

    Hi,
    i have a midlet that upon discovering something displays some information, vibrates, flashes the screen, and makes a sound - all to get the user's attention. The problem is that the sound is not loud enough.
    how do i make the phone produce the loudest sound it can?
    i prefer not to add a sound file unless that's the key.
    i prefer to use standard j2me library, but can settle for Nokia's library if absolutely needed.
    i'm mainly targeting S60 or S40.

    currently, the best i can come up with is this:
    Manager.playTone(ToneControl.C4, duration, 100);
    but you can hardly hear the sound this makes on some phones.

    thanks

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,087

    Re: How to make the loudest sound?

    Play some high pitch wave file recorded with max volume and playback on Max volume - checkout the sound I have used in Green Charging app --- http://store.ovi.com/content/18547
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

  3. #3
    Super Contributor
    Join Date
    May 2008
    Location
    Helsinki, Finland
    Posts
    1,100

    Re: How to make the loudest sound?

    Hi there. ronikoren

    In priniciple, you are right as the "100" for the value should play the loudest of tone provided by the hw. The other option is to use the separate soundfiles either from the device RMS or from inside the JAR. This way you could ofcourse consider like what Amit explained, if you actually need to go for a sound file instead of the hw tone generation.

    Have you already made some tests upon and perhaps decided the optimum method for your implementation?

    Best Regards,
    Marko

    About playing tones and sound: http://developers.sun.com/mobility/m...iew/index.html
    [FONT="Comic Sans MS"][COLOR="Blue"][/COLOR][I]Marko Lumivuori
    Technical Support
    +358 40 8019330
    [email]marko.lumivuori@nokia.com[/email][/I][/FONT]

Similar Threads

  1. Make realplayer no sound
    By hting in forum Mobile Java Media (Graphics & Sounds)
    Replies: 3
    Last Post: 2009-01-16, 03:54
  2. HOW to make beep like sound....
    By lalitjadiya in forum Symbian
    Replies: 1
    Last Post: 2008-04-12, 09:46
  3. how can i make Stream from a Sound ,
    By mehiii2 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2006-11-09, 04:31
  4. How to make tone sound?
    By srajabather in forum Symbian
    Replies: 2
    Last Post: 2006-05-05, 18:06
  5. why sound example sdk 1.2 does not make?
    By diluo in forum Symbian
    Replies: 1
    Last Post: 2005-10-04, 03:59

Posting Permissions

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