Detecting Specific Sounds (Frequencies) with Python











up vote
0
down vote

favorite












I want to record sound of a machine and want to detect if its present in another sound file that I record.
I am able to record the sound of the machine and the sound file that I want to detect its presence.



I am also able to take fft of the sound files, however I dont know If I should check specific frequencies or check it in time intervals.
Can I implement it with aubio or is there another way?



silent room
silent room + sound










share|improve this question






















  • What is the machine that you are recording? Do you mean the very same record of the machine or record of the same machine?
    – Gideon Kogan
    Nov 15 at 13:08












  • Record of same machine. I want to detect the source of the noises in the room automatically. So in a room first I record a sound in wav format. There were no dominant noise exist (assume silent), next I record a specific noise (caused by audio jack from speaker). Now I will write a program which records sounds in a determined interval, then check if the noise (audio jack noise) exist or not. So in basic; how can I compare 2 wav file and figure out the additional sound?
    – Yansı Cengiz
    Nov 15 at 14:05










  • If you neglect the reflections, you should create a noise signature and compare it the your reference. This task is not trivial and requires solid knowledge in many fields. To understand how such signature can characterize, I suggest you to review the following work: Antoni, Jérôme. "Cyclostationarity by examples." Mechanical Systems and Signal Processing 23.4 (2009): 987-1036. Good luck
    – Gideon Kogan
    Nov 15 at 14:54










  • Thanks for the answer, Since this only a small part of my project, I thoughed that I could compare two sound files with aubio or any python application. Is it possible or there is no such application to do that?
    – Yansı Cengiz
    Nov 15 at 15:46










  • I am not familiar with such a program. Maybe you should reconsider your project content or reevaluate the time you want to dedicate for this section.
    – Gideon Kogan
    Nov 15 at 15:49















up vote
0
down vote

favorite












I want to record sound of a machine and want to detect if its present in another sound file that I record.
I am able to record the sound of the machine and the sound file that I want to detect its presence.



I am also able to take fft of the sound files, however I dont know If I should check specific frequencies or check it in time intervals.
Can I implement it with aubio or is there another way?



silent room
silent room + sound










share|improve this question






















  • What is the machine that you are recording? Do you mean the very same record of the machine or record of the same machine?
    – Gideon Kogan
    Nov 15 at 13:08












  • Record of same machine. I want to detect the source of the noises in the room automatically. So in a room first I record a sound in wav format. There were no dominant noise exist (assume silent), next I record a specific noise (caused by audio jack from speaker). Now I will write a program which records sounds in a determined interval, then check if the noise (audio jack noise) exist or not. So in basic; how can I compare 2 wav file and figure out the additional sound?
    – Yansı Cengiz
    Nov 15 at 14:05










  • If you neglect the reflections, you should create a noise signature and compare it the your reference. This task is not trivial and requires solid knowledge in many fields. To understand how such signature can characterize, I suggest you to review the following work: Antoni, Jérôme. "Cyclostationarity by examples." Mechanical Systems and Signal Processing 23.4 (2009): 987-1036. Good luck
    – Gideon Kogan
    Nov 15 at 14:54










  • Thanks for the answer, Since this only a small part of my project, I thoughed that I could compare two sound files with aubio or any python application. Is it possible or there is no such application to do that?
    – Yansı Cengiz
    Nov 15 at 15:46










  • I am not familiar with such a program. Maybe you should reconsider your project content or reevaluate the time you want to dedicate for this section.
    – Gideon Kogan
    Nov 15 at 15:49













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I want to record sound of a machine and want to detect if its present in another sound file that I record.
I am able to record the sound of the machine and the sound file that I want to detect its presence.



I am also able to take fft of the sound files, however I dont know If I should check specific frequencies or check it in time intervals.
Can I implement it with aubio or is there another way?



silent room
silent room + sound










share|improve this question













I want to record sound of a machine and want to detect if its present in another sound file that I record.
I am able to record the sound of the machine and the sound file that I want to detect its presence.



I am also able to take fft of the sound files, however I dont know If I should check specific frequencies or check it in time intervals.
Can I implement it with aubio or is there another way?



silent room
silent room + sound







python audio signal-processing fft aubio






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 14 at 17:23









Yansı Cengiz

63




63












  • What is the machine that you are recording? Do you mean the very same record of the machine or record of the same machine?
    – Gideon Kogan
    Nov 15 at 13:08












  • Record of same machine. I want to detect the source of the noises in the room automatically. So in a room first I record a sound in wav format. There were no dominant noise exist (assume silent), next I record a specific noise (caused by audio jack from speaker). Now I will write a program which records sounds in a determined interval, then check if the noise (audio jack noise) exist or not. So in basic; how can I compare 2 wav file and figure out the additional sound?
    – Yansı Cengiz
    Nov 15 at 14:05










  • If you neglect the reflections, you should create a noise signature and compare it the your reference. This task is not trivial and requires solid knowledge in many fields. To understand how such signature can characterize, I suggest you to review the following work: Antoni, Jérôme. "Cyclostationarity by examples." Mechanical Systems and Signal Processing 23.4 (2009): 987-1036. Good luck
    – Gideon Kogan
    Nov 15 at 14:54










  • Thanks for the answer, Since this only a small part of my project, I thoughed that I could compare two sound files with aubio or any python application. Is it possible or there is no such application to do that?
    – Yansı Cengiz
    Nov 15 at 15:46










  • I am not familiar with such a program. Maybe you should reconsider your project content or reevaluate the time you want to dedicate for this section.
    – Gideon Kogan
    Nov 15 at 15:49


















  • What is the machine that you are recording? Do you mean the very same record of the machine or record of the same machine?
    – Gideon Kogan
    Nov 15 at 13:08












  • Record of same machine. I want to detect the source of the noises in the room automatically. So in a room first I record a sound in wav format. There were no dominant noise exist (assume silent), next I record a specific noise (caused by audio jack from speaker). Now I will write a program which records sounds in a determined interval, then check if the noise (audio jack noise) exist or not. So in basic; how can I compare 2 wav file and figure out the additional sound?
    – Yansı Cengiz
    Nov 15 at 14:05










  • If you neglect the reflections, you should create a noise signature and compare it the your reference. This task is not trivial and requires solid knowledge in many fields. To understand how such signature can characterize, I suggest you to review the following work: Antoni, Jérôme. "Cyclostationarity by examples." Mechanical Systems and Signal Processing 23.4 (2009): 987-1036. Good luck
    – Gideon Kogan
    Nov 15 at 14:54










  • Thanks for the answer, Since this only a small part of my project, I thoughed that I could compare two sound files with aubio or any python application. Is it possible or there is no such application to do that?
    – Yansı Cengiz
    Nov 15 at 15:46










  • I am not familiar with such a program. Maybe you should reconsider your project content or reevaluate the time you want to dedicate for this section.
    – Gideon Kogan
    Nov 15 at 15:49
















What is the machine that you are recording? Do you mean the very same record of the machine or record of the same machine?
– Gideon Kogan
Nov 15 at 13:08






What is the machine that you are recording? Do you mean the very same record of the machine or record of the same machine?
– Gideon Kogan
Nov 15 at 13:08














Record of same machine. I want to detect the source of the noises in the room automatically. So in a room first I record a sound in wav format. There were no dominant noise exist (assume silent), next I record a specific noise (caused by audio jack from speaker). Now I will write a program which records sounds in a determined interval, then check if the noise (audio jack noise) exist or not. So in basic; how can I compare 2 wav file and figure out the additional sound?
– Yansı Cengiz
Nov 15 at 14:05




Record of same machine. I want to detect the source of the noises in the room automatically. So in a room first I record a sound in wav format. There were no dominant noise exist (assume silent), next I record a specific noise (caused by audio jack from speaker). Now I will write a program which records sounds in a determined interval, then check if the noise (audio jack noise) exist or not. So in basic; how can I compare 2 wav file and figure out the additional sound?
– Yansı Cengiz
Nov 15 at 14:05












If you neglect the reflections, you should create a noise signature and compare it the your reference. This task is not trivial and requires solid knowledge in many fields. To understand how such signature can characterize, I suggest you to review the following work: Antoni, Jérôme. "Cyclostationarity by examples." Mechanical Systems and Signal Processing 23.4 (2009): 987-1036. Good luck
– Gideon Kogan
Nov 15 at 14:54




If you neglect the reflections, you should create a noise signature and compare it the your reference. This task is not trivial and requires solid knowledge in many fields. To understand how such signature can characterize, I suggest you to review the following work: Antoni, Jérôme. "Cyclostationarity by examples." Mechanical Systems and Signal Processing 23.4 (2009): 987-1036. Good luck
– Gideon Kogan
Nov 15 at 14:54












Thanks for the answer, Since this only a small part of my project, I thoughed that I could compare two sound files with aubio or any python application. Is it possible or there is no such application to do that?
– Yansı Cengiz
Nov 15 at 15:46




Thanks for the answer, Since this only a small part of my project, I thoughed that I could compare two sound files with aubio or any python application. Is it possible or there is no such application to do that?
– Yansı Cengiz
Nov 15 at 15:46












I am not familiar with such a program. Maybe you should reconsider your project content or reevaluate the time you want to dedicate for this section.
– Gideon Kogan
Nov 15 at 15:49




I am not familiar with such a program. Maybe you should reconsider your project content or reevaluate the time you want to dedicate for this section.
– Gideon Kogan
Nov 15 at 15:49

















active

oldest

votes











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',
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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53305661%2fdetecting-specific-sounds-frequencies-with-python%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53305661%2fdetecting-specific-sounds-frequencies-with-python%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

How to change which sound is reproduced for terminal bell?

Can I use Tabulator js library in my java Spring + Thymeleaf project?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents