Record audio when sound is detected, like “motion” does for video
For those not familiar with the "motion" project it monitors your camera and when enough motion is detected in the video field of view it records that to a video file. The project website is here What I'm looking for is something like that but for audio, does anyone know of any Linux apps that can accomplish this?
linux audio
add a comment |
For those not familiar with the "motion" project it monitors your camera and when enough motion is detected in the video field of view it records that to a video file. The project website is here What I'm looking for is something like that but for audio, does anyone know of any Linux apps that can accomplish this?
linux audio
add a comment |
For those not familiar with the "motion" project it monitors your camera and when enough motion is detected in the video field of view it records that to a video file. The project website is here What I'm looking for is something like that but for audio, does anyone know of any Linux apps that can accomplish this?
linux audio
For those not familiar with the "motion" project it monitors your camera and when enough motion is detected in the video field of view it records that to a video file. The project website is here What I'm looking for is something like that but for audio, does anyone know of any Linux apps that can accomplish this?
linux audio
linux audio
asked Jul 1 '11 at 14:20
GekitsuuGekitsuu
3515
3515
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
SoX's rec with the silence predicate can mimic this.
I think this is the second time you've given me a great answer to a question I posted, thanks X2. Taking a look at SoX now.
– Gekitsuu
Jul 1 '11 at 14:32
@Gekitsuu: then be thankful, and mark the answer as accepted :). That's how this community works.
– Sunny
Jul 1 '11 at 14:43
1
@Sunny I just wanted to verify that it did what I needed before I accepted it :P
– Gekitsuu
Jul 1 '11 at 16:01
The problem is we won't know when the recorded sounds occured, right?
– unfa
Nov 17 '17 at 12:25
@unfa: SoX is patient.
– Ignacio Vazquez-Abrams
Nov 17 '17 at 16:37
add a comment |
Indeed : rec ~/tmp/sound.wav silence 1 0.1 2% 1 3.0 2% : newfile : restart
By looping the recording process between silences, will also tell you when the sounds occurred.
see : https://digitalcardboard.com/blog/2009/08/25/the-sox-of-silence/comment-page-2/
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f305007%2frecord-audio-when-sound-is-detected-like-motion-does-for-video%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
SoX's rec with the silence predicate can mimic this.
I think this is the second time you've given me a great answer to a question I posted, thanks X2. Taking a look at SoX now.
– Gekitsuu
Jul 1 '11 at 14:32
@Gekitsuu: then be thankful, and mark the answer as accepted :). That's how this community works.
– Sunny
Jul 1 '11 at 14:43
1
@Sunny I just wanted to verify that it did what I needed before I accepted it :P
– Gekitsuu
Jul 1 '11 at 16:01
The problem is we won't know when the recorded sounds occured, right?
– unfa
Nov 17 '17 at 12:25
@unfa: SoX is patient.
– Ignacio Vazquez-Abrams
Nov 17 '17 at 16:37
add a comment |
SoX's rec with the silence predicate can mimic this.
I think this is the second time you've given me a great answer to a question I posted, thanks X2. Taking a look at SoX now.
– Gekitsuu
Jul 1 '11 at 14:32
@Gekitsuu: then be thankful, and mark the answer as accepted :). That's how this community works.
– Sunny
Jul 1 '11 at 14:43
1
@Sunny I just wanted to verify that it did what I needed before I accepted it :P
– Gekitsuu
Jul 1 '11 at 16:01
The problem is we won't know when the recorded sounds occured, right?
– unfa
Nov 17 '17 at 12:25
@unfa: SoX is patient.
– Ignacio Vazquez-Abrams
Nov 17 '17 at 16:37
add a comment |
SoX's rec with the silence predicate can mimic this.
SoX's rec with the silence predicate can mimic this.
answered Jul 1 '11 at 14:22
Ignacio Vazquez-AbramsIgnacio Vazquez-Abrams
96k6155211
96k6155211
I think this is the second time you've given me a great answer to a question I posted, thanks X2. Taking a look at SoX now.
– Gekitsuu
Jul 1 '11 at 14:32
@Gekitsuu: then be thankful, and mark the answer as accepted :). That's how this community works.
– Sunny
Jul 1 '11 at 14:43
1
@Sunny I just wanted to verify that it did what I needed before I accepted it :P
– Gekitsuu
Jul 1 '11 at 16:01
The problem is we won't know when the recorded sounds occured, right?
– unfa
Nov 17 '17 at 12:25
@unfa: SoX is patient.
– Ignacio Vazquez-Abrams
Nov 17 '17 at 16:37
add a comment |
I think this is the second time you've given me a great answer to a question I posted, thanks X2. Taking a look at SoX now.
– Gekitsuu
Jul 1 '11 at 14:32
@Gekitsuu: then be thankful, and mark the answer as accepted :). That's how this community works.
– Sunny
Jul 1 '11 at 14:43
1
@Sunny I just wanted to verify that it did what I needed before I accepted it :P
– Gekitsuu
Jul 1 '11 at 16:01
The problem is we won't know when the recorded sounds occured, right?
– unfa
Nov 17 '17 at 12:25
@unfa: SoX is patient.
– Ignacio Vazquez-Abrams
Nov 17 '17 at 16:37
I think this is the second time you've given me a great answer to a question I posted, thanks X2. Taking a look at SoX now.
– Gekitsuu
Jul 1 '11 at 14:32
I think this is the second time you've given me a great answer to a question I posted, thanks X2. Taking a look at SoX now.
– Gekitsuu
Jul 1 '11 at 14:32
@Gekitsuu: then be thankful, and mark the answer as accepted :). That's how this community works.
– Sunny
Jul 1 '11 at 14:43
@Gekitsuu: then be thankful, and mark the answer as accepted :). That's how this community works.
– Sunny
Jul 1 '11 at 14:43
1
1
@Sunny I just wanted to verify that it did what I needed before I accepted it :P
– Gekitsuu
Jul 1 '11 at 16:01
@Sunny I just wanted to verify that it did what I needed before I accepted it :P
– Gekitsuu
Jul 1 '11 at 16:01
The problem is we won't know when the recorded sounds occured, right?
– unfa
Nov 17 '17 at 12:25
The problem is we won't know when the recorded sounds occured, right?
– unfa
Nov 17 '17 at 12:25
@unfa: SoX is patient.
– Ignacio Vazquez-Abrams
Nov 17 '17 at 16:37
@unfa: SoX is patient.
– Ignacio Vazquez-Abrams
Nov 17 '17 at 16:37
add a comment |
Indeed : rec ~/tmp/sound.wav silence 1 0.1 2% 1 3.0 2% : newfile : restart
By looping the recording process between silences, will also tell you when the sounds occurred.
see : https://digitalcardboard.com/blog/2009/08/25/the-sox-of-silence/comment-page-2/
add a comment |
Indeed : rec ~/tmp/sound.wav silence 1 0.1 2% 1 3.0 2% : newfile : restart
By looping the recording process between silences, will also tell you when the sounds occurred.
see : https://digitalcardboard.com/blog/2009/08/25/the-sox-of-silence/comment-page-2/
add a comment |
Indeed : rec ~/tmp/sound.wav silence 1 0.1 2% 1 3.0 2% : newfile : restart
By looping the recording process between silences, will also tell you when the sounds occurred.
see : https://digitalcardboard.com/blog/2009/08/25/the-sox-of-silence/comment-page-2/
Indeed : rec ~/tmp/sound.wav silence 1 0.1 2% 1 3.0 2% : newfile : restart
By looping the recording process between silences, will also tell you when the sounds occurred.
see : https://digitalcardboard.com/blog/2009/08/25/the-sox-of-silence/comment-page-2/
answered Jan 7 at 21:18
Gheeyom ThorGheeyom Thor
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f305007%2frecord-audio-when-sound-is-detected-like-motion-does-for-video%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown