0
votes
0answers
9 views

How to record sound in buffer using ALSA [migrated]

I'm beginning to learn Linux and ALSA and I was wondering if there is a way to store the sound I record from a microphone directly to the buffer. I read here ...
2
votes
1answer
40 views

What is the modern equivalent of reading `/dev/audio`?

Recently my trusty home PC died after 10 years. The ensuing upgrade (from SuSE 10 to OpenSuSE 12.3) was something of a culture shock for me - none of the convenient shortcuts and utilities I had ...
0
votes
1answer
14 views

Opening ALSA Microphone in two programs?

I'm using a raspberry pi to capture some audio, but I only want it to do it when the noise level goes above a certain level, and then the device will record until two seconds after it falls below that ...
0
votes
1answer
162 views

Alsaaudio module, recording for specific amount of time

The below code records the audio for some time (I don't know how much) How to calculate the total time of its recording? For example, if I want to record for just one minute then how would I limit ...
1
vote
1answer
347 views

audio recording - record two sources simultaneously, merge into a single 2-track recording

How can I record two audio sources at the same time and create a file where one source is the left channel and the other source is the right channel of a lossless stereo audio recording? My distro ...
1
vote
1answer
254 views

record audio on Linux - capture both sides of a VoIP conversation

I want to use Audacity (or similar) to record audio for podcasting. The podcasts will be interviews conducted via voice-over-IP (SIP) telephone. I came across an excellent tutorial here: ...
2
votes
1answer
1k views

Using FFMPEG to stream to Twitch.tv with desktop audio?

I've been trying for the last hour or so to stream to Twitch.tv with desktop audio in the stream. Currently, I'm able to use this to get a video to display on Twitch: #! /bin/bash INRES="1280x800" ...
4
votes
2answers
202 views

Can I query which processes (if any) are currently accessing the microphone?

I'm running Debian (technically Raspbian), trying to get a Star-Trek style voice-command system. I've got it mostly up and running, but in the interests of privacy and all that jazz, I don't want my ...
2
votes
1answer
821 views

convert arecord output to flac

I'm trying to convert arecord wav output to flac and it does work in part: pi@raspberrypi /tmp $ arecord -d4 -f dat -t wav -r 48000 -c 2 |flac -f -o message.flac - --channels=1 --sample-rate=16000 ...
5
votes
2answers
566 views

How to encode huge FLAC files into MP3 and other files like AAC?

My problem is very long recordings, longer than supported by WAV. I'm talking about continuous recordings of around eight hours in length. Now, I do most of my recording using sox into FLAC, which ...
3
votes
2answers
1k views

Recording audio output

I've been following these instructions for recording the output of a program I wrote (that uses rtaudio to synthesize music) ...
3
votes
3answers
4k views

amixer - How to change recording channel?

So fat, I am setting up microphone settings : $ amixer set 'Rear Mic' 90% mute cap $ amixer set 'Rear Mic Boost' 80% But, after some sys. update, my default recoding chanell changed to 'Front Mic' ...
2
votes
1answer
2k views

How to get recordmydesktop to record application's audio on Debian/Squeeze?

I'm on an amd64 Debian/Squeeze install on an Intel DX58SO motherboard. I want to use recordmydesktop to record application's audiovisual output. It's important any audio generated by the ...
11
votes
2answers
4k views

How to record my full screen with audio?

If I want to record my desktop, I use: ffmpeg -f x11grab -s `xdpyinfo | grep -i dimensions: | sed 's/[^0-9]*pixels.*(.*).*//' | sed 's/[^0-9x]*//'` -r 25 -i :0.0 -sameq valami.avi But it doesn't ...
10
votes
4answers
3k views

Can I setup a loopback audio device?

If I can send audio to the output devices, then I can record the same audio as a wave. With filesystems, you can just setup a loopback filesystem and write binary data on a file instead of a device. ...
17
votes
3answers
14k views

How can I record the sound output with gtk-recordmydesktop?

I am using gtk-recordmydesktop to record the video output to my desktop. However, the videos have no sound. All the tutorials I found regarding this involved getting sound recorded from a microphone, ...
4
votes
2answers
394 views

Audio recording does not work — how to diagnose?

I used KRec to record some audio, but when I played it back I got nothing. What are the things I need to do to figure out where the problem is? My computer is a Dell OptiPlex DX620, Intel Pentium 4 ...