Geschrieben August 18, 2014 at 19:4518. Aug 2014 In an attempt to play some MIDI music files through the speaker, it would help if the API had noteOn(freq) and noteOff() .. the current beep with its duration parameter makes it hard to parse MIDI events which do not tell you what duration a note is. The note duration is implied from the distance between NOTE ON and NOTE OFF. Any chance of an API enhancement in a forthcoming release? Pretty please.
Geschrieben August 19, 2014 at 10:3019. Aug 2014 Piezo Speaker Bricklet Plugin 2.0.2 now treats beep() with a duration of 0 as "stop current beep" and beep() with a duration of 4294967295 (UINT32_MAX) as "beep forever".
Geschrieben August 19, 2014 at 14:1219. Aug 2014 Autor Cool, just what I need. Did you just add this for me, or has 2.0.2 been out a while? BTW, it would be nice if changelogs contained release date and version.
Geschrieben August 19, 2014 at 15:2119. Aug 2014 I released 2.0.2 today, see the announcements thread. You pointed out a missing feature that was easy to add, so I added it. Changing the changelog format is not that easy, so that won't happen today
Geschrieben August 20, 2014 at 11:1420. Aug 2014 Autor Thanks! Upgrading bricklet firmware always gives a nice, warm feeling ;D
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.