Tone Class

The Honeywell.Mobility.Device.Audio.Tone class provides a simple interface for generating monotonic beeps and clicks with varying frequencies, durations, and volume levels.

Any public static (Shared in Visual Basic) members of this type are safe for multi-threaded operations. Instance members are not guaranteed to be thread safe and each instance should be used only within a single thread.

Requirements

Namespace: Honeywell.Mobility.Device.Audio

Assembly: Honeywell.Mobility.Device.DLL

Notes

Tones generated by the Honeywell.Mobility.Device.Audio.PolyTone class execute synchronously in the thread from which they are called. For example, if a particular instance specifies a tone sequence of 5 seconds duration, the calling thread is blocked for 5 seconds while Tone.Play generates the tone.

Typical tone durations fall into the 5 to 500 millisecond range depending on the desired effect. You may want to dedicate a separate thread for playing tones in applications that are "performance-sensitive."

Only a single tone can be played at any given time, regardless of the number of threads that may attempt to call the Tone.Play method concurrently.

More Information

Tone Members

.NET Reference: Honeywell.Mobility.Device Classes