play() stays silent after pause() then stop()
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 74/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript
- Domain
- audio-video-rtc
Research direction
Find the stop() implementation and check how it updates the same song state that pause() changes. Reset paused in stop() so a later play() starts the sound. Confirm the behavior with the linked p5.js sketch: pause, stop, then play should produce audio.
Written by the indexing model from the issue text.
Description
pause() sets song.paused = true, and stop() never sets it back to false. The next play() thinks the sound is paused and silently does nothing.
The fix is to reset paused inside stop().
I know it is probably unlikely that someone will pause() then stop() but if they do, play() will not start the sound.
- Dominant language
- JavaScript
- Stars
- 60
- Forks
- 28
- Avg merge
- 8h 53m
- Merged PRs (30d)
- 2
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from processing/p5.sound.js
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
processing/p5.sound.js#132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
processing/p5.sound.js#130 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
processing/p5.sound.js#127 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
processing/p5.sound.js#113 · 1 comment · 1 reaction ·
-
p5.Gain.amp() throws this.node.volume is undefinedPossibly taken @leocb claimed this 8 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 25/100
processing/p5.sound.js#128 ·
All issues in processing/p5.sound.js
Similar issues
-
chore
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
idean3885/claude-ops-agent#910 ·
Maintainers usually reply within 1 day
-
S: triage
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oskarrough/agent-ide#29 · 1 comment ·
Maintainers usually reply within 1 day
-
check:passed logos:add
Difficulty 1/5 Under an hour Newbie friendliness 75/100
Maintainers usually reply within 4 days
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 95/100
WikiEducationFoundation/WikiEduDashboard#7258 ·
Maintainers usually reply within 1 day