Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 2021 11:24:19 +0300
From:      Softwafe Engineer <timsofteng@gmail.com>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: Distorted sound with external usb-device and bitperfect
Message-ID:  <CAP7bFfBAVF1NuVhXLrDMkHGnMZA=tn7taN4cxQGkwO4ogKHkCg@mail.gmail.com>
In-Reply-To: <4938264f-686a-af1a-cb28-f39585b1375a@selasky.org>
References:  <CAP7bFfBhoHQXV%2BzpW3Sm%2BLcJh77U=KBoZzhJ6oxCxBABx3UPwQ@mail.gmail.com> <d7d15f35-f363-44df-bf05-c2253a5307d1@selasky.org> <CAP7bFfCRBnJh5k0fe8r9AnhzTh8FBO6_r=iu9D9qrwo-PTxD6A@mail.gmail.com> <4938264f-686a-af1a-cb28-f39585b1375a@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks a lot. But what application should do if file is in 16 bit?
Should all files be converted to 32 bit? I supposed bitperfect sends pure
stream without any converter.

=D0=BF=D0=BD, 29 =D0=BC=D0=B0=D1=80. 2021 =D0=B3., 11:12 Hans Petter Selask=
y <hps@selasky.org>:

> On 3/29/21 6:59 AM, Softwafe Engineer wrote:
> > Here is dmesg after motu m2 was plugged:
> >
> > https://pastebin.com/1mcQNn1H
> >
> > (is pastebin ok?)
> >
> > I've tried it in few music players which are could be find in ports
> > - deadbeef
> > - audacious
> >
> > Both sound distorted when I enable bitperfect and disable vchans. If
> > not then sounds ok.
> >
> > I never try virtual_oss. I just would to send bitperfect sound from
> > freebsd to motu m2 to listen music.
> >
>
> Hi,
>
> I suspect the applications you are trying to use don't support 32-bit
> mode via OSS. That's why you hear noise. They've configured something
> else, like 16-bit or 24-bit mode.
>
> You could ktrace the application possibly to figure this out. It will
> show all IOCTL's.
>
> Try to configure virtual_oss in bitperfect mode instead for a test.
>
> Beware that many applications that output 16-bit audio, don't properly
> fill the lower bytes with noise when they resampling to 32-bit. That's
> another reason to use virtual_oss :-)
>
> --HPS
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAP7bFfBAVF1NuVhXLrDMkHGnMZA=tn7taN4cxQGkwO4ogKHkCg>