Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Tone Generator Script

A tone generator that allows you to play different frequencies and musical notes with customizable duration.

Features

  • 13 Musical Notes from C4 to A5 including all natural notes
  • Frequency Display showing both note name and exact frequency in Hz
  • Adjustable Duration from 100ms in 100ms increments
  • Responsive Design that adapts to different display sizes

Controls

Default Mode

  • Select Button: Enter Edit Mode or Play
  • Next/Previous Button: Select setting/play
  • Exit/ESC: Close the application

Edit Mode

  • Select Button: Exit Edit Mode (return to Default Mode)
  • Next Button: Increase current setting (frequency or duration)
  • Previous Button: Decrease current setting (frequency or duration)
  • Exit/ESC: Close the application

Usage

  1. Run the script on your Bruce device
  2. The tone generator interface will display current frequency and duration
  3. Use Next/Previous buttons to select settings/play
  4. Press Select to edit selected setting or play the current tone
  5. The interface shows "PLAYING" while a tone is active
  6. Press Exit to close the application

Installation

Place the ToneGenerator.js file in your Bruce device's /scripts directory and run it through the JS Interpreter menu.