Re: Problems with audio recording

2003-10-19 Thread DoubleF
On Mon, 29 Sep 2003 21:59:53 + Daniela <[EMAIL PROTECTED]> probably wrote:

> On Monday 29 September 2003 09:21, Sergey "DoubleF" Zaharchenko wrote:
> > On Sun, 28 Sep 2003 18:45:39 + Daniela <[EMAIL PROTECTED]> probably wrote:
> > > Probably a stupid question:
> > >
> > > I need to record sound and it just won't work. I set the recording level
> > > to 75:75 and the recording source to "Line" (I'm not sure this is
> > > correct)
> >
> > This depends on what you are actually trying to record. If you are
> > recording from a microphone, it should be "mic",if you are recording
> > from line input - "line".
> 
> So my recording source is correct. Is there a way to get more information? 
> I haven't got a single useful message out of the programs I used. Could this 
> be a hardware problem (I'm not a hardware expert)? Are there any diagnostic 
> tools?
> 
> Daniela

cat /dev/dsp>file was meant to be one...

Can you record sound from a microphone (trying to find out if it's hardware)?

-- 
DoubleF
Should old bootloaders be forgot and never brought to mind...


pgp0.pgp
Description: PGP signature


Re: Problems with audio recording

2003-10-02 Thread DoubleF
On Wed, 1 Oct 2003 18:09:03 + Daniela <[EMAIL PROTECTED]> probably wrote:

> Is it really /dev/dsp0?

Check if you can PLAY sound.

> 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.

Sorry, the output explains nothing (the device seems to be up).

Look at the file closer (maybe even dump it with "od" or such ): is it
absolute silence (always zero) or is it 0+-1? If it's always zero, it's
probably the soundcard, otherwise probably the input source (cable,...).
Don't quote me on that, though.

-- 
DoubleF
If a situation requires undivided attention, it will
occur simultaneously with a compelling distraction.


pgp0.pgp
Description: PGP signature


Re: Problems with audio recording

2003-10-01 Thread Daniela
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
>
>
> 
>
> 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 ] --



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problems with audio recording

2003-09-30 Thread Daniela
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
>
>
> 
>
> 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


Works all well until here. It still doesn't record anything. I guess it's 
either hardware failure or I'm too stupid for it :-(



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problems with audio recording

2003-09-29 Thread Daniela
On Monday 29 September 2003 09:21, Sergey "DoubleF" Zaharchenko wrote:
> On Sun, 28 Sep 2003 18:45:39 + Daniela <[EMAIL PROTECTED]> probably wrote:
> > Probably a stupid question:
> >
> > I need to record sound and it just won't work. I set the recording level
> > to 75:75 and the recording source to "Line" (I'm not sure this is
> > correct)
>
> This depends on what you are actually tring to record. If you are
> recording from a microphone, it should be "mic",if you are recording
> from line input - "line".

So my recording source is correct. Is there a way to get more information? 
I haven't got a single useful message out of the programs I used. Could this 
be a hardware problem (I'm not a hardware expert)? Are there any diagnostic 
tools?

Daniela


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problems with audio recording

2003-09-28 Thread DoubleF
On Sun, 28 Sep 2003 18:45:39 + Daniela <[EMAIL PROTECTED]> probably wrote:

> Probably a stupid question:
> 
> I need to record sound and it just won't work. I set the recording level to 
> 75:75 and the recording source to "Line" (I'm not sure this is correct)

This depends on what you are actually tring to record. If you are
recording from a microphone, it should be "mic",if you are recording
from line input - "line".

-- 
DoubleF
When outrageous expenditures are divided finely enough
the public will not have enough stake in any one
expenditure to squelch it.


pgp0.pgp
Description: PGP signature


Problems with audio recording

2003-09-28 Thread Daniela
Probably a stupid question:

I need to record sound and it just won't work. I set the recording level to 
75:75 and the recording source to "Line" (I'm not sure this is correct), and 
I tried sox, cat /dev/dsp > file, aurecord and numerous graphical recording 
utilities. I don't get any error messages, I just get silence.

I have already searched the mailing list archives and documentation, but 
nothing helped.

Best regards,
Daniela

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"