-
Notifications
You must be signed in to change notification settings - Fork 294
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
4 micro linear speaker, I2S sync error, sound output sampling rate seemingly wrong. #237
Comments
We are checking to see if the latest Raspberry PI kernel I2S and DMA are suitable for multi-channel data transmission.At present, users can also use the 4.19 kernel for testing. @rotdrop |
@Pillar1989 at least the two-channel sound card works (record and playback at the same time). However, that one does not use the seeed-voicecard driver. 4.19 is not an option for me as then I would have to choose another distro. The current Ubuntu uses 5.4. |
@Pillar1989 : I think @rotdrop 's change is a step in the right direction but not quite complete. On the whole, I think Debian /Raspbian is too conservative, and using an out-dated Raspbian even more so. I am trying to stay with Raspbian mostly because it is "official", but I personally don't use Debian on the desktop and really don't like it. Ubuntu is bearable, and I really want things a bit more up to date than Ubuntu, so my desktop choice is fedora (and occasionally grab things off the next/pre-release fedora). |
Where is the kernel source for RPI Ubuntu? Does it support more than two channel alsa card? @HinTak |
I think it is a variant of upstream raspberry pi one , https://packages.ubuntu.com/focal/linux-raspi2 |
@rotdrop I just updated v5.5 . Give it a try? |
@HinTak I certainly will. However, I'm on holiday until the 16th of August. I can't try it before. |
@rotdrop no problem. Have a good holiday! |
@rotdrop - are you on 32-bit or 64-bit ubuntu ? I'd be interested to know if you get all 4 channels on your hardware. See #240 . edit: fixed - it is just amixer accidentally turning recording volume of channel 3 really low, rather than selecting headphone for output, when run against newer kernel. works perfectly for me on the 6-mic device now. |
@HinTak I can confirm that your current version of the driver also works with the 4-mic linear array. However, I just did a very short test, I'll let you know later in the evening whether the 4 channels can record individual sound signals. |
@rotdrop thanks for the confirmation! I found the issue with empty channels - it is amixer setting changed elsewhere with alsa. Just check your recording volume is not at the bottom in the mixer setting. |
Hi there,
I'm trying to use the 4 micro linear speaker array with Ubuntu 20.04 "focal" on RPI 3b+. This is kernel 5.4.0. I was able to comile the fork
https://github.com/HinTak/seeed-voicecard
and together with
HinTak#3
the thing actually loads ok:
However, trying to follow the examples from the Seed-Wiki https://wiki.seeedstudio.com/ReSpeaker_4-Mic_Linear_Array_Kit_for_Raspberry_Pi/ the thing is not able to record:
At this point the kernel log shows:
Trying to play sound samples:
results in some sort of sound output, but seemingly at a rate which is much too low (takes too long and sound is too deep and slow by a factor of 2, 3 or 4, did not measure yet.
Using plughw directly does not change anything.
In another issue it is suggested that the recording issue is caused by a slow SD-Card, however, recording to
/dev/null
does not change anything, so I suppose this is not the case.As the testing is done with the fork by Hintak: should issues be reported there? OTOH, your upstream version does not compile with recent kernels.
The text was updated successfully, but these errors were encountered: