-
Notifications
You must be signed in to change notification settings - Fork 2
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
USB mic works with ALSA arecord
, but not with wurb2020
#50
Comments
Hi slowglow, |
Thanks for commenting. I will take a look at the pathfinder detector code. Multi-channel support is really interesting to me.
Output:
And here is what I get from ALSA with
Output:
|
Hi, to: now I have proper recordings, even in 24 bits - that's fantastic! :) I've also tested 32 bits, which gave me 32 bit wave files, but noise again. My mic can only do 24 bits. Here some info about my mic via "more /proc/asound/card1/stream0": |
Thank's sail2themoon for your comments. In the next major release I'm planning for a YAML-based configuration file with optional support for various mics. Your tests indicates that there is an automatic conversion from 24 to 16 bits, witch is great but I have to dig deeper into that. What kind of mics "can only do 24 bits"? |
sounds great! The conversion is only done with Alsa/arecord, if an input device can't handle a specific bit-rate or bit-width. This can look like the input device is actually capable of it. My mic is one of the cheapest 192KHz-USB-mics from "Jeemak", with a modified microphone capsule by myself - but: I think the 192KHz are fake: I get really strange recordings above ~50KHz, seen in the spectrogram. |
Hi,
I was tryng different not officially supported USB microphones.
Unsurprisingly, they didn't work. They were, however, visible in
alsamixer
and did work witharecord
.So, first my question is, what is the benefit provided by
pyalsaaudio
over direct calls to command line utilityarecord
?After some fiddling around, I realized that one of my mics provides 32-bit floating number stream, which is suported by ALSA and
arecord
, but it seems that wurb2020 has theint16
type hard-coded. How hard would it be to make the changes to support mics with output different fromint16
?Cheers
The text was updated successfully, but these errors were encountered: