I'm trying to capture, modify and finally output audio in node with Electron (Mac OSX). These are the steps:
- Capture the audio before it's output, possibly via CoreAudio.
- Modify the audio stream/buffer via the Web Audio API.
- Output the modified buffer to the sound device.
I've tried node-core-audio. However, the most I can achieve is a rapid glitching sound. Other than this a I haven't been able to find a good solution I/O of audio.
How can I achieve this without sacrificing sound quality?
I'm trying to capture, modify and finally output audio in node with Electron (Mac OSX). These are the steps:
- Capture the audio before it's output, possibly via CoreAudio.
- Modify the audio stream/buffer via the Web Audio API.
- Output the modified buffer to the sound device.
I've tried node-core-audio. However, the most I can achieve is a rapid glitching sound. Other than this a I haven't been able to find a good solution I/O of audio.
How can I achieve this without sacrificing sound quality?
Share edited Dec 2, 2018 at 10:36 Adviov asked Jan 6, 2016 at 8:48 AdviovAdviov 4805 silver badges17 bronze badges 3- Did you find anything interesting @Luke? – ZogStriP Commented Nov 15, 2016 at 17:28
- @ZogStriP No, unfortunately there didn't seem to be a solution at the time - which is a shame. – Adviov Commented Jan 17, 2017 at 9:25
- Have you looked into WebRTC? – unseen_damage Commented Mar 22, 2017 at 13:44
1 Answer
Reset to default 3I'm not sure what you want to acplish, but on MacOS, this is not yet possible. I came accross the problem of recording system sound on MacOS, and I found a solution. Finally! Using Soundflower and Javascript with electron, I finally could record system audio. Though it is not exactly what you want, I modified this audio stream by adding it with video stream from the System, then displayed it to the user. Here is my solution to the issue IN this detailed blog post I think it is better than posting all the long steps here on stackoverflow.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745062125a4609027.html
评论列表(0条)