×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    37

    a standard in sound.

    Hi
    glad to be the first here.
    is there a standard format for all MIDP 1.0 devices?
    what is the difference between .ott and .mid (midi file)?
    what is the best format to get large portability in sound?
    eml

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Posts
    382
    Hello

    The only Standard voice specified in Java MIDP 1.0 is
    the sound associated with an alert, which must be one of five predefined instances of the AlertType class:
    INFO,
    WARNING,
    ERROR,
    ALARM,
    or CONFIRMATION.

    The device associates different sounds with each class, if possible, though some devices may not even support sound.

    You can play any sound at any time by calling the playSound method, as in:

    AlertType.ERROR.playSound( display );


    The difference between .ott and midi file is that .ott is rtttl sound format converted to binary and it sounds as the ringing tone.
    midi file can play more instruments at the same time which makes it sound as a really music.

    In future Java MIDP 2.0 includes Mobile Media API which has Midi support.

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    10
    Hello,

    To generate sound on Nokia devices, you can use the Nokia UI API

Posting Permissions

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