You are not logged in.

#1 2011-08-06 11:02:05

hobarrera
Member
From: The Netherlands
Registered: 2011-04-12
Posts: 355
Website

[SOLVED] Simple program to record from a microphone.

Hi!

I'm looking for a very simple program to record something using a microphone.  Preferibly, it should be pulseaudio-based, since I'm using that with bluetooth headsets.
I've browsed through the repositories, and found nothing, and I came across two in AUR, but they did not work, and had no aditional documentation, nor anything helpful, like configuration, or something (the just "don't work").

If it's x11 based, that's a plus, but I don't mind trying something terminal-based.

All I want to do is verify my microphone works fine and record a couple of sentances tongue

Thanks!

Last edited by hobarrera (2011-08-06 16:33:22)

Offline

#2 2011-08-06 11:05:34

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Simple program to record from a microphone.

http://audacity.sourceforge.net/about/features
No idea about pulseaudio.

Last edited by karol (2011-08-06 11:06:54)

Offline

#3 2011-08-06 11:08:14

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: [SOLVED] Simple program to record from a microphone.


This silver ladybug at line 28...

Offline

#4 2011-08-06 11:41:12

hobarrera
Member
From: The Netherlands
Registered: 2011-04-12
Posts: 355
Website

Re: [SOLVED] Simple program to record from a microphone.

Thanks for the really quick responses.
Regarding Audacity:

Audacity doesn't support PulseAudio, nor Esound for the moment. You'll have to kill or suspend pulseaudio before you use this application. Audacity uses the PortAudio cross-platform Audio API which doesnt support pulseaudio. Some work was started on making portaudio support PulseAudio but this does not appear to be under active development currently and does not work in it's current state.

(source)


sox did the job pretty well, though I did have to google a bit in order to use it with pulse.
For future reference, I used:

  $ pacat --record -d bluez_source.00_13_17_24_70_C9 | sox -t raw -r 44100 -s -L -b 16 -c 2 - "output.wav"

I got the device name with "pactl list", making sure I used the once that says "SOURCE", and not "CARD".

Offline

#5 2011-08-06 13:34:21

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: [SOLVED] Simple program to record from a microphone.

Cool. You may want to mark "[SOLVED]" for others to find your solution using this tag in the future smile


This silver ladybug at line 28...

Offline

#6 2011-08-06 16:33:04

hobarrera
Member
From: The Netherlands
Registered: 2011-04-12
Posts: 355
Website

Re: [SOLVED] Simple program to record from a microphone.

lolilolicon wrote:

Cool. You may want to mark "[SOLVED]" for others to find your solution using this tag in the future smile

Yup, you're right, sorry.

Offline

#7 2011-08-09 05:26:23

vkumar
Member
Registered: 2008-10-06
Posts: 166

Re: [SOLVED] Simple program to record from a microphone.

Hold on.

hobarrera, from your source, I also see:

The following is information for versions without the pulseaudio patch [...]

I'm inclined to believe that Arch includes this patch, because pulseaudio and audacity work very well with both my usb headset, and my laptop's internal microphone.


div curl F = 0

Offline

#8 2011-08-09 22:52:42

hobarrera
Member
From: The Netherlands
Registered: 2011-04-12
Posts: 355
Website

Re: [SOLVED] Simple program to record from a microphone.

vkumar wrote:

Hold on.

hobarrera, from your source, I also see:

The following is information for versions without the pulseaudio patch [...]

I'm inclined to believe that Arch includes this patch, because pulseaudio and audacity work very well with both my usb headset, and my laptop's internal microphone.

I actually did try it, but only ALSA was listed.  When using "padsp audacity", I was OSS listed, but only for output (naturally).  I do admit, I didn't do any more research regarding it though.

The patch doesn't seem to be included in the PKGBUILD.

Offline

Board footer

Powered by FluxBB