Table of Contents

play tone on () of note () & beat ()

Description

The play tone on () of note () & beat () block is a useful tool for adding audio elements to projects. It is available in Arduino Uno, Arduino Mega, and Arduino Nano boards. It can play a tone with a certain frequency (note) for a specified duration (beat) with either a selection from the drop-down menu or a user-defined frequency and duration in milliseconds.

Available pins

  1. Arduino Uno: 6 PWM pins available to the user: digital pin 3, 5, 6, 9, 10 and 11
  2. Arduino Mega: 15 PWM pins available to the user: digital pin 2-13, 44-46
  3. Arduino Nano: 6 PWM pins available to the user: digital pin 3, 5, 6, 9, 10 and 11

Example

There are no examples documented for this article.