You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Program continues running, but audio ceases altogether when the 10th note is pressed. If the filter and its module is removed, the audio cuts off at the 18th note.
Description
If I add in a print(gc.mem_free()) statement to the for loop, I get 8258240 bytes available at the note that cuts off (the board has 8MB of PSRAM).
Additional information
I initially thought the error was due to internal memory being filled up, but I'm unable to recreate the issue in versions of CircuitPython prior to the latest dev build without audiofreeverb.Freeverb. I think the error may lie somewhere within that effect.
The text was updated successfully, but these errors were encountered:
The limit on RP2350 is 24 notes. Under normal circumstances, the notes are either ignored or the oldest notes are dropped. In this situation, audio stops altogether.
I tried this on the latest nightly build (Adafruit CircuitPython 10.0.0-alpha.2-40-gfa9b9746f9 on 2025-04-26; Raspberry Pi Pico 2 with rp2350a) and it worked normal for me. All notes played.
As I typed this I tried it a couple more times and had inconsistent results. This may be related to the issue being worked on when audio DMAs are not working. I cannot think of any part of Freeverb that would cause audio to stop in this manner as it does not base any functionality on Notes just the audio information it takes in.
I'm working to fix an issue where the audio buffers stop ping ponging to each other. This can happen if the second buffer completes while the first is being filled.
I suspect that the time it takes to compute the audio buffer may influence whether this happens. The longer it takes to fill the buffer, the more likely it is to happen.
CircuitPython version and board name
Code/REPL
Behavior
Program continues running, but audio ceases altogether when the 10th note is pressed. If the filter and its module is removed, the audio cuts off at the 18th note.
Description
If I add in a
print(gc.mem_free())
statement to the for loop, I get 8258240 bytes available at the note that cuts off (the board has 8MB of PSRAM).Additional information
I initially thought the error was due to internal memory being filled up, but I'm unable to recreate the issue in versions of CircuitPython prior to the latest dev build without
audiofreeverb.Freeverb
. I think the error may lie somewhere within that effect.The text was updated successfully, but these errors were encountered: