Re: microphone recording - vu meter
nospam_at_geniegate.com
Date: 07/18/05
- Previous message: Shadow_7: "Re: Debian Installer - Dselect Has Stopped Working"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 18 Jul 2005 21:09:13 GMT
Abanowicz Tomasz <abanowicztomek@wp.pl> wrote:
> Hello
>
> I'm looking for a text console program that allows me recording through
> the microphone in mono and 44.1 Khz. I want this program to have the "vu
> meter".
I don't know about the "vu meter" but...
> I know the "record" program but I don't know how to force it to record
> in mono.
There is always 'sox' with it's endless list of arguments, you might
be able to pipe it through and mix it down to mono.
Here is one way I've done it: (no vu meter though)
brec -s 44100 -b 16 -w |
lame -q 2 -m m -b 224 --bitwidth 16 -s 44.1 - /tmp/myfile.mp3
Programs that work with pipes are ideal in situations like this, they
get rid of the need for large temporary files.
You might stick a tee in the line, and then use a variant of
<(program_name) like xmms to give you the VU meter. Have it's
output module sunk to a null device. I don't have a mic at the moment
so I don't know if this will work, but a variation of:
brec -s 44100 -b 16 -w | \
tee >(some_program -) | \
lame -q 2 -m m -b 224 --bitwidth 16 -s 44.1 - /tmp/myfile.mp3
(or replace ">(some_program -)" with a fifo, see 'man mknod'
Problem is, xmms won't accept standard input as an argument, nor
will it read from a named pipe. So.. it's up to you to find something
that takes stdin and produces a vu meter. Ideally something that
reads stdin, produces a VU meter and then sends it out to stdout
so as to eliminate the whole 'tee' thing.
What I'm looking for is a program to pipe the stream through an
eq. (I could use bandpass filters, but...) The catch: I want
different EQ settings on each channel, left gets one set, right
gets another.
Jamie
-- http://www.geniegate.com Custom web programming User Management Solutions Perl / PHP / Java / UNIX
- Previous message: Shadow_7: "Re: Debian Installer - Dselect Has Stopped Working"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|