-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audio effect - Frequency transform #19
Comments
I believe that's limited to the capabilities of the hardware itself. Also consider that the version of arecord and aplay that are available for openwrt are limited as well, to reduce overall footprint. |
@rwaldron I don't think it's a hardware limitation.. we have a lot of softwares that do audio equalization, why can't we do the same ? mostly of the javascript samples use AudioContext, not available on NodeJS :( |
My mention of that was based on what I was observing with two different microphones yesterday, but you're right, that limitation is not being imposed by the microphone hardware (as dimensions and resolution might be in the case of USB cameras). I'll keep investigating |
@rwaldron I have been studying many things about it. We have it on WebAudioAPI. I will try to create something using this module: https://www.npmjs.com/package/web-audio-api Question: If I record an audio using sampleRate 44000, can I play using a different sampleRate ? I will be able to test at the end of the day, but if you know the answer... I'm also taking a look at OpenWRT API... |
That's only used when no arguments are explicitly provided to mic.listen(['-r', 16000]); |
I guess to create a distortion effect I have to record using 44000hz and play using 16000, does it makes sense ? |
@rwaldron I figured out the best way to do that is installing an equalizer plugin to ALSA module on tessel board. I have basically two options: ALSA-equal: http://www.thedigitalmachine.net/alsaequal.html I'm getting trouble to install both of them. ALSA-equal because I can't run |
I just did this...
|
@rwaldron I also can install pulseaudio, but as I know, pulseaudio can't convert a real time stream, does it make sense? |
Yeah, I'm just trying to work through this along with you ;) |
@rwaldron I found the alsa-equal plugin and I'm trying to convert to an OpenWRT package but I can't compile the file. I guess if we could put it to work, would be perfect. This plugin is awesome for audio equalization: http://www.thedigitalmachine.net/alsaequal.html |
@rafaelcmrj did you manage to compile alsaequal for openwrt? |
Is there any way to apply audio effects in a audio recording stream ? I saw the frequency rate on default params
var defaults = ['-f', 'cd', '-r', '48000' /*, '-D', 'plughw:0,0' */ ];
but nothing changes when I change the frequency valueThe text was updated successfully, but these errors were encountered: