p5.js-sound
p5.js-sound copied to clipboard
Addition to SoundFile class
How would this new feature help increase access to p5.js?
Most appropriate sub-area of p5.js?
- [ ] Accessibility (Web Accessibility)
- [ ] Build tools and processes
- [ ] Color
- [ ] Core/Environment/Rendering
- [ ] Data
- [ ] DOM
- [ ] Events
- [ ] Friendly error system
- [ ] Image
- [X] IO (Input/Output)
- [ ] Localization
- [ ] Math
- [ ] Unit Testing
- [ ] Typography
- [ ] Utilities
- [ ] WebGL
- [X] Other (specify if possible)
New feature details:
Hi @therewasaguy, the "SoundFile" class has a lot of functions for reporting the status of a song in a sketch. I believe the API can be simplified by creating one function "SoundFile.status()" to return all the parameters at once in JSON format. I would like to work on this. :)
@nakul-shahdadpuri i encourage your thoughts , it would great if you present things in particular. like what parameters do you think should be merged and how will it increase the usecase of this library, we should keep in mind the consistent dilevery with intuitive docs of apis to users, accordingly we have to look how this thing wil go as feasible ! :)