Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to anonymize (mask) audio (human voice) using javascript

I'm hoping to record the audio of some stories from remote study participants via web browsers. I would like to give them an option of anonymizing their voices before they submit their audio clips. Is there a way to do that in Javascript (or any other library--for example, Python--that I can invoke in the background on the server before serving it back to the participant to verify before they submit?

This youtube video comes really close to what I would like to accomplish. Thanks in advance for your suggestions and advice!

like image 898
user1330974 Avatar asked Feb 05 '26 10:02

user1330974


1 Answers

You can use the PitchShifter object of SoundTouchJS to change the 'key' of the input, and even the playback rate if necessary. It might be helpful to run further convolvers against the AudioNode as well, to futher anonamize it.

like image 55
Steve -Cutter- Blades Avatar answered Feb 09 '26 09:02

Steve -Cutter- Blades



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!