Author
|
Matrix TSL
|
Version
|
1.0
|
Category
|
Runtime Tools
|
Tone Generator component
A component to generate simple mono tone audio tones for use in alarms or other audible feedback.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_ToneOutput.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_ToneOutput.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
|
PlayTone
|
Blocking call that plays a tone for a specific period of time.
|
- BYTE
|
Tone
|
0=Off, 1=C, 2=C#, 3=D, 4=D#, 5=E, 5=F, 6=F#, 7=G, 8=G#, 9=A, 10=A#, 11=B, 12=C
|
- UINT
|
Delay
|
delay in milliseconds
|
- VOID
|
Return
|
|
SetTone
|
Sets the output tone without blocking for the tone to end To end the note the macro must be called again with the tone paramete set to 0.
|
- BYTE
|
Tone
|
0=Off, 1=C, 2=C#, 3=D, 4=D#, 5=E, 5=F, 6=F#, 7=G, 8=G#, 9=A, 10=A#, 11=B, 12=C
|
- VOID
|
Return
|
Property reference
|
Properties
|
==Macro reference==
|
PlayTone
|
Blocking call that plays a tone for a specific period of time.
|
- BYTE
|
Tone
|
0=Off, 1=C, 2=C#, 3=D, 4=D#, 5=E, 5=F, 6=F#, 7=G, 8=G#, 9=A, 10=A#, 11=B, 12=C
|
- UINT
|
Delay
|
delay in milliseconds
|
- VOID
|
Return
|
|
SetTone
|
Sets the output tone without blocking for the tone to end To end the note the macro must be called again with the tone paramete set to 0.
|
- BYTE
|
Tone
|
0=Off, 1=C, 2=C#, 3=D, 4=D#, 5=E, 5=F, 6=F#, 7=G, 8=G#, 9=A, 10=A#, 11=B, 12=C
|
- VOID
|
Return
|
Property reference
|
Properties
|
==Macro reference==
|
PlayTone
|
Blocking call that plays a tone for a specific period of time.
|
- BYTE
|
Tone
|
0=Off, 1=C, 2=C#, 3=D, 4=D#, 5=E, 5=F, 6=F#, 7=G, 8=G#, 9=A, 10=A#, 11=B, 12=C
|
- UINT
|
Delay
|
delay in milliseconds
|
- VOID
|
Return
|
|
SetTone
|
Sets the output tone without blocking for the tone to end To end the note the macro must be called again with the tone paramete set to 0.
|
- BYTE
|
Tone
|
0=Off, 1=C, 2=C#, 3=D, 4=D#, 5=E, 5=F, 6=F#, 7=G, 8=G#, 9=A, 10=A#, 11=B, 12=C
|
- VOID
|
Return
|
Property reference
|
Properties
|