You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A desire for this feature was expressed after the meeting. This interface would allow playing more complex sound over the Piezo Buzzer than just a beep and retrieving sound snippets in the flash memory.
The text was updated successfully, but these errors were encountered:
The current interface for Piezo Buzzer sound is available from "assets.h"
/** Toggles the electric current to speaker if set number of ticks have passed. * If the current note is done, calls callback for the current audio asset. */voiddoAudio();
/** * Tells timer interrupt to play a note. * @param [in] freq The note frequency (# of timer ticks between pulses) * <needed here> formula for HZ -> freq value * @param [in] dur The duration of the note, in timer ticks */voidsetNote(unsigned shortfreq, unsigned shortdur) ;
/* void setBeep(unsigned short freq); *//* not implemented *//** Callback for setting next note when current note is complete. */voidnextNote_cb(unsigned charassetId, intframe);
voidnextMIDI_cb(unsigned charassetId, intframe) ;
A desire for this feature was expressed after the meeting. This interface would allow playing more complex sound over the Piezo Buzzer than just a beep and retrieving sound snippets in the flash memory.
The text was updated successfully, but these errors were encountered: