Changing Ringtone Parameters
In addition to the plain open/save conversion methods Ringtone Creator engine supports several operations allowing to change the ringtone. Among such changes is the possibility of changing the song name, or reducing the output size of the ringtone.
This group of operations allows you to set/get the following properties of loaded ringtones:
- loop count for the whole ringtone
- ringtone composer 1
- ringtone name 2
- ringtone style 3
The following properties in the
Ringtone class correspond to the operations mentioned above:
| Property | Description |
| loopCount | The number of times the ringtone will be played on a client's phone. Integer ranging from 0 (just once) to 15 (infinitely). |
| songComposer | The name of the ringtone's composer. String. |
| songName | The name of the ringtone. Certain ringtone formatsimpose limitation on the size of this field. String. |
| songStyle | The style of the ringtone. Integer. Takes the following values:
- RingtoneConstants.NOTE_STYLE_NATURAL
- RingtoneConstants.NOTE_STYLE_CONTINUOUS
- RingtoneConstants.NOTE_STYLE_STACCATO
|
However, it's not recommended to change the last property.
1 affects formats capable of saving such data (e.g. iMelody, MIDI, MP3, AAC)
2 affects all except EMelody, Motorola
3 affects IMelody, Nokia