upload soundFile to server

Hi everyone,

I am using p5.sound to collect audio input from clients and then upload audio file to server. It looks like soundFile can only be stored locally by turning to .wav using save() function, but what i want is to turn it into BLOB and pass it to php so that I can upload it. Right now I have the problem of turning soundFile to BLOB. I tried to extract the audio buffer from soundFile but I still couldn;t make it to BLOB. I also tried to turn soundFile into JSON file but I don't know how to access these JSON file on server to make them to .wav or .mp3. Can someone helps me, please?

Sign In or Register to comment.