[Alsa-user] Rodecaster Pro USB playing distorted sound (on one of two machines)

2021-05-05 Thread Oliver Tacke
Hi all!

I am not entirely sure if this is the right place to address my issue,
so apologies in advance if I am - but I was encouraged to bring this
matter up here by someone who clearly knows way more about Linux than I do.

I got a Rodecaster Pro USB device that has been causing trouble before
and already lead to quirk handling in the kernel for the sample rate,
see
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/sound/usb/format.c?h=v5.8#n412

The Rodecaster is running fine on my laptop, but on my desktop, only
audio input is working. The audio output is distorted. It's played kind
of very slowly. Interestingly, if the source is a video file, the video
plays slower, e.g. YouTube in a browser. I have never seen anything like
that before.

I have tried to figure out what the cause might be and I think I have
reached the end of where I can get to on my own. I have documented most
things at https://ubuntuforums.org/showthread.php?t=2461568

Putting my last step it in a nutshell: I have booted both my computers
with a plain Ubuntu 21.04 from a pen drive (it uses kernel version
5.11.0-16-generic) to make sure it's not some different configuration
that I have set up over the years on my systems (both Ubuntu 20.04 with
kernel 5.8.18). I attached the Rodecaster. It runs fine on my laptop,
but not on my desktop (used the output test from).

I then detected the card number with

aplay -l

I killed pulseaudio with

pulseaudio -k

I then played the same sample (encoded in 48000 Hz in PCM signed 32 bit
little endian format) using

aplay -f S32_LE -c 2 -r 48000 -D hw:x ~/sample.wav

where x is the appropriate card number and the rest of the arguments
meet the Rodecaster's narrow specification. It's playing fine on the
laptop, but distorted on the desktop. As far as I understand using aplay
this way without a plugin should send the file directly to the device,
so I assume there's something on the way from aplay to the Rodecaster
that's interfering (kernel or even some piece of hardware) - and that
definitely is where my expertise ends (rather a little before :-)).

I'll gladly contribute any information that could be useful and I will
willingly help to debug this problem if it may be related to the kernel.
If there's anything I can do, please let me know.

Cheers,
Oliver


___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Rodecaster Pro USB

2020-05-22 Thread Nils
Hello,

can anyone provide suggestions on how to debug this issue further?

Thanks

Nils

On 13.05.20 12:58, Nils wrote:
> On 13.05.20 11:10, Clemens Ladisch via Alsa-user wrote:
>> Nils wrote:
>>> I am trying to get a Rodecaster Pro working, and see it in lsusb, but
>>> can't get it to work with Alsa.
>>>
>>> [ 3490.377201] usb 1-7: parse_audio_format_rates_v2v3(): unable to retrieve 
>>> number of sample rates (clock 1)
>>>
>>> This device appears not to be completely class compliant.
>>>
>>> Does it work without a separately installed driver in Windows and OS X?
> It works out-of-the-box on a windows 10 machine (both as input and
> output for MS teams, Skype, etc.) on which I have no admin access, so it
> seems to work there without extra drivers.
>
> https://www.sweetwater.com/sweetcare/articles/getting-started-with-the-rodecaster-pro/
> claims that it is class compliant on a MAC at least: "Before you can use
> the Rodecaster Pro, you first need to download and install the
> Rodecaster Pro app, as well as the firmware. The Rodecaster Pro is
> considered class-compliant on Mac, which means it doesn’t need
> third-party audio drivers. PC users will need to download ASIO4All
>  for proper connectivity. Follow the steps below
> to get started."
>
> On a Macbook Pro (15inch, 2011) with High Sierra 10.13.6 (won't run
> Mojave) using Garageband it shows up as a RODECaster Pro Stereo, and
> works (recording, playback) without a problem. I see two channels
> (theoretically I should see 14 I think?), but it works.
>
> If there's anything I can to to test / debug, please let me know.
>
> Thanks
> Nils
>
>


___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Rodecaster Pro USB

2020-05-13 Thread Nils
On 13.05.20 11:10, Clemens Ladisch via Alsa-user wrote:
> Nils wrote:
>> I am trying to get a Rodecaster Pro working, and see it in lsusb, but
>> can't get it to work with Alsa.
>>
>> [ 3490.377201] usb 1-7: parse_audio_format_rates_v2v3(): unable to retrieve 
>> number of sample rates (clock 1)
>>
>> This device appears not to be completely class compliant.
>>
>> Does it work without a separately installed driver in Windows and OS X?

It works out-of-the-box on a windows 10 machine (both as input and
output for MS teams, Skype, etc.) on which I have no admin access, so it
seems to work there without extra drivers.

https://www.sweetwater.com/sweetcare/articles/getting-started-with-the-rodecaster-pro/
claims that it is class compliant on a MAC at least: "Before you can use
the Rodecaster Pro, you first need to download and install the
Rodecaster Pro app, as well as the firmware. The Rodecaster Pro is
considered class-compliant on Mac, which means it doesn’t need
third-party audio drivers. PC users will need to download ASIO4All
 for proper connectivity. Follow the steps below
to get started."

On a Macbook Pro (15inch, 2011) with High Sierra 10.13.6 (won't run
Mojave) using Garageband it shows up as a RODECaster Pro Stereo, and
works (recording, playback) without a problem. I see two channels
(theoretically I should see 14 I think?), but it works.

If there's anything I can to to test / debug, please let me know.

Thanks
Nils




___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Rodecaster Pro USB

2020-05-13 Thread Clemens Ladisch via Alsa-user
Nils wrote:
> I am trying to get a Rodecaster Pro working, and see it in lsusb, but
> can't get it to work with Alsa.
>
> [ 3490.377201] usb 1-7: parse_audio_format_rates_v2v3(): unable to retrieve 
> number of sample rates (clock 1)

This device appears not to be completely class compliant.

Does it work without a separately installed driver in Windows and OS X?


Regards,
Clemens


___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Rodecaster Pro USB

2020-05-13 Thread Nils
Hello everyone,

I am trying to get a Rodecaster Pro working, and see it in lsusb, but
can't get it to work with Alsa. I've documented my setup and what I've
tried in this Ubuntu Bug
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1877726 and
would appreciate any help. A Scarlett 2i2 gen3 works perfectly with the
exact same setup.

Thanks

Nils



___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user