Releases: stealthmonkey99/OctoPrint-PWMBuzzer
v1.2.0: better sound with hardware timer PWM
Want to take your M300 sounds to the next level? Install the latest release (1.2.0) of the PWM Buzzer plugin, use one of the hardware PWM pins (GPIO 12, 18, 13, or 19), and follow the steps in the README.md to configure your buzzer with a hardware timer. You'll notice this provides smoother tones with less crackling - a huge improvement over using software PWM!
Bug Fixes:
#18: fixes an issue where settings were not always being persisted
General Improvements:
#17: adds support for hardware PWM, which results in better quality sounds
See the README.md for installation and usage instructions.
v1.1.0: threading, suppression, and MIDI - oh my!
The latest release (1.1.0) of the PWM Buzzer plugin introduces some significant changes to how M300 commands are handled. These commands no longer block the main OctoPrint thread, which will speed up server startup and prevent interference with the printer. It also allows for handling M300 commands but suppressing them from being sent to your printer, in case you want to use this plugin to replace your printer's native M300 support (see #8). Finally, it includes a number of improvements to the Composer settings panel, making it easier for you to generate fun and unique tunes to use with your printer. Be sure and try out the experimental "Import MIDI File" functionality to convert your favorite 90's synthesizer songs to Gcode tunes!
Bug Fixes:
- #1: fixes the "Copy Gcode to Clipboard" functionality in the Composer panel
- #5: provides better error handling for missing/renamed/moved gcode files that aren't found when an event triggers
- #10: better handling of playing tones while the printer is not actively connected
- #13: allows up to 3sec of M300 playback on Shutdown event
- changed settings are now actually applied when clicking Save (previously had to save twice to apply them)
General Improvements:
- #2: M300 commands are no longer blocking
- #4: parsing files for M300 commands at startup is no longer blocking
- #8: M300 commands can be suppressed from being sent to the printer
- #12: documentation improvements including answering some commonly asked questions
Composer Panel Improvements:
- insertion cursor that points to where the next M300 gcode line will be inserted (no longer restricted to appending to the last line)
- auto-snap feature to normalize durations while playing notes (rather than running cleanup afterwards)
- implementation of a better backstack that can undo/redo more than just the last line of text, which is helpful given the insertion cursor changes
- "Open Gcode File" functionality for editing previously-saved files
- "Import MIDI File" functionality for converting MIDI files to M300 commands (experimental)
- improved error handling
- display active note indicator and preview selected commands
See the README.md for installation and usage instructions.
v1.0.0: initial plugin release
This marks the initial release of the M300 PWM Buzzer plugin for OctoPrint! This first release includes settings panels for:
- hardware (passive buzzer) and software buzzer configuration
- binding M300 tunes to OctoPrint system and printer events (e.g. play a song when a print job completes)
- composing your own M300 tunes
See the README.md for installation and usage instructions.