r/askscience • u/therationalpi Acoustics • Aug 16 '13
Interdisciplinary AskScience Theme Day: Scientific Instrumentation
Greetings everyone!
Welcome to the first AskScience Theme Day. From time-to-time we'll bring out a new topic and encourage posters to come up with questions about that topic for our panelists to answer. This week's topic is Scientific Instrumentation, and we invite posters to ask questions about all of the different tools that scientists use to get their jobs done. Feel free to ask about tools from any field!
Here are some sample questions to get you started:
What tool do you use to measure _____?
How does a _____ work?
Why are _____ so cheap/expensive?
How do you analyze data from a _____?
Post your questions in the comments on this post, and please try to be specific. All the standard rules about questions and answers still apply.
Edit: There have been a lot of great questions directed at me in acoustics, but let's try to get some other fields involved. Let's see some questions about astronomy, medicine, biology, and the social sciences!
View all comments
Show parent comment
2
u/solarisin Aug 16 '13
This response has more to do with your #2 question, and how you shouldn't need to worry about ambient noise.
If you took a high-quality recording of playing your guitar, it would be easy to filter out all other frequencies of noise other than the frequencies in which the guitar produces sound, especially if the guitar is the "loudest" noise in the recording.
Some pseudocode of how to create an algorithm for something like this might be: Break the recording up into chunks of data, each corresponding to a note that was played on the guitar. Then for each chunk, figure out at what frequencies the guitar is being played. Filter each chunk to only allow those frequencies, or sound close to those frequencies. Combine all the chunks back into a full recording. That's the basics of it.
Another way would be to figure out what frequencies are allowed before-hand, and filter the data as it is being played. However, this would have to be pretty precise, and typically a human is playing the guitar. Humans are not very precise, so the allowed range of frequencies might need to be expanded. The more broad the "allowed" range of frequencies are, the more ambient noise will be left in the recording.