audio recorder file extension

Hi 

Regarding https://h5p.org/audio-recorder

Is it possible to change the record file extension from wav to mp3? 

If so, how do I do that...? Can you guide me? 

Thank you

Content types: 
otacke's picture

Hi futureyoon!

That would require to implement an export to mp3 into Audio Recorder, e.g. by replacing the current audio generation function with https://github.com/higuma/web-audio-recorder-js.

Best,
Oliver

Thank you so much!! Do you mind me asking the path of the current audio generation file? 
I was looking at this source code (https://github.com/h5p/h5p-audio-recorder) but was not able to locate the file to replace... 
appreciate that... 

otacke's picture

Hi!

You're at the right place, but I fear this is a little more complicated than just exchanging files.

Cheers,
Oliver

Thank you so much!! Oliver.
Do you mind me asking the path of the current audio generation file? 
I was looking at this source code (https://github.com/h5p/h5p-audio-recorder) but was not able to locate the file to replace... 
appreciate that...