|
||
| Description: | |||||||||||
A Hardware Object that generates and outputs a low frequency tone. |
|||||||||||
| Operation: | |||||||||||
When the Operate property is 1, the oTone Object cycles the I/O line specified by the IOLine property at a rate specified by the Value property. The Frequency of the tone is derived from a 1,132kHz clock divided by 128 minus the Value property. [1132/(128-Value)] For example, a value of 120 will produce a 141.5Hz Tone. [(1132/(128-120)) = 141.5] |
|||||||||||
| Remarks: | |||||||||||
| Two or more oTone Objects can be set to the same I/O line. When this is done, the cycles of the multiple tones are combined. The oTone Object's output shares its timing with the rest of the OOPic's multitasking objects. A large number of Objects running concurrently with the oTone Object can result in distortions on the higher frequency tones. |
|||||||||||
| Storage size & Availability: | |||||||||||
The following table lists the size and availability of the oTone Object and its variations:
|
|||||||||||
| Properties: | |||||||||||
The following table lists the Properties of the oTone Object:
|
|||||||||||
| Example: | |||||||||||
In the following examples, the oTone Object is used.
|
|||||||||||
| See Also: | |||||||||||
oClock - An Object that provides a programmable logic clock |
|||||||||||