10-22-2020, 08:57 PM
(This post was last modified: 10-22-2020, 09:05 PM by Firebolt391d.)
Depending on the max frequency used, notes should not be placed linearly. Online Sequencer's editor shows notes as having a linear frequency curve. However, with a real-world spectrum, this does not hold true. Wikipedia has a list of piano key frequencies here, and you may find that if you analyze the frequencies, they will start out having very small gaps between them at the lowest notes of the piano, and that as you scroll up the page from the bottom, you will see the frequencies start to spread out as the notes increase in frequency.
Here is something I just made after coming up with a template for each pitch of the musical pitch frequency for creating spectograms. Can you guess what song it is? Since I used a small window between C6 and C7, there isn't too much distortion between the gaps between the notes, so it looks relatively uniform. If you were to download this image and upload it into https://nsspot.herokuapp.com/imagetoaudio/ (or another website that can play spectograms), it should play the song that I tried to write.
I have also attached another image file. The second file shows my attempt at showing how octaves appear non-linearly on the frequency spectrum. In this image, each red line marks the note C. The red line at the very bottom of the image is C2. The one just above that is C3, Middle C. The red lines continue to hit, and the very top of the image goes all the way up to where C8 would be. This shows how on a linear grid spacing, frequencies start to grow away from each other. The wikipedia page that I linked has an equation at the top of the page. This equation is logarithmic, which helps to understand the mathematics of why this happens.
Here is something I just made after coming up with a template for each pitch of the musical pitch frequency for creating spectograms. Can you guess what song it is? Since I used a small window between C6 and C7, there isn't too much distortion between the gaps between the notes, so it looks relatively uniform. If you were to download this image and upload it into https://nsspot.herokuapp.com/imagetoaudio/ (or another website that can play spectograms), it should play the song that I tried to write.
I have also attached another image file. The second file shows my attempt at showing how octaves appear non-linearly on the frequency spectrum. In this image, each red line marks the note C. The red line at the very bottom of the image is C2. The one just above that is C3, Middle C. The red lines continue to hit, and the very top of the image goes all the way up to where C8 would be. This shows how on a linear grid spacing, frequencies start to grow away from each other. The wikipedia page that I linked has an equation at the top of the page. This equation is logarithmic, which helps to understand the mathematics of why this happens.