Sponsored Content
Special Forums UNIX Desktop Questions & Answers arecord not interrupted after specified duration Post 302634299 by thillai_selvan on Thursday 3rd of May 2012 07:12:42 AM
Old 05-03-2012
arecord not interrupted after specified duration

I have used the arecord command like this
arecord -d 1 test.wav
It is keep on waiting. I need to manually interrupt it by ctrl-c. Why it is not interrupting after one second?
The arecord version which I am using is :
arecord: version 1.0.23 by Jaroslav Kysela
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

automated sftp procedure interrupted

Dear experts, I have a local computer and remote computer (only sftp accessed). I want to delete files x and y in both local and remote computer using the following automated script: sftp $remote > /dev/null < mdel.file the file mdel.file has been pre-created, and its content is cd... (2 Replies)
Discussion started by: boyin.huang
2 Replies

2. Programming

Problem with signal handler and interrupted system call

Hi, I have a daq program that runs in an infinite loop until it receives SIGINT. A handler catches the signal and sets a flag to stop the while loop. After the loop some things have to be cleaned up. The problem is that I want my main while loop to wait until the next full second begins, to... (2 Replies)
Discussion started by: soeckel
2 Replies

3. Red Hat

ssh connection refused post yum interrupted update

an update of RHEL 5.1 via yum was interrupted after installing the following packages. Running Transaction Updating : libgcc ##################### Updating : setup ##################### Updating : filesystem ... (4 Replies)
Discussion started by: egrotjahn
4 Replies

4. UNIX for Advanced & Expert Users

arecord, pdflush and bfr.

Hi All I'm using arecord to record directly to a USB key: arecord -f cd > /mnt/usb/myfile.wav But I see buffer overruns at 30 second intervals, which correspond with short bursts of USB write activity. I'm assuming this is related to: /proc/sys/vm/dirty_expire_centiseconds And the... (0 Replies)
Discussion started by: bucksbell
0 Replies

5. Shell Programming and Scripting

Sort by Duration

.......................................................................................................................... 03:40 Geonetric File from CCL Complete 03:40:59 03:41:08 00:00:09 00:00:01 N/A 005 sys_runccl ... (7 Replies)
Discussion started by: Daniel Gate
7 Replies

6. Windows & DOS: Issues & Discussions

Interrupted Cygwin install changed permissions on C drive

I was installing cygwin on my Windows 7 desktop. I guess I picked a bad mirror site because the download speed was very slow and it wasn't able to give me all the packages I wanted. I closed the setup in too much haste. I think it was still downloading and not yet installing though. It said that... (1 Reply)
Discussion started by: ethoma7329
1 Replies

7. OS X (Apple)

Folder location interrupted

Have had hidden/interrupted folder. It is on a NTFS-partition I use for OS and Bootcamp. I think that the problem is a HFS+ problem. I happened with all the folder which had a slash "/" in their folder name. So for example I had the folder "test/rand". Recently it disappeared from finder. In... (9 Replies)
Discussion started by: sceltecs
9 Replies

8. UNIX for Dummies Questions & Answers

Is original file modified when pigz is interrupted?

I had to stop a pigz (parallel gzip) compression before it completed. Is the original uncompressed file changed/corrupted? I was under the impression that the original file is not changed during compression, though it is deleted if the compression is successful. (1 Reply)
Discussion started by: colin123
1 Replies
ALSAMIXER(1)						      General Commands Manual						      ALSAMIXER(1)

