p5.js-sound icon indicating copy to clipboard operation
p5.js-sound copied to clipboard

Addition to SoundFile class

Open nakul-shahdadpuri opened this issue 4 years ago • 1 comments

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 avatar Dec 20 '20 11:12 nakul-shahdadpuri

@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 ! :)

endurance21 avatar Dec 28 '20 12:12 endurance21