void MonoBrickFirmware.Sound.Speaker.Beep |
( |
| ) |
|
|
inline |
void MonoBrickFirmware.Sound.Speaker.Beep |
( |
UInt16 |
durationMs | ) |
|
|
inline |
Make the brick beep
- Parameters
-
durationMs | Duration in ms. |
void MonoBrickFirmware.Sound.Speaker.Beep |
( |
UInt16 |
durationMs, |
|
|
int |
volume |
|
) |
| |
|
inline |
Make the brick beep
- Parameters
-
durationMs | Duration in ms. |
volume | Volume of the beep |
void MonoBrickFirmware.Sound.Speaker.Buzz |
( |
| ) |
|
|
inline |
void MonoBrickFirmware.Sound.Speaker.Buzz |
( |
UInt16 |
durationMs | ) |
|
|
inline |
Make the brick buzz
- Parameters
-
durationMs | Duration in ms. |
void MonoBrickFirmware.Sound.Speaker.Buzz |
( |
UInt16 |
durationMs, |
|
|
int |
volume |
|
) |
| |
|
inline |
Make the brick buzz
- Parameters
-
durationMs | Duration in ms. |
volume | Volume of the beep |
void MonoBrickFirmware.Sound.Speaker.Click |
( |
| ) |
|
|
inline |
void MonoBrickFirmware.Sound.Speaker.Click |
( |
int |
volume | ) |
|
|
inline |
void MonoBrickFirmware.Sound.Speaker.PlaySoundFile |
( |
string |
name | ) |
|
|
inline |
Play a sound file.
- Parameters
-
name | Name the name of the file to play |
volume | Volume. |
repeat | If set to true the file will play in a loop |
void MonoBrickFirmware.Sound.Speaker.PlaySoundFile |
( |
string |
name, |
|
|
int |
volume |
|
) |
| |
|
inline |
Play a sound file.
- Parameters
-
name | File to play |
volume | Volume. |
repeat | If set to true the file will play in a loop |
void MonoBrickFirmware.Sound.Speaker.PlayTone |
( |
UInt16 |
frequency, |
|
|
UInt16 |
durationMs |
|
) |
| |
|
inline |
Play a tone.
- Parameters
-
volume | Volume. |
frequency | Frequency of the tone |
durationMs | Duration in ms. |
void MonoBrickFirmware.Sound.Speaker.PlayTone |
( |
UInt16 |
frequency, |
|
|
UInt16 |
durationMs, |
|
|
int |
volume |
|
) |
| |
|
inline |
Play a tone.
- Parameters
-
volume | Volume. |
frequency | Frequency of the tone |
durationMs | Duration in ms. |
durationMs | Volume . |
void MonoBrickFirmware.Sound.Speaker.StopSoundPlayback |
( |
| ) |
|
|
inline |
Stops all sound playback.
The documentation for this class was generated from the following file: