Jump to content

Piezo Speaker API suggestion


JavaLaurence

Recommended Posts

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.

Link zu diesem Kommentar
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gast
Reply to this topic...

×   Du hast formatierten Text eingefügt.   Formatierung jetzt entfernen

  Only 75 emoji are allowed.

×   Dein Link wurde automatisch eingebettet.   Einbetten rückgängig machen und als Link darstellen

×   Dein vorheriger Inhalt wurde wiederhergestellt.   Clear editor

×   Du kannst Bilder nicht direkt einfügen. Lade Bilder hoch oder lade sie von einer URL.

×
×
  • Neu erstellen...