Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Oct 2003 18:09:03 +0000
From:      Daniela <dgw@liwest.at>
To:        "Paul Hamilton" <paul@bdug.org.au>
Cc:        Freebsd-Questions <freebsd-questions@freebsd.org>
Subject:   Re: Problems with audio recording
Message-ID:  <200310011809.03811.dgw@liwest.at>
In-Reply-To: <AGEHIFHGNEMPFNCPLONMIEMHFDAA.paul@bdug.org.au>
References:  <AGEHIFHGNEMPFNCPLONMIEMHFDAA.paul@bdug.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 29 September 2003 23:35, Paul Hamilton wrote:
> Hi Daniela,
>
> Here are a few notes I have made on playing with audio in/out.  I mainly
> use this to record radio programs, for play back at a later time.  The
> radio is plugged into 'LineIn', and I use Ecasound to handle the recording
> and converting to a MP3 file.  Works a treat.  Read the indepth 'man' files
> for more info on each package/program.
>
> Cheers,
>
> Paul Hamilton
>
>
> <NOTES>
>
> http://eca.cx/	; ECASOUND Web site
>
> Add to kernel:		"device	pcm"
> cd /dev
> ./MAKEDEV snd0
> cat /dev/sndstat	;to see if it's configured properly
>
> pkg_add ecasound-1.8.5d15
> pkg_add nmixer-2.0b17
> pkg_add mpg123-x.x.x
> pkg_add festival-x.x.x		: text to voice sythasizer
>
> Sound Recording:-
>
> Set nmixer
> 	Set Mic to 3
> 	Set rec to 3
> 	Run:	ecasound -I:/dev/dsp0 -o test.wav


Thanks, works all well until here. It still doesn't record anything. I guess 
it's either the soundcard or I'm too stupid for it  :-(

Is it really /dev/dsp0?
Below is the output from ecasound, maybe it helps (I installed from source 
with debug symbols). The file test.wav is there after running ecasound, but 
there's only silence in it.

Regards,
Daniela



****************************************************************************
*               ecasound v2.2.4 (C) 1997-2003 Kai Vehmanen
****************************************************************************
- [ Session created ] ------------------------------------------------------
- [ Chainsetup created (cmdline) ] -----------------------------------------
(libkvutils) kvu_rtcaps: warning! POSIX_MEMLOCK not supported
- [ Connecting chainsetup ] ------------------------------------------------
(eca-chainsetup) 'rt' buffering mode selected.
(eca-chainsetup) Audio object "/dev/dsp", mode "read".
(audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
Warning: DBC_CHECK failed - "sizeof(long int) == sizeof(off_t)", 
eca-fileio-stream.cpp, 159.
Warning: DBC_CHECK failed - "sizeof(long int) == sizeof(off_t)", 
eca-fileio-stream.cpp, 159.
Warning: DBC_CHECK failed - "sizeof(long int) == sizeof(off_t)", 
eca-fileio-stream.cpp, 159.
Warning: DBC_CHECK failed - "sizeof(long int) == sizeof(off_t)", 
eca-fileio-stream.cpp, 159.
Warning: DBC_CHECK failed - "sizeof(long int) == sizeof(off_t)", 
eca-fileio-stream.cpp, 159.
(eca-chainsetup) Audio object "test.wav", mode "read/write".
(audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
- [ Chainsetup connected ] -------------------------------------------------
(eca-controller) Connected chainsetup:  "command-line-setup".
- [ Controller/Starting batch processing ] ---------------------------------
- [ Engine init - Driver start ] -------------------------------------------
(eca-engine) Prefilling i/o buffers.
^C- [ Controller/Processing stopped (cond) ] ---------------------------------
- [ Engine exiting ] -------------------------------------------------------
(eca-controller) Disconnecting chainsetup:  "command-line-setup".
Warning: DBC_CHECK failed - "sizeof(long int) == sizeof(off_t)", 
eca-fileio-stream.cpp, 159.
Warning: DBC_CHECK failed - "sizeof(long int) == sizeof(off_t)", 
eca-fileio-stream.cpp, 159.
Warning: DBC_CHECK failed - "sizeof(long int) == sizeof(off_t)", 
eca-fileio-stream.cpp, 159.
Warning: DBC_CHECK failed - "sizeof(long int) == sizeof(off_t)", 
eca-fileio-stream.cpp, 159.
Warning: DBC_CHECK failed - "sizeof(long int) == sizeof(off_t)", 
eca-fileio-stream.cpp, 159.
Warning: DBC_CHECK failed - "sizeof(long int) == sizeof(off_t)", 
eca-fileio-stream.cpp, 159.
Warning: DBC_CHECK failed - "sizeof(long int) == sizeof(off_t)", 
eca-fileio-stream.cpp, 159.
Warning: DBC_CHECK failed - "sizeof(long int) == sizeof(off_t)", 
eca-fileio-stream.cpp, 159.
- [ Chainsetup disconnected ] ----------------------------------------------





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