processing / processing/p5.js-website
p5.Oscillator reference page, oscillator class undefined
Nobody has claimed this yet.
- Dominant language
- MDX
- Stars
- 96
- Forks
- 322
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 8
Description
Most appropriate sections of the p5.js website?
Reference
What is your operating system?
Windows
Web browser and version
Firefox 129.0.1
Actual Behavior
On the p5.Oscillator page, the Example demonstration is broken. Opening Developer Tools and typing p5.Oscillator returns undefined. The console also throws errors, saying "p5.Oscillator is not a constructor" and "osc is undefined"
Expected Behavior
The demonstration should be able to instantiate a p5.Oscillator and play audio upon user gestures.
Steps to reproduce
- Go to https://p5js.org/reference/p5.sound/p5.Oscillator/
- Click on the small canvas in the Examples section
- No sound output; "
p5.Oscillatoris not a constructor" errors in console
Would you like to work on the issue?
Unfortunately I can't
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start at the p5.Oscillator reference page and reproduce the broken Example in Firefox, then inspect the browser console for the reported constructor and undefined-variable errors. Trace the example's reference-page source from there; done means the demonstration instantiates p5.Oscillator and plays audio after the documented user gesture without console errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100