-
Notifications
You must be signed in to change notification settings - Fork 14
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
Manual setup failing on Raspberry Pi 4 #73
Comments
It isn't finding your card perhaps ? |
Well, I had put it all away since I posted that, not having made any progress. I took it all out again last night to see where I can get. aplay -l definitely lists the device (and always did). I was able to get pass-thru of audio (line signal from the inputs to the outputs) which sort of responds to the line bypass in alsamixer, which suggests to me that the AudioInjector is working, nominally. But I say "sort of", because if I toggle the line bypass on and off, the audio doesn't always come back through--sometimes I have to toggle it several times.
Jack sometimes but rarely works. When I launch jackd from the command line with device 0,0 there are no error messages, so jack seems to be recognizing the device, and inputs and outputs are shown in Patchage (which I use for easier visual trouble shooting). Every few times I launch jack though I get a sync error message of some sort and I'm told the server has stopped (also hard to share the exact message because it doesn't always happen). Even then, without error messages / jack apparently running, I don't usually get any audio output from jack clients... Very rarely, I am able to get sound from a test patch in Pure Data out, using jack, but not always or even usually, and I have no idea why it works when it does. I haven't tried using alsa for Pure Data output, but ultimately my need for this project is jack so it wouldn't matter much to me if that was successful. So, overall, very unreliable and I have no idea why. This is otherwise a clean install of the latest Raspberry Pi OS. |
OK,
|
First, thanks for taking the time to check in on this. Much appreciated. I forgot to mention in my first post, but removing pulseaudio was one of the first things I did initially as part of the setup. Otherwise, it was stock Raspberry Pi OS (latest as of 3-4 weeks ago), rpi-update, changes to config.txt, and then installing jack, pure data, and patchage. That is all. I cannot try the asoundrc suggestion tonight, but will try as soon as I can. Again, thanks for that. |
So I couldn't find an asoundrc file in any of the usual places on this install--pretty sure there was one somewhere in an earlier attempt with this same Pi and the audio injector, so not sure why not now. I don't know when that file is usually created, if it should be there by default, or if it might have been deleted when I got rid of Pulse. Really not sure... Anyway, I tried to create a new one at ~/etc/ and copied in the code you provided, but it didn't do anything for me. If I were to start from scratch with a fresh install, can you recommend any different approach? The auto install definitely doesn't work, but also the manual method doesn't seem to work reliably either (on a Pi 4 at least). I saw in a mailing list thread somewhere that the Pi 4 specifically might have some weirdness, in that it creates a default alsa device that might interfere with the audio injector. Could this be it? Anyway, yeah, would be great to have a direct line from fresh install to running audio interface. Thanks again. |
I can't seem to get my AudioInjector working after many attempts following the manual setup instructions. I looked through other issues here but didn't see this one.
I have a fresh install of Raspberry Pi OS (2021-03-04, buster armhf). After starting up the Pi for the first time with the new OS, I:
When I run
alsactl --file /usr/share/doc/audioInjector/asound.state.MIC.thru.test restore
per the setup instructions, I get the message:And, not surprisingly, when I run audioInjector-test.sh it fails:
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: