-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new [BUG] with Christmas Edition 2024 ---> RTTTL doesn't full play #5212
Comments
I'll check if this command was excluded from the build or has stopped working for another reason. |
@dyter69 You can download the |
Thanks for reply, I tested but same problem, I hear only the fist note of music, sometime second note and third ! I use many devices on my ESP32: Edit | 1 | ✔ | Light/Lux - BH1750 | Light | I2C 0x23 | ❶ (888) | SDA: GPIO-14SCL: GPIO-27 | Lux:0.23 |
Ah, that it actually started playing wasn't clear from the OP, I got the impression the command wasn't included in the build 🤔 It this case it may be something to do with the framework being updated to IDF 5.1.x/5.3.x. More investigation is needed. |
the command work ! but something stop the sound after one second I think |
A few options:
|
Sorry but I have switched to 20230304 because I have lot of lost wifi connections since the 20240414. And I found if the GPIO2 trigged to 1 will cause boot problem. |
@dyter69 The RTTTL feature needed a fix because of the IDF 5.x updates. These are now applied, and this GH Actions run is building for you to test. |
What do you mean by this remark? |
ok I tested with ESP_Easy_mega_20250111_collection_B_ESP32_IRExt_4M316k, buzzer work longer but music is bad with somes noises |
Do you have an IR receiver task active? |
Yes same problem when I disable all device, I listen a modem sound ! |
It's strange, but sometimes it works with some notes are missing |
Can you share the RTTTL command(s) you're using? This also means that playing a song on startup of the ESP is nearly impossible, as the load is then quite high for ca. 1 minute (depending f.e. on WiFi and P2P being enabled). Once the system-load stabilizes playback should be reasonable. |
It's been working like this for 3 years, and I've been updating it regularly, system load is about 30%:
|
Just a thought... if you have a status LED defined (top of Hardware tab), can you disable this, save the settings and power cycle the ESP board. |
same problem, I go bak to ESP_Easy_mega_20240822_collection_B_ESP32_IRExt_4M316k and work fine ! |
Can you copy what is shown on the sysinfo page about the used SDK version? |
This last firmware so work ESP_Easy_mega_20240822_collection_B_ESP32_IRExt_4M316k:
|
And which GPIO are you using for the RTTTL? |
15 (you can see it in the previous conversations) |
I don't think it makes a difference what pin is used, but just to be sure I can first reproduce what you're seeing |
Hmm, you're missing a comma after the GPIO pin 15 there, in both commands... that'll make some difference, I assume 🤔 Edit: Well, this command is rather forgiving, but there should be a comma, as that issue might be fixed some day... |
@dyter69 I've been made aware of a typo I made in the previous build, that I fixed now. A new build is running here, can you please test again, to see if this solves the playback? |
@dyter69 Were you able to test the test build linked by Ton? |
Both examples works ok here: https://adamonsoon.github.io/rtttl-play/ |
We're trying to solve an issue about not properly playing RTTTL songs at all. The poor playback in my test-setup may be caused by the ESP or buzzer I'm using, as the provided songs don't sound very nice too my ears but Arkanoid plays 'normal', so there remain 2 questions:
NB: The blurry playback may be related to the buzzer I'm using, and the frequencies it works best with. |
I all ready tested with Bin-ESP32-collection_A_ESP32_IRExt_4M316k-20250104 and sound is poor |
But did you test with the build linked by Ton here: #5212 (comment) |
yes same problem |
@dyter69 I've hooked up an ESP32 with 4MB Flash, and installed the same build you used. First tested with the 2023-ish build on that unit, and playback sounded quite normal, so I knew what to expect/achieve 🙄 |
Ok I flash ESP_Easy_mega_20250115_collection_B_ESP32_IRExt_4M316k: it almost works but at times it sounds like a cricket or modem ! |
That is most likely caused by (busy) activity of the ESP, it's using cooperative multi-tasking like scheduling, for that's how the AnyRtttl library works. |
no problem I downgrade to ESP_Easy_mega_20240822_collection_B_ESP32_IRExt_4M316k, thank ! |
Discussed with Ton and it is best to merge the fixes for now as it is at least an improvement. So that's why I will re-open it for now so it will remain 'in focus'. |
Command rtttl:
Work with ESP_Easy_mega_20240822_collection_B_ESP32_IRExt_4M316k
Not work with ESP_Easy_mega_20241222_collection_B_ESP32_IRExt_4M316k
(I play with 5V buzzer on GPIO15 pin)
The text was updated successfully, but these errors were encountered: