Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Apr 2011 23:15:01 -0300
From:      Marcel Bonnet <marcelbonnet@gmail.com>
To:        freebsd-multimedia@freebsd.org
Subject:   uaudio, M-Audio FastTrack Pro device - sound distorted
Message-ID:  <BANLkTimAZtcpe2Ba5P0qsHKiH2-G691GCQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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.

Thanks in advance,
Marcel Bonnet.

--------------

# dmesg

ugen0.2: <M-Audio> at usbus0
uaudio0: <FastTrack Pro> on usbus0
uaudio0: Play: 44100 Hz, 2 ch, 16-bit S-LE PCM format
uaudio0: Record: 48000 Hz, 2 ch, 16-bit S-LE PCM format
uaudio0: MIDI sequencer
pcm0: <USB audio> on uaudio0


# usbconfig -u 0 -a 2
ugen0.2: <FastTrack Pro M-Audio> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=ON

# sysctl hw.snd

hw.snd.feeder_rate_quality: 1
hw.snd.feeder_rate_round: 25
hw.snd.feeder_rate_max: 2016000
hw.snd.feeder_rate_min: 1
hw.snd.feeder_rate_polyphase_max: 183040
hw.snd.feeder_rate_presets: 100:8:0.85 100:36:0.92 100:164:0.97
hw.snd.feeder_eq_exact_rate: 0
hw.snd.feeder_eq_presets:
PEQ:16000,0.2500,62,0.2500:-9,9,1.0:44100,48000,88200,96000,176400,192000
hw.snd.vpc_reset: 0
hw.snd.vpc_0db: 45
hw.snd.vpc_autoreset: 1
hw.snd.latency_profile: 1
hw.snd.latency: 5
hw.snd.report_soft_matrix: 1
hw.snd.report_soft_formats: 1
hw.snd.compat_linux_mmap: 0
hw.snd.vpc_mixer_bypass: 1
hw.snd.verbose: 1
hw.snd.maxautovchans: 16
hw.snd.default_unit: 0
hw.snd.version: 2009061500/i386
hw.snd.default_auto: 0

# sysctl dev.pcm

dev.pcm.0.%desc: USB audio
dev.pcm.0.%driver: pcm
dev.pcm.0.%parent: uaudio0
dev.pcm.0.play.vchans: 1
dev.pcm.0.play.vchanmode: fixed
dev.pcm.0.play.vchanrate: 44100
dev.pcm.0.play.vchanformat: s16le:2.0
dev.pcm.0.rec.vchans: 1
dev.pcm.0.rec.vchanmode: fixed
dev.pcm.0.rec.vchanrate: 48000
dev.pcm.0.rec.vchanformat: s16le:2.0
dev.pcm.0.buffersize: 0
dev.pcm.0.bitperfect: 0

# cat /dev/sndstat

FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
Installed devices:
pcm0: <USB audio> at ? kld snd_uaudio (1p:1v/1r:1v) default

# mixer -f /dev/mixer0

Mixer vol      is currently set to  75:75
Mixer pcm      is currently set to  75:75



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