This member of Class WaveLinkTone is supported on iOS, Windows Mobile, Windows CE, Palm, and DOS.
The AddTone Method adds a new note to the current tone configuration.
Syntax
public void AddTone(int newFrequency, int newDuration)
throws IllegalArgumentException
Parameters
newFrequency |
The frequency, in hertz, of the new note |
newDuration |
The duration, in milliseconds, of the new note |
Throws
IllegalArgumentException
Remarks
Individual notes are stored within a WaveLinkTone object, each note defined by a frequency and a duration. Once defined, a specific note remains within a WaveLinkTone object until either the object is released or all notes are cleared from the object using ClearTones Method. This allows you to re-use a single tone object instead of creating a new tone object for each use.
Example
See the PlayTone Method
Was this article useful?
The topic was:
Inaccurate
Incomplete
Not what I expected
Other