NAME
alsamixer - soundcard mixer for ALSA soundcard driver, with ncurses interface SYNOPSIS
alsamixer [options] DESCRIPTION
alsamixer is an ncurses mixer program for use with the ALSA soundcard drivers. It supports multiple soundcards with multiple devices. OPTIONS
-h, --help Help: show available flags. -c, --card <card number or identification> Select the soundcard to use, if you have more than one. Cards are numbered from 0 (the default). -D, --device <device identification> Select the mixer device to control. -V, --view <mode> Select the starting view mode, either playback, capture or all. -g, --no-color Toggle the using of colors. MIXER VIEWS
The top-left corner of alsamixer is the are to show some basic information: the card name, the mixer chip name, the current view mode and the currently selected mixer item. When the mixer item is switched off, [Off] is displayed in its name. Volume bars are located below the basic information area. You can scroll left/right when all controls can't be put in a single screen. The name of each control is shown in the bottom below the volume bars. The currently selected item is drawn in red and/of emphasized. Each mixer control with volume capability shows a box and the current volume filled in that box. The volume percentages are displayed below the volume bar for left and right channels. For a mono control, only one value is shown there. When a mixer control is turned off, M (mute) appears below the volume bar. When it's turned on, O in green appears instead. You can tog- gle the switch via m key. When a mixer control has capture capability, the capture flag appears below the volume bar, too. When the capture is turned off, ------- is shown. CAPTURE in red appears when the capture switch is turned on. In addition, L and R letters appear in left and right side to indicate that left and the right channels are turned on. Some controls have the enumeration list, and don't show boxes but only texts which indicate the currently active item. You can change the item via up/down keys. VIEW MODES
alsamixer has three view modes: playback, capture and all. In the playback view, only the controls related with playback are shown. Simi- larly, only the controls for capture (recording) are shown in the capture view. The all view mode shows all controls. The current view mode is displayed in the top-left position together with the mixer name, etc. The default view mode is the playback view. You can change it via -V option. Each view mode can be switched via keyboard commands, too. See the next section. KEYBOARD COMMANDS
alsamixer recognizes the following keyboard commands to control the soundcard. Commands shown here in upper case can also be given in lower case. To be reminded of these keystrokes, hit the h key. General Controls The Left and right arrow keys are used to select the channel (or device, depending on your preferred terminology). You can also use n ("next") and p ("previous"). The Up and Down Arrows control the volume for the currently selected device. You can also use + or - for the same purpose. Both the left and right signals are affected. For independent left and right control, see below. The B or = key adjusts the balance of volumes on left and right channels. M toggles muting for the current channel (both left and right). If the hardware supports it, you can mute left and right independently by using , (or <) and . (or >) respectively. SPACE enables recording for the current channel. If any other channels have recording enabled, they will have their recording function dis- abled first. This only works for valid input channels, of course. L re-draws the screen. View Mode Controls Function keys are used to change view modes. You can switch to the help mode and the proc info mode via F1 and F2 keys, respectively. On terminals that can't use function keys like gnome-terminal, ? and / keys can be used alternatively for help and proc modes. F3, F4 and F5 keys are used to switch to playback, capture and all view mode, respectively. TAB key toggles the current view mode circu- larly. Quick Volume Changes PageUp increases volume by 5. PageDown decreases volume by 5. End sets volume to 0. You can also control left & right levels for the current channel independently, as follows: [Q | W | E ] -- turn UP [ left | both | right ] [Z | X | C ] -- turn DOWN [ left | both | right ] If the currently selected mixer channel is not a stereo channel, then all UP keys will work like W, and all DOWN keys will work like X. The number keys from 0 to 9 are to change the absolute volume quickly. They correspond to 0 to 90% volume. Selecting the Sound Card You can select another sound card by pressing the F6 or S keys. This will show a list of available sound cards to choose from, and an entry to enter the mixer device name by hand. Exiting Quit the program with ALT Q, or by hitting ESC. Please note that you might need to hit ESC twice on some terminals since it's regarded as a prefix key. SEE ALSO
amixer(1), aplay(1), arecord(1) BUGS
Some terminal emulators (e.g. nxterm) may not work quite right with ncurses, but that's their own damn fault. Plain old xterm seems to be fine. AUTHOR
alsamixer has been written by Tim Janik and been further improved by Jaroslav Kysela <perex@perex.cz> and Clemens Ladisch <clemens@ladisch.de>. This manual page was provided by Paul Winkler <zarmzarm@erols.com>. 22 May 2009 ALSAMIXER(1)
All times are GMT -4. The time now is 01:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy