Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2003 10:15:55 -0600 (CST)
From:      Jim Ramsay <lists@jimramsay.com>
To:        freebsd-multimedia@freebsd.org
Subject:   ecasound and/or multitracking
Message-ID:  <20030129094807.S31039@holmes.jimramsay.com>

next in thread | raw e-mail | index | archive | help
I finally got my soundcard (CMI8738) to do some duplex work using
hw.snd.pcm0.vchans=4 and ecasound, but I've ran into a bit of a snag.

(for some {unrelated?} reason audacity still won't let me do duplex...)

In the following examples, /dev/dspxy is symlinked to /dev/dspx.y

Recording a single track (no playback) works great:

ecasound -c -r -i /dev/dsp00 -o one.wav

I type "start[enter]" to start recording, and "stop[enter]" to end.

Then trying to do a multitrack does odd things:

ecasound -c -r -a:1 -i /dev/dsp00 -o two.wav -a:2 -i one.wav -o /dev/dsp01

I type "start[enter]" and nothing seems to happen.  If I hold down the
[enter] key, the playback begins, and I can record audio simultaneously
into two.wav.

Any ideas why this would happen?  Does ecasound suck?  Is there a better
multi-track duplex recorder out there somewhere that'll work with my card?
As I mentioned above, I've tried audacity, but it won't let me do
full-duplex at all.

Misc settings:

`cat /dev/sndstat`
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <CMedia CMI8738> at io 0xb000 irq 10 (1p/1r/4v channels duplex)

`ls -l /dev/dsp*`
lrwxrwxrwx   1 root     wheel           4 Jul 11  2002 /dev/dsp -> dsp0
lrwxrwxrwx   1 root     wheel           6 Jul 11  2002 /dev/dsp0 -> dsp0.0
crw-rw-rw-   1 root     wheel     30,      3 Jan 29 08:38 /dev/dsp0.0
crw-rw-rw-   1 root     wheel     30,  65539 Jan 29 08:38 /dev/dsp0.1
crw-rw-rw-   1 root     wheel     30, 131075 Nov 26 19:03 /dev/dsp0.2
crw-rw-rw-   1 root     wheel     30, 196611 Nov 26 19:02 /dev/dsp0.3
lrwxr-xr-x   1 root     wheel          6 Nov 26 23:50 /dev/dsp00 -> dsp0.0
lrwxr-xr-x   1 root     wheel          6 Nov 26 23:50 /dev/dsp01 -> dsp0.1
lrwxr-xr-x   1 root     wheel          6 Nov 26 23:50 /dev/dsp02 -> dsp0.2
lrwxr-xr-x   1 root     wheel          6 Nov 26 23:50 /dev/dsp03 -> dsp0.3
...

`uname -r`
4.6-RELEASE

Thanks!

Jim Ramsay

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




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