A tone generator that allows you to play different frequencies and musical notes with customizable duration.
- 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
- Select Button: Enter Edit Mode or Play
- Next/Previous Button: Select setting/play
- Exit/ESC: Close the application
- 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
- Run the script on your Bruce device
- The tone generator interface will display current frequency and duration
- Use Next/Previous buttons to select settings/play
- Press Select to edit selected setting or play the current tone
- The interface shows "PLAYING" while a tone is active
- Press Exit to close the application
Place the ToneGenerator.js file in your Bruce device's /scripts directory and run it through the JS Interpreter menu.