Introduction
When you deal with the signal from the device or some other gadgets, it always is a analog data. However, in order to do some fancy stuff on your pc, it has to be Digital. Hence, we are required to process the data into digital one.
So in this article I would like to talk about the way to transform audio data.
Agenda
- Create a Sine Wave
Create a Sine Wave
In this section, we are going to create a sine wave as a running example.
But before that, let's review some terminologies.
- Frequency: the number of times a sine wave repeats a second. ex) 1KHz
- Sampling Rate: the number of times a second we take a sample of the analog signal.
- Sine Wave Formulae: