System.Hardware.Arduino.Parts.Piezo

Declaring a piezo speaker

data Piezo

speaker

Notes you can play, and durations

data Note

data Duration

Playing a note, rest, or silencing

playNote

rest

silence

Play a sequence of notes:

playNotes