mafintosh / hypervision

P2P Television
MIT License
447 stars 59 forks source link

Audio effects with Web Audio API #18

Open louiscenter opened 7 years ago

louiscenter commented 7 years ago

It could be worth experimenting with the Web Audio API to provide broadcasters with useful effects for their audio inputs.

Having access to an EQ or a compressor would be handy to even out volume levels for viewers.

vibern0 commented 7 years ago

Hey :wink: Is there anyone working on it ? If no, can I do ? Thanks, have a nice day :+1:

louiscenter commented 7 years ago

@obernardovieira afaik nobody is working on this right now. If you have a spare moment to contribute to this issue, that would be very much appreciated! ^__^

do you have any ideas of what you'd like to do?

vibern0 commented 7 years ago

Good :smile: yeah, I have some time and I would like to contribute. Well, I don't have a specific idea. I need to explore the Web Audio API a bit more. What are your suggestions ? I see you said "an EQ or a compressor".

louiscenter commented 7 years ago

@obernardovieira three audio effects I can think of off the top of my head that may be useful to broadcasters:

The idea is that you would run the input audio signal through the Web Audio API, before it reaches the media recorder. This is where that signal begins: https://github.com/mafintosh/hypervision/blob/master/lib/media-devices.js#L41-L48