Opening a user's sound file

Hi,

I want to add a button in my page so that the user can load his own sound file and play it with p5.sound. Which function (p5js or JavaScript) do I have to use to do that ?

Thank you.

Answers

  • edited September 2016 Answer ✓

    Hi,

    Well, just to say that what I was looking for was createFileInput().

    Cheers...

    (Sorry, but I didn't find how to flag myself that the question is answered.)

Sign In or Register to comment.