-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
soundcard not working properly [BUG] Description #79
Comments
P.S the input/output VU meters on the Pipedal interface indicate that the sound is present on both input and output. |
Thank you for your problem report. Let's start with one of the non-working cards, and see how we do (your choice).
And report the results here. |
since I am a rather newbee...:-) you mean this one? Feb 16 19:37:28 raspberrypi pipedald[676]: lilv: lilv_get_lang(): error: Illegal LANG |
after opening browser 127.0.0.1 I run the command and gave the result below: Feb 16 20:26:32 raspberrypi pipedald[608]: lilv: lilv_get_lang(): error: Illegal LANG The sound passes through very distorted (totally useless) but I can hear the reverb effect (I did load an l2v reverb) over the heavy distorted, rather high-pitched, "metalic" sound. This is with the UGM192 soundcard. |
Switching back to my Focusrite Scarlett 2i2, the Pipedal system works absolutely flawlessly. Excellent response, exceptional, non-discernible latency, and overall stability. |
The log files seem to say that everything's working properly - the audio cards got initialized properly, and aren't under-running. Could you do the following for me. 1. Try increasing the audio buffer size on the Settings/Audio Settings dialog. The default settings are 64 bytes, 3 buffers (I think). Try 256/3. If that works, you can try smaller buffer sizes to get lower latency. 2. Try connecting using a USB 2.0 port instead of a USB 3.0 port (if you are not already) USB 3.0 ports are the two blue ports on the left. Connect the audio card to the USB 2.0 port, and connect the keyboard and mouse on the USB 3.0 ports. 3. Provide me with information on the audio card configuration as reported by ALSA. I just added code to dump this information to the log files, but this time we'll have to do it manually. Make sure pipedal is up and running. The actual directory name varies depending on the sound card. Execute the following command to figure out what your sound card is called.
I get the following results:
where "M2" is the name of my current soundcard. I'm guessing you should see UGM192 or something similar. At a bash prompt, type
adjusting the UGM192 part as necessary, and let me know what the results are. I'm particularly interested in what the "format:" setting is. But you may as well give me the rest as well. |
I am alreadu on USB 2 but also tried usb3 with same result. card0 card2 cards Headphones modules pcm timers vc4hdmi0 version |
cat: /proc/asound/UGM192: Is a directory |
by the way, I forgot to say that I have tried several buffer settings with no result. the issue persists, whatever the buffer is. |
Appologies. I accidentally added an extra space. The correct command is:
Please try that. |
access: RW_INTERLEAVED |
my Focusrite Scarlett info is below, just for your reference. access: RW_INTERLEAVED |
Please download and install v1.0,19 of PiPedal, which corrects the following issue:
Please let me know if resolves the issue for you so that I can close the problem report. |
Yes! This definitely, solves the issue. Now, the sound is at its best. Transparent, clean, and undistorted. However, I noticed a little bit more latency, but.. may this have to do with the soundcard itself?? Also, a mute switch and a master volume control, readily accessible on the app's front panel would be a nice add-on. Thanks for helping!! |
Thank you for your patience, and assistance working through the problem. I'll add a feature request for volume control, mute and VU meters on the input and out nodes. With respect to latency, there's some reason to think that the systems that you might be able to select a smaller buffer size on the cards that weren't working. USB-audio likes audio that is in packets that are a multiple of 48 bytes; and the cards you had problems with were using 3-byte samples instead of 4-byte samples, so buffers will always be a multipe of 48 bytes. In practice it's impossible to pre-calculate what actual latency is. There are all sorts of hidden delays in the complete audio path from input jack to output jack due to buffering by the host OS and the audio card itself. The PiPedal distro does include a utility to measure actual latency by measuring the actual delay between audio sent on the output jack to audio received on the input jack via a looped back cable. See https://rerdavies.github.io/pipedal/AudioLatency.html#:~:text=pipedal_latency_test If you were interested in running the test against your UGM192 device, I'd be interested in seeing what results you get, both to satisfy my curiosity, and to confirm that there are no obvious software issues. Results at 48kHz sampling rate would be of most particular interest. In the meantime, I'll go ahead and close this problem report. |
Describe the bug
I managed to install and operate the pipedal succesfully with my focusrite scarlett 2i2, komplete audio 2 and MOTU2 soundcards.
Howerever, when I tried to use an irigHD2 card, a UGM192 soundcard and a TC-helicon Guitar pro there was no sound outputed or seriously distorted noise was getting out of my speakers. All of these cards are fully recognized from the system and working properly with the pi4, when pipedal service is stoped.
Please advice.
I use the pi4 chromium browser with a mouse and keyboard attached directly to pi4b, albeit the wifi direct function works fine on my android phone.
The text was updated successfully, but these errors were encountered: