Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* hdsp problem
@ 2004-01-13 12:23 Tim Blechmann
  2004-01-15 16:11 ` Jesse Chappell
  0 siblings, 1 reply; 4+ messages in thread
From: Tim Blechmann @ 2004-01-13 12:23 UTC (permalink / raw)
  To: alsa list

i've got a problem with my hammerfall dsp (multiface + cardbus) ...

it might be an alsa problem: i can load all modules and upload the
firmware with hdsploader ... and i can mix the inchannels to the
outchannels with hdspmixer ... 
but when i start a sound application (jack,oss layer, aplay) everything
i get is a distorted sound. i recorded this sound and it seems that
there is one block of audio data followed by one block of silence (have
a look at it at http://www.volny.cz/guitar_billy/hdsp.screenshot.png,
there might be some errors at the edges of the blocks because of the mp3
compression of the original soundfile, thanks to alex for putting it
online!)
then i start any sound application the sound that's routed from
the input is being distorted, too, (i suppose every second block is
cleared to zero samples)

i used several alsa version, several kernels (2.4, 2.6), changing the
pci latency doesn't change anything, either ...

if anyone has an idea, what might be the issue, i'd be interesting to
hear...

 Tim                          mailto:TimBlechmann@gmx.de
                              ICQ: 96771783
--
The only people for me are the mad ones, the ones who are mad to live,
mad to talk, mad to be saved, desirous of everything at the same time,
the ones who never yawn or say a commonplace thing, but burn, burn,
burn, like fabulous yellow roman candles exploding like spiders across
the stars and in the middle you see the blue centerlight pop and
everybody goes "Awww!"
                                                          Jack Kerouac



-- 
 Tim                          mailto:TimBlechmann@gmx.de
                              ICQ: 96771783
--
The only people for me are the mad ones, the ones who are mad to live,
mad to talk, mad to be saved, desirous of everything at the same time,
the ones who never yawn or say a commonplace thing, but burn, burn,
burn, like fabulous yellow roman candles exploding like spiders across
the stars and in the middle you see the blue centerlight pop and
everybody goes "Awww!"
                                                          Jack Kerouac



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: hdsp problem
  2004-01-13 12:23 hdsp problem Tim Blechmann
@ 2004-01-15 16:11 ` Jesse Chappell
  2004-01-15 20:30   ` Tim Blechmann
  0 siblings, 1 reply; 4+ messages in thread
From: Jesse Chappell @ 2004-01-15 16:11 UTC (permalink / raw)
  To: Tim Blechmann; +Cc: alsa list

Paul Davis experienced this recently with his cardbus/digiface,
with both 0.9.8 and 1.0.x.  He found that it only does this when
the period size is >= 512.  At 256 and below, it works fine for
him.   Give that a try.......

I need to test my personal system to verify this happens for me
too.  

jlc

Tim Blechmann wrote on Tue, 13-Jan-2004:

 > i've got a problem with my hammerfall dsp (multiface + cardbus) ...
 > 
 > it might be an alsa problem: i can load all modules and upload the
 > firmware with hdsploader ... and i can mix the inchannels to the
 > outchannels with hdspmixer ... 
 > but when i start a sound application (jack,oss layer, aplay) everything
 > i get is a distorted sound. i recorded this sound and it seems that
 > there is one block of audio data followed by one block of silence (have
 > a look at it at http://www.volny.cz/guitar_billy/hdsp.screenshot.png,
 > there might be some errors at the edges of the blocks because of the mp3
 > compression of the original soundfile, thanks to alex for putting it
 > online!)
 > then i start any sound application the sound that's routed from
 > the input is being distorted, too, (i suppose every second block is
 > cleared to zero samples)
 > 
 > i used several alsa version, several kernels (2.4, 2.6), changing the
 > pci latency doesn't change anything, either ...
 > 
 > if anyone has an idea, what might be the issue, i'd be interesting to
 > hear...
 


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: hdsp problem
  2004-01-15 20:30   ` Tim Blechmann
@ 2004-01-15 20:02     ` Paul Davis
  0 siblings, 0 replies; 4+ messages in thread
From: Paul Davis @ 2004-01-15 20:02 UTC (permalink / raw)
  To: Tim Blechmann; +Cc: Jesse Chappell, alsa list, alsa-user, linux-audio-user

>it's not working on my system (i tried 64, 128, 256) ... but playing

then i guess there is more than one problem. i would also recommend
checking into whatever is sharing the interrupt that the hdsp is
on. on my laptop, way too many things are on IRQ10 (USB, CardBus,
Wifi, HDSP). this seems hard to change, but it might have some effect.

>with the different settings, i figured out, that i can't change the
>number of periods in the hardware buffer ... it's always 2 times the
>number of frames per period ...

thats the hardware design of all the hammerfall series devices. RME
calls its "ASIO in hardware". snicker.

>jack returns as error message:
>ALSA: cannot set number of periods to 1 for capture 

that would make no sense whatsoever. 

>nearly giving up the hope ...

never give up. there are lots of people using the h/w you have with
100% success. i have to pack up and run off to NAMM now. sorry i can't
be more helpful for now.

--p


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: hdsp problem
  2004-01-15 16:11 ` Jesse Chappell
@ 2004-01-15 20:30   ` Tim Blechmann
  2004-01-15 20:02     ` Paul Davis
  0 siblings, 1 reply; 4+ messages in thread
From: Tim Blechmann @ 2004-01-15 20:30 UTC (permalink / raw)
  To: Jesse Chappell; +Cc: alsa list, alsa-user, linux-audio-user

> Paul Davis experienced this recently with his cardbus/digiface,
> with both 0.9.8 and 1.0.x.  He found that it only does this when
> the period size is >= 512.  At 256 and below, it works fine for
> him.   Give that a try.......
it's not working on my system (i tried 64, 128, 256) ... but playing
with the different settings, i figured out, that i can't change the
number of periods in the hardware buffer ... it's always 2 times the
number of frames per period ...
jack returns as error message:
ALSA: cannot set number of periods to 1 for capture 
ALSA: cannot configure playback channel
cannot load driver module alsa

is it possible that this is the problem? i don't understand how the
driver works but if the hardware buffer always gets one block instead of
two and plays it back the whole hardware buffer the samples would be
late ...
on the other hand the distortion i hear is not related to the block
size... (btw, i tried to record a sound ... that works fine ...)

nearly giving up the hope ...

 Tim                          mailto:TimBlechmann@gmx.de
                              ICQ: 96771783
--
The only people for me are the mad ones, the ones who are mad to live,
mad to talk, mad to be saved, desirous of everything at the same time,
the ones who never yawn or say a commonplace thing, but burn, burn,
burn, like fabulous yellow roman candles exploding like spiders across
the stars and in the middle you see the blue centerlight pop and
everybody goes "Awww!"
                                                          Jack Kerouac



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-01-15 20:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-13 12:23 hdsp problem Tim Blechmann
2004-01-15 16:11 ` Jesse Chappell
2004-01-15 20:30   ` Tim Blechmann
2004-01-15 20:02     ` Paul Davis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox