C#.NET Determine blow sound using microphone
I am working on a UWP app which needs to keep listening to the sound and recognize a hammering sound.
For every blow of hammer strike I need to save the system time.
I have looked at few algorithms like
Clap sound detection in C#
but none-of-them are close to what I am looking for.
Here is the flow:
- on my UWP I click on a button "Listen Audio"
- That will start hearing to the sound
- When there is sudden spike in sound wave, which is like a big hammer strike, my code should trigger an event
- That event will capture information related to the hammer striking (mostly timestamp)
Any suggestions for coming up with a good algorithm is appreciated.
c# uwp soundpool
add a comment |
I am working on a UWP app which needs to keep listening to the sound and recognize a hammering sound.
For every blow of hammer strike I need to save the system time.
I have looked at few algorithms like
Clap sound detection in C#
but none-of-them are close to what I am looking for.
Here is the flow:
- on my UWP I click on a button "Listen Audio"
- That will start hearing to the sound
- When there is sudden spike in sound wave, which is like a big hammer strike, my code should trigger an event
- That event will capture information related to the hammer striking (mostly timestamp)
Any suggestions for coming up with a good algorithm is appreciated.
c# uwp soundpool
3
Hi welcome to StackOverflow, can I ask you what you already tried doing? I also recommend reading this stackoverflow.com/help/mcve on creating Minimal, Complete, and Verifiable examples
– MindSwipe
Nov 12 '18 at 14:38
This goes partially into AI development. I am actually unsure how they pull that off on a Smartphones hardware. Maybe they are fudging it, by applying the sampling Theorem? en.wikipedia.org/wiki/Nyquist%E2%80%93Shannon_sampling_theorem Practically the "hammering" is just a low frequency signal. And if you pick the sampling rate so low you can barely still sample it, you got all the data you need to figure out the Blows/minute.
– Christopher
Nov 12 '18 at 14:47
Thanks Christopher
– Rana Ranjeet Singh
Nov 13 '18 at 10:16
Please see this url (piledrivingapp.com/screenshots) also.
– Rana Ranjeet Singh
Nov 13 '18 at 10:17
add a comment |
I am working on a UWP app which needs to keep listening to the sound and recognize a hammering sound.
For every blow of hammer strike I need to save the system time.
I have looked at few algorithms like
Clap sound detection in C#
but none-of-them are close to what I am looking for.
Here is the flow:
- on my UWP I click on a button "Listen Audio"
- That will start hearing to the sound
- When there is sudden spike in sound wave, which is like a big hammer strike, my code should trigger an event
- That event will capture information related to the hammer striking (mostly timestamp)
Any suggestions for coming up with a good algorithm is appreciated.
c# uwp soundpool
I am working on a UWP app which needs to keep listening to the sound and recognize a hammering sound.
For every blow of hammer strike I need to save the system time.
I have looked at few algorithms like
Clap sound detection in C#
but none-of-them are close to what I am looking for.
Here is the flow:
- on my UWP I click on a button "Listen Audio"
- That will start hearing to the sound
- When there is sudden spike in sound wave, which is like a big hammer strike, my code should trigger an event
- That event will capture information related to the hammer striking (mostly timestamp)
Any suggestions for coming up with a good algorithm is appreciated.
c# uwp soundpool
c# uwp soundpool
edited Nov 13 '18 at 10:57
HaBo
6,7272686165
6,7272686165
asked Nov 12 '18 at 14:34
Rana Ranjeet Singh
1
1
3
Hi welcome to StackOverflow, can I ask you what you already tried doing? I also recommend reading this stackoverflow.com/help/mcve on creating Minimal, Complete, and Verifiable examples
– MindSwipe
Nov 12 '18 at 14:38
This goes partially into AI development. I am actually unsure how they pull that off on a Smartphones hardware. Maybe they are fudging it, by applying the sampling Theorem? en.wikipedia.org/wiki/Nyquist%E2%80%93Shannon_sampling_theorem Practically the "hammering" is just a low frequency signal. And if you pick the sampling rate so low you can barely still sample it, you got all the data you need to figure out the Blows/minute.
– Christopher
Nov 12 '18 at 14:47
Thanks Christopher
– Rana Ranjeet Singh
Nov 13 '18 at 10:16
Please see this url (piledrivingapp.com/screenshots) also.
– Rana Ranjeet Singh
Nov 13 '18 at 10:17
add a comment |
3
Hi welcome to StackOverflow, can I ask you what you already tried doing? I also recommend reading this stackoverflow.com/help/mcve on creating Minimal, Complete, and Verifiable examples
– MindSwipe
Nov 12 '18 at 14:38
This goes partially into AI development. I am actually unsure how they pull that off on a Smartphones hardware. Maybe they are fudging it, by applying the sampling Theorem? en.wikipedia.org/wiki/Nyquist%E2%80%93Shannon_sampling_theorem Practically the "hammering" is just a low frequency signal. And if you pick the sampling rate so low you can barely still sample it, you got all the data you need to figure out the Blows/minute.
– Christopher
Nov 12 '18 at 14:47
Thanks Christopher
– Rana Ranjeet Singh
Nov 13 '18 at 10:16
Please see this url (piledrivingapp.com/screenshots) also.
– Rana Ranjeet Singh
Nov 13 '18 at 10:17
3
3
Hi welcome to StackOverflow, can I ask you what you already tried doing? I also recommend reading this stackoverflow.com/help/mcve on creating Minimal, Complete, and Verifiable examples
– MindSwipe
Nov 12 '18 at 14:38
Hi welcome to StackOverflow, can I ask you what you already tried doing? I also recommend reading this stackoverflow.com/help/mcve on creating Minimal, Complete, and Verifiable examples
– MindSwipe
Nov 12 '18 at 14:38
This goes partially into AI development. I am actually unsure how they pull that off on a Smartphones hardware. Maybe they are fudging it, by applying the sampling Theorem? en.wikipedia.org/wiki/Nyquist%E2%80%93Shannon_sampling_theorem Practically the "hammering" is just a low frequency signal. And if you pick the sampling rate so low you can barely still sample it, you got all the data you need to figure out the Blows/minute.
– Christopher
Nov 12 '18 at 14:47
This goes partially into AI development. I am actually unsure how they pull that off on a Smartphones hardware. Maybe they are fudging it, by applying the sampling Theorem? en.wikipedia.org/wiki/Nyquist%E2%80%93Shannon_sampling_theorem Practically the "hammering" is just a low frequency signal. And if you pick the sampling rate so low you can barely still sample it, you got all the data you need to figure out the Blows/minute.
– Christopher
Nov 12 '18 at 14:47
Thanks Christopher
– Rana Ranjeet Singh
Nov 13 '18 at 10:16
Thanks Christopher
– Rana Ranjeet Singh
Nov 13 '18 at 10:16
Please see this url (piledrivingapp.com/screenshots) also.
– Rana Ranjeet Singh
Nov 13 '18 at 10:17
Please see this url (piledrivingapp.com/screenshots) also.
– Rana Ranjeet Singh
Nov 13 '18 at 10:17
add a comment |
1 Answer
1
active
oldest
votes
Based on your requirement this answer gives you what you need.
Link to product Info Page http://www.zonetrigger.com/sound-detection/
Demo link: http://www.zonetrigger.com/sound-detection/azt-demo.html
Audio Zone Trigger — $24.95
Audio Zone Trigger is very easy to use: you put triggers on the sound wave, and when the waves go beyond the thresholds, they perform the actions that you have selected. The software was designed with the following purposes in mind: Security, Computer Remote Control and Monitoring. However, because the software can perform any action that you want, you are free to use it in any creative way you can think!
If you don't want to user 3rd party tools and develop your own solution, then you can try this approach numerical integration
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
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%2fstackoverflow.com%2fquestions%2f53264367%2fc-net-determine-blow-sound-using-microphone%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Based on your requirement this answer gives you what you need.
Link to product Info Page http://www.zonetrigger.com/sound-detection/
Demo link: http://www.zonetrigger.com/sound-detection/azt-demo.html
Audio Zone Trigger — $24.95
Audio Zone Trigger is very easy to use: you put triggers on the sound wave, and when the waves go beyond the thresholds, they perform the actions that you have selected. The software was designed with the following purposes in mind: Security, Computer Remote Control and Monitoring. However, because the software can perform any action that you want, you are free to use it in any creative way you can think!
If you don't want to user 3rd party tools and develop your own solution, then you can try this approach numerical integration
add a comment |
Based on your requirement this answer gives you what you need.
Link to product Info Page http://www.zonetrigger.com/sound-detection/
Demo link: http://www.zonetrigger.com/sound-detection/azt-demo.html
Audio Zone Trigger — $24.95
Audio Zone Trigger is very easy to use: you put triggers on the sound wave, and when the waves go beyond the thresholds, they perform the actions that you have selected. The software was designed with the following purposes in mind: Security, Computer Remote Control and Monitoring. However, because the software can perform any action that you want, you are free to use it in any creative way you can think!
If you don't want to user 3rd party tools and develop your own solution, then you can try this approach numerical integration
add a comment |
Based on your requirement this answer gives you what you need.
Link to product Info Page http://www.zonetrigger.com/sound-detection/
Demo link: http://www.zonetrigger.com/sound-detection/azt-demo.html
Audio Zone Trigger — $24.95
Audio Zone Trigger is very easy to use: you put triggers on the sound wave, and when the waves go beyond the thresholds, they perform the actions that you have selected. The software was designed with the following purposes in mind: Security, Computer Remote Control and Monitoring. However, because the software can perform any action that you want, you are free to use it in any creative way you can think!
If you don't want to user 3rd party tools and develop your own solution, then you can try this approach numerical integration
Based on your requirement this answer gives you what you need.
Link to product Info Page http://www.zonetrigger.com/sound-detection/
Demo link: http://www.zonetrigger.com/sound-detection/azt-demo.html
Audio Zone Trigger — $24.95
Audio Zone Trigger is very easy to use: you put triggers on the sound wave, and when the waves go beyond the thresholds, they perform the actions that you have selected. The software was designed with the following purposes in mind: Security, Computer Remote Control and Monitoring. However, because the software can perform any action that you want, you are free to use it in any creative way you can think!
If you don't want to user 3rd party tools and develop your own solution, then you can try this approach numerical integration
answered Nov 14 '18 at 7:51
HaBo
6,7272686165
6,7272686165
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- 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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2fstackoverflow.com%2fquestions%2f53264367%2fc-net-determine-blow-sound-using-microphone%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
3
Hi welcome to StackOverflow, can I ask you what you already tried doing? I also recommend reading this stackoverflow.com/help/mcve on creating Minimal, Complete, and Verifiable examples
– MindSwipe
Nov 12 '18 at 14:38
This goes partially into AI development. I am actually unsure how they pull that off on a Smartphones hardware. Maybe they are fudging it, by applying the sampling Theorem? en.wikipedia.org/wiki/Nyquist%E2%80%93Shannon_sampling_theorem Practically the "hammering" is just a low frequency signal. And if you pick the sampling rate so low you can barely still sample it, you got all the data you need to figure out the Blows/minute.
– Christopher
Nov 12 '18 at 14:47
Thanks Christopher
– Rana Ranjeet Singh
Nov 13 '18 at 10:16
Please see this url (piledrivingapp.com/screenshots) also.
– Rana Ranjeet Singh
Nov 13 '18 at 10:17