View previous topic :: View next topic |
Author |
Message |
morpha n00b
Joined: 05 Mar 2003 Posts: 20 Location: Portland, OR
|
Posted: Mon May 05, 2003 9:27 pm Post subject: sound latency on Midiman Delta 1010 |
|
|
I've emerged ALSA on a dual Athlon machine with a Delta 1010. I had to compile envy24control separately, because emerge didn't use it for some reason. Now I get decent sound but ARTS has the tendency to fail, and prevent recording through KRec? Also the MIDI in and out fails to be recognized like it normally was in REdHat 8 with Alsa. Any suggestions? Any recommendations on recording software?
Also ALSA requires me to autoload a slew of modules. Is there an equivalent file to rc.modules wher I can put those entries that will not be overwritten by etc-update?javascript:emoticon('')
Thanks in advance. |
|
Back to top |
|
|
skarji n00b
Joined: 30 Apr 2003 Posts: 19
|
Posted: Tue May 06, 2003 1:44 am Post subject: |
|
|
hi..may i suggest that you have a look at the alsa guide . Also..follow the links provided at the end of the document as they point out how to better utilise your card. The envy24control is provided in the alsa-tools package so emerging that would not be a bad idea. _________________ Switch to Linux
http://www.ubergeek.tv/switchlinux/ |
|
Back to top |
|
|
morpha n00b
Joined: 05 Mar 2003 Posts: 20 Location: Portland, OR
|
Posted: Tue May 06, 2003 10:06 pm Post subject: already did |
|
|
I already emerged the asla components without following the alsaguide from gentoo. And I'm familiar with the asla components required to ge this sound card going which has previously operated in RH8. But just to check I unmerged and reddid it with all of the rc-update and update-modules stuff specified in the Gentoo man page. Doing this had no effect; Arts still doesn't work quite nor does Sweep or XMMS. |
|
Back to top |
|
|
french tony Tux's lil' helper
Joined: 21 Aug 2002 Posts: 148 Location: Belfast
|
Posted: Thu May 08, 2003 11:35 am Post subject: |
|
|
mmm. your latency prolly comes from arts.IMHO it is a bit of a contradiction to use arts with such a good sound-card.......
If you want to record, why not try ardour/jack? the install is simple enough, and i would help you with it. (pm or email me)
mmm, Delta1010. derwl |
|
Back to top |
|
|
Chris Finch Tux's lil' helper
Joined: 10 Mar 2003 Posts: 106 Location: Darmstadt, Germany
|
Posted: Fri Aug 15, 2003 9:41 pm Post subject: |
|
|
Dear Tony,
could you please post (or pm) your
/etc/modules.d/alsa
/etc/devfsd.conf
~/.asoundrc
as I'm a proud owner of a Delta1010, too, but can't get round a couple of things. For instance, many programs seem to be able to access the card only via oss emulation. Another, probably banal, question is: shouldn't there be separate devices for all channels of my card? Or how else do I address these? Many thanks in advance! |
|
Back to top |
|
|
Woody Guru
Joined: 30 Nov 2002 Posts: 592 Location: Milwaukee
|
Posted: Fri Aug 15, 2003 9:51 pm Post subject: |
|
|
Chris Finch wrote: |
as I'm a proud owner of a Delta1010, too, but can't get round a couple of things. For instance, many programs seem to be able to access the card only via oss emulation. Another, probably banal, question is: shouldn't there be separate devices for all channels of my card? Or how else do I address these? Many thanks in advance! |
There shouldnt be separate devices at the hardware level as its 10x12
interleaved. In order to get consumer apps to use the card I use a 'plug'
plugin to handle automatic channel count, format,samplerate conversion.
have a look at:
http://alsa.opensrc.org/index.php?page=.asoundrc
HTH. |
|
Back to top |
|
|
Chris Finch Tux's lil' helper
Joined: 10 Mar 2003 Posts: 106 Location: Darmstadt, Germany
|
Posted: Sat Aug 16, 2003 3:11 pm Post subject: |
|
|
Hi, thanks for the info, I tried to follow the instructions given in the above link, but I encounter some errors.
First of all, playing a standard stereo 44.1 sample via `aplay -v test.wav' yields:
Code: |
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Plug PCM: Route conversion PCM (sformat=S32_LE)
Transformation table:
0 <- 0
1 <- 1
2 <- none
3 <- none
4 <- none
5 <- none
6 <- none
7 <- none
8 <- none
9 <- none
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 44100
exact rate : 44100 (44100/1)
msbits : 16
buffer_size : 6553
period_size : 1638
period_time : 37142
tick_time : 10000
tstamp_mode : NONE
period_step : 1
sleep_min : 0
avail_min : 1638
xfer_align : 1638
start_threshold : 6552
stop_threshold : 6553
silence_threshold: 0
silence_size : 0
boundary : 1717829632
Slave: Hardware PCM card 0 'M Audio Delta 1010' device 0 subdevice 0
Its setup is:
stream : PLAYBACK
access : MMAP_INTERLEAVED
format : S32_LE
subformat : STD
channels : 10
rate : 44100
exact rate : 44100 (44100/1)
msbits : 24
buffer_size : 6553
period_size : 1638
period_time : 37142
tick_time : 10000
tstamp_mode : NONE
period_step : 1
sleep_min : 0
avail_min : 1638
xfer_align : 1638
start_threshold : 6552
stop_threshold : 6553
silence_threshold: 0
silence_size : 0
boundary : 1717829632
|
(why is it `format : S16_LE' and `format : S32_LE'?) but trying `aplay -D hw:0,0 test.wav' gives me
Code: |
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
aplay: set_params:805: Sample format non available
|
and `aplay -D hw:0,1 test.wav' results in
Code: |
ALSA lib pcm_hw.c:1078:(snd_pcm_hw_open) open /dev/snd/pcmC0D1p failed: No such file or directory
aplay: main:480: audio open error: No such file or directory
|
There is no sound with the latter two commands.
My ~/.asoundrc is
Code: |
pcm.ice1712 {
type hw
card 0
}
ctl.ice1712 {
type hw
card 0
}
|
Any ideas on that? Thanks in advance! |
|
Back to top |
|
|
Woody Guru
Joined: 30 Nov 2002 Posts: 592 Location: Milwaukee
|
Posted: Sun Aug 17, 2003 6:32 am Post subject: |
|
|
I'm a little confused because I see slightly different ouput. Regardless:
* there is no hw:0,1 hence the "no such file..."
* using hw:0,0 or just hw:0 will require the wav to be in the devices native
format
So I suggest you do the following for everday playback:
Code: | # aplay -D plug:hw:0 test.wav |
and alsalib will take care of any samplerate/format issues.
Now as for asoundrc, all you have done is create a tag for hw:0, i.e.
and
are exactly the same.
You can also do the above for the plug plugin:
Code: |
pcm.ice1712_plug {
type plug
slave.pcm hw:0
}
ctl.ice1712_plug {
type hw
card hw:0
}
|
and then ice1712_plug and plug:hw:0 are the same thing. HTH.
There are many other things you can do like creating psuedo stereo
devices and the like, but the documentation is a bit unclear. |
|
Back to top |
|
|
Chris Finch Tux's lil' helper
Joined: 10 Mar 2003 Posts: 106 Location: Darmstadt, Germany
|
|
Back to top |
|
|
krinkle Guru
Joined: 04 Feb 2003 Posts: 338 Location: Garden Grove, CA
|
Posted: Mon Aug 18, 2003 8:28 pm Post subject: |
|
|
woody, you are amazing, how did you learn this stuff about alsa? I've been trying to find decent domuntation, but i can't =/ Did you learn purely just by making stuff work? Seriously though, hats off man |
|
Back to top |
|
|
|