<p>Most audio analysis would be done in the frequency domain. Signal (including audio) can be seen as a set of samples in the time domain, or the frequency domain. Fourier showed that any signal can be created by adding together a set of sine waves. Often it is easier to analyse a signal in the frequency domain, especially questions about frequency, such as meter (I am not 100% sure what this is, but from the wikipedia article on meter, it seems to be a frequency thing).</p>

<p>Therefore I would suggest, that a <a href="https://en.wikipedia.org/wiki/Fast_Fourier_transform" rel="nofollow noreferrer">Fourier transform</a> would be one of the early steps. Then the rest of the code would be analysing frequencies. There are usually good libraries (they exist for C and python, I am not sure about other languages), for doing this.</p>

CC BY-SA 3.0
2017-05-30T21:07:37.760Z
2017-06-18T11:50:29.283Z
2017-06-18T11:50:29.283Z
ctrl-alt-delor
<p>Yes, it requires quite a bit of mathematical knowledge, and some understanding of the different AI techniques out there (neural networks etc.).</p>

<p>You could tell her that a good way to go about it is first choosing the form of AI she would like to learn (here you can mention neural networks).</p>

<p>Next, she should try to learn about the mathematics behind the AI form she chose (computers eventually only compute, so there's math in it). For audio processing, neural networks are, in my opinion, ideal because their input can only be a collection of numbers. The key point of this part is thorough understanding of the field, which is necessary for later understanding <em>how</em> to use those tools correctly.</p>

<p>The next step is learning how to convert audio (maybe <code>.mp3</code> files) to something that the chosen AI can work with. From there it's specific to the AI that she would choose, but the previous step ensures that she'll know what to do with that converted information (for neural networks - train them on that).</p>

<p>It really comes down to the second step. That's the biggest part, and that's where the self learning really comes into play. From what you say, I doubt she'll find it overly complex and difficult.</p>

CC BY-SA 3.0
2017-05-27T17:58:48.890Z
2017-06-24T11:25:48.710Z
2017-06-24T11:25:48.710Z
ItamarG3
<p>I have student who is attempting an independent study next year in audio processing. Her goals involve detecting the meter of a song. Thus could be done through machine learning, or through other forms of AI.</p>

<p>While she will eventually be creating a science fair project, she has asked for advice on what to study over the summer in order to make the most of next year. I have no experience in this realm. I know that she had not yet taken AP Statistics, but I also don't know how much statistical knowledge is really necessary.</p>

<p>As some context, she is a rising high school junior who has already taken AP Computer Science, and a course on C and Assembly Programming.</p>

<p>Can anyone advise on how I can guide her?</p>

CC BY-SA 3.0
2017-05-30T14:44:54.487Z
I would suggest, that a fourier transform would be one of the early steps. Then the rest of the code would be analysing frequencies.
ctrl-alt-delor
CC BY-SA 3.0
2017-05-30T14:58:11.870Z
That's exactly the sort of specificity I'm looking for. Could you flesh that out into more of an answer?
Ben I.
<curriculum-design><artificial-intelligence><self-learning>
Self guided learning about audio processing
# Self guided learning about audio processing

(Asked by: username_0 on 2017-05-27)

I have student who is attempting an independent study next year in audio processing. Her goals involve detecting the meter of a song. Thus could be done through machine learning, or through other forms of AI.

While she will eventually be creating a science fair project, she has asked for advice on what to study over the summer in order to make the most of next year. I have no experience in this realm. I know that she had not yet taken AP Statistics, but I also don't know how much statistical knowledge is really necessary.

As some context, she is a rising high school junior who has already taken AP Computer Science, and a course on C and Assembly Programming.

Can anyone advise on how I can guide her?

**Tags:** curriculum-design, artificial-intelligence, self-learning

> **Comments:**
> **username_1**: I would suggest, that a fourier transform would be one of the early steps. Then the rest of the code would be analysing frequencies.  
> **username_0**: That's exactly the sort of specificity I'm looking for. Could you flesh that out into more of an answer?  

---

## 2 answers

### Answer by username_1 on 2017-05-30. Score: 3

Most audio analysis would be done in the frequency domain. Signal (including audio) can be seen as a set of samples in the time domain, or the frequency domain. Fourier showed that any signal can be created by adding together a set of sine waves. Often it is easier to analyse a signal in the frequency domain, especially questions about frequency, such as meter (I am not 100% sure what this is, but from the wikipedia article on meter, it seems to be a frequency thing).

Therefore I would suggest, that a [Fourier transform](https://en.wikipedia.org/wiki/Fast_Fourier_transform) would be one of the early steps. Then the rest of the code would be analysing frequencies. There are usually good libraries (they exist for C and python, I am not sure about other languages), for doing this.


---

### Answer by username_2 on 2017-05-27. Score: 3

Yes, it requires quite a bit of mathematical knowledge, and some understanding of the different AI techniques out there (neural networks etc.).

You could tell her that a good way to go about it is first choosing the form of AI she would like to learn (here you can mention neural networks).

Next, she should try to learn about the mathematics behind the AI form she chose (computers eventually only compute, so there's math in it). For audio processing, neural networks are, in my opinion, ideal because their input can only be a collection of numbers. The key point of this part is thorough understanding of the field, which is necessary for later understanding *how* to use those tools correctly.

The next step is learning how to convert audio (maybe `.mp3` files) to something that the chosen AI can work with. From there it's specific to the AI that she would choose, but the previous step ensures that she'll know what to do with that converted information (for neural networks - train them on that).

It really comes down to the second step. That's the biggest part, and that's where the self learning really comes into play. From what you say, I doubt she'll find it overly complex and difficult.


---

