bigtreetech / BIGTREETECH-SKR-mini-E3

BIGTREETECH SKR-mini-E3 motherboard is a ultra-quiet, low-power, high-quality 3D printing machine control board. It is launched by the 3D printing team of Shenzhen BIGTREE technology co., LTD. This board is specially tailored for Ender 3 printer, perfectly replacing the original Ender3 printer motherboard.
2.01k stars 1.97k forks source link

M300 Tones Extremely Harsh After Tone Fix #457

Open yourbuddydinec opened 3 years ago

yourbuddydinec commented 3 years ago

After following steps outlined Here the speaker/beeper on my Ender 3's screen sounds EXTREMELY harsh like nails on a chalk board. The beeps also seem to play much longer than they had before using the same M300 commands before enabling speaker.

This is on the Skr Mini E3 v1.2 with Marlin-bugfix-2.0.x from 9/24/2020

Steps to reproduce

  1. Enable #define SPEAKER in marlin
  2. Delete framework-arduinoststm32-maple folder
  3. Compile so it will give me new tone.cpp
  4. Edit tone.cpp so that line 34 is now #define TONE_CHANNEL 4
  5. Compile in VSCode and flash firmware
  6. Send M300 command through octoprint or through gcode on sd card.

Expected behavior Normal sounding beep but able to produce different tones and for requested length

Actual behavior Able to produce different tones but extremely harsh to ear compared to before as well as longer tones than supposed to be

Pastebin of Configuration.h Example of sounds. This is the command M300 S660 P1000 so should only be 1 second long

Shine753 commented 3 years ago

Same problem here with Skr Mini E3 v2.0 with Marlin-bugfix-2.0.x from 28 Nov. 2020

Cloud-Galaxyman commented 2 years ago

Same here. Some tones sound fine, others sound like terrible chirps. That's too bad. I wrote a custom little song for when it's done with a print.

I have an Ender 3, SKR Mini E3 1.2 and Speaker is enabled.