Frequency Method

This member of Class WaveLinkTone is supported on Windows Mobile, Windows CE, Palm, and DOS.

The Frequency Method sets or returns the frequency of the specified note.

Syntax

public int Frequency(int tnIndex)
public void Frequency(int tnIndex, int newFrequency)
throws IllegalArgumentException

Parameters

tnIndex

The zero-based index value of the note in the current configuration

newFrequency

The frequency, in hertz, of the note

Throws

IllegalArgumentException

Remarks

To alter a frequency for a note stored within a tone file on a device, first use the GetToneFile Method to set the tone file as the current tone object.

The first tone in the list is indexed as zero. For example, to return the frequency for the third note in the current WaveLinkTone Object, you pass a 2.

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal