[Free] ToneGenerator extension


#1

This extension allows you to output tones through your device. It supports the following functions:

  • function PlayTone (double frequency, int duration)
    • frequency in Hz, duration in ms
  • event ToneFinished (double frequency, int duration)
    • Gets triggered when a tone finished playing

Very helpful is this table, e.g. at Wikipedia


I noticed too late that there is already an extension by @Juan_Antonio, but hey, mine has an event :smirk:

As always, the extension can be found in its GitHub repo.


Changelog

2018-05-04: initial release