uaudio, M-Audio FastTrack Pro device - sound distorted
Marcel Bonnet
marcelbonnet at gmail.com
Wed Apr 27 01:31:00 UTC 2011
On 26 April 2011 03:40, Hans Petter Selasky <hselasky at c2i.net> wrote:
> On Monday 25 April 2011 23:04:38 Marcel Bonnet wrote:
> > On 23 April 2011 13:39, Hans Petter Selasky <hselasky at c2i.net> wrote:
> > > On Saturday 23 April 2011 15:56:15 Marcel Bonnet wrote:
> > > > On 23 April 2011 02:20, Hans Petter Selasky <hselasky at c2i.net>
> wrote:
> > > > > On Saturday 23 April 2011 04:15:01 Marcel Bonnet wrote:
> > > > > > Hi, folks.
> > > > > >
> > > > > > I'm using the M-AUDIO FastTrack Pro USB audio interface, but
> every
> > >
> > > time
> > >
> > > > > > I play or record, the sound get distorted.
> > > > > > If I record a clean guitar, it sounds like using a light
> > > > >
> > > > > distortion/driver.
> > > > >
> > > > > > Any mp3 or wav I play is distorted too, especialy the higher
> notes.
> > > > > > This device has it's own mixer. I'm sure the sound is not
> clipping
> > > > >
> > > > > because
> > > > >
> > > > > > the interface has its own knobs (volume/gain for in/out) and a
> led
> > >
> > > for
> > >
> > > > > > clipping indication.
> > > > > >
> > > > > > I tried to change the volume using the mixer command - nothing
> > >
> > > changed.
> > >
> > > > > > I thought the problem could be the frequency rate: tried the
> sysctl
> > > > > > dev.pcm.0.play.vchanmode (tried the 3 values without any
> > > > > > difference) and the dev.pcm.0.play.vchanrate (but the system
> > > > > > always mantain the same freq = 44100). No sucess too.
> > > > > >
> > > > > > I just don't know what to do. Don't even know if I'm in the right
> > > > > > direction. Maybe it could be a driver's problem?
> > > > > > I apreciate any help. Below there are some information.
> > > > >
> > > > > Hi,
> > > > >
> > > > > What does the distortion look like in audiacity?
> > > >
> > > > Hi. You mean like the visual form of the wave? It looks perfect, no
> > > > clipping, no distortion. I recorded a piano in audacity. The playback
> > > > was distorted. I then exported to WAV and played in Sound Forge
> > > > (windows) and the wave form was nice and the sound was perfect!
> > > > Seems the problem is only when I playback in FreeBSD.
> > > > Any other ideia?
> > > >
> > > > Well, if it is important: I'm running:
> > > > $ uname -a
> > > >
> > > > FreeBSD machine.STUDIO 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18
> > > > 02:24:46 UTC 2011
> > > > root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
> > > >
> > > > Thanks
> > > >
> > > > > --HPS
> > >
> > > It might be that the device announces it supports 44.1KHz, though the
> > > actual
> > > rate is 48KHz.
> > >
> > > Try this patch:
> > >
> > > http://svn.freebsd.org/changeset/base/220900
> >
> > Hello. I tried.
> > I backuped the original uaudio.c and put the new one in
> > /usr/src/sys/dev/sound/usb
> > and then:
> >
> > # cd /usr/src/sys/modules/sound/driver/uaudio
> > # make
> >
> > The result was:
> >
> > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c
> >
> /usr/src/sys/modules/sound/driver/uaudio/../../../../dev/sound/usb/uaudio.c
> >
> /usr/src/sys/modules/sound/driver/uaudio/../../../../dev/sound/usb/uaudio.c
> > : In function 'uaudio_probe':
> >
> /usr/src/sys/modules/sound/driver/uaudio/../../../../dev/sound/usb/uaudio.c
> > :548: error: 'UQ_AU_VENDOR_CLASS' undeclared (first use in this function)
> >
> /usr/src/sys/modules/sound/driver/uaudio/../../../../dev/sound/usb/uaudio.
> > c:548: error: (Each undeclared identifier is reported only once
> >
> /usr/src/sys/modules/sound/driver/uaudio/../../../../dev/sound/usb/uaudio.c
> > :548: error: for each function it appears in.)
> >
> /usr/src/sys/modules/sound/driver/uaudio/../../../../dev/sound/usb/uaudio.c
> > :564: error: 'UQ_BAD_MIDI' undeclared (first use in this function)
> >
> /usr/src/sys/modules/sound/driver/uaudio/../../../../dev/sound/usb/uaudio.c
> > : In function 'uaudio_attach':
> >
> /usr/src/sys/modules/sound/driver/uaudio/../../../../dev/sound/usb/uaudio.c
> > :598: error: 'UQ_AU_VENDOR_CLASS' undeclared (first use in this function)
> > *** Error code 1
> >
> > Did I made anything wrong or maybe we're missing a SVN update for
> uaudio.h
> > or something?
>
> Then you also need to import the usb/quirk folder and related files and
> possibly also usb/usbdevs
>
Should I try import the files and try to make uaudio with that patch after
the trick with setting "sysctl hw.usb.uaudio.default_rate=44100" ?
Thanks,
Marcel Bonnet
>
> --HPS
>
--
Marcel Bonnet
*"No princípio era o caos... e no meio também."*
www.monovox.net.br
twitter.com/mono_vox
FreeBSD inside
More information about the freebsd-multimedia
mailing list