The Math Behind Music and Sound Synthesis
Вставка
- Опубліковано 4 чер 2024
- We hear sound because our ears can detect vibrations in the air, which come from sources like everyday objects, speakers and other people talking. Why do certain musical intervals sound the way they do? How are electronic music instruments made? This video will be all about sound frequencies, wave shapes and the math behind it all.
Timestamps
00:00 Intro
00:37 Pitch vs Frequency
01:27 Chromatic Scale, Consonance & Dissonance
05:18 Harmonic Series, Tonality & Instrument Timbre
07:37 Wave Shapes & Sound Design
Music by Karl Casey @ White Bat Audio
/ @whitebataudio
Thanks for watching, Inspecto - Наука та технологія
The Algorithm has found you, friend.
Yup he deserves it
great
praise be! may The Algorithm guide us to the Great Recommendation one day
@@b42thomas Amen
Thank GOD
The way you animate and explain is incredible
Thank you :)
Epic pfp my guy
Cool pfp
@@Utang00 you too, handsome
@@Gonkee Hello. Please, could you tell Me the name of the track from the ending of this video. I’ve just fallen in love with it… But I have no idea how to find it, I was searching it on the channel of its author the whole evening and in Apple Music but all My efforts are in vain(
Mad skillset. Maths, music, coding, video editing, and a factual, no BS approach to the gist of the matter. Looking forward to your upcoming stuff. Cheers, mate.
Hey, maybe its a stupid question, but what is the coding part? Because I find coding interesting but didn't know it was in this video.
@@pharezdamena8435 it is not in this Video
@@aschelocke5287 Unless he drew all those sine waves by hand, yes it is; it's just not very complex.
He's here fouier information!!!! !!!! !!!! !!! !!! !!! !! !! ! //*Syntax error, time deaf 🥂*//
I guess I've been accidentally striving to be this dude since I'm a math major with minors in music and comp sci
Was this just an elaborate scheme to show us that sick beat?
(I absolutely loved the video btw)
That's exactly what it is haha
@@Gonkee my man's in live cooking it fresh
tutorial just to flex lol
I want that song! It sounded soooo sick ^^
@@Gonkee I love that triangle wave line but you changed the melody on the 2nd repeat and that didn't show in your shown wave pattern. Also what software did you use to make the beat?
You really thought you could sneak *the lick* past us at 7:27, huh ;)
Adam Neely is seething
i noticed too!
wysi
wysi
came directly to the comments because of that
This channel have so much potential
when he started building the song as he was explaining the waveform sounds i wanted to cry. that was so beautiful
This covers so much ground in such a small amount of time, really helped by such intuitive animations. I’m going to share this with all my musician mates.
Your channel reminds me of the best parts of college. Learning different concepts in a relatively short span, and being endlessly fascinated with the core concepts. Thanks for taking the time to make these.
that little beat at the end was a banger
I started making electronic music around 2011 when my friend showed me a java programm that would make the speaker play a series or beeps. I started off writing music exclusively as rows and rows of ascii code that would then be read by some newer version of the software provided by that friend and generate a .wav file from that. The catch was: every instrument had to be defined as a math function of time. Coming from that perspective, i can tell you: Sound design is a lot harder than just adding some waves. I tried, and i failed a lot. I was so happy the first time i managed to make a decent FM bass that the sound cougth me completely off guard. XD Even worse, i was never really into games or chiptune stuff; i was just to lazy to install FL studio or something similar that would make me some "professional" tunes. I eventually switched to linux multi media studio around 2015, but came back to that raw saw&square sound last year. Now i'm trying to make the most out of it and see if this weird software where every sound is pure math-hell could be used for educational purposes. The new version featues a simple syntax for microtones and even has some basic filters. And we simplified the syntax a lot.
I'm currently preparing a bunch of slides for a small presentation or vid about the math of the so called microtonal intervals and natural/non-12TET tuning systems. But my channel isn't exactly an educational channel, so it may as well be a waste of time or just something for myself to spend the time in lockdown. But if you are curious/interested in this stuff i could send you a .zip with the software and some demo files for easier demo sounds than the ones you used for this vid (like playing actuall 400Hz tones or really perfect fifths ;) ).
Have a nice day and stay save :)
Sounds interesting!! Could u send the .zip to me?
Did you try live coding with SoundPi, SuperCollider or sth like that? I guess with such background you should do really well in tweaking stuff in realtime )
@@VRchitecture I'm seriously considering just abusing a pico for that; didn't find the time though. But i borrowed a friends touchscreen once for a live performance on an t+-integrated virtual microkeyboard where i could only press one key at a time, so it's getting there XD still no real time manipulation, but one could type in the instrument definitions as you play and the new notes use the new parameters. It was just inteded as a quick testing feature, but it is possible to perform with that... ^^
Lol I would love to have that software! I'm really into microtonal stuff (due to Jacob Collier 😏) but all regular programs are too grid-based for that. I would love to be able to use something like this!
what is the name of the java program?
Wow, you explained it far better than anyone else!
I needed this kind of scientific explanation of music, all other people talk about "rules" and that "you have to feel it, just redo it over and over and you'll get it".
This filled the empty space in my soul 😍
Why do you have a profile picture of kermit committing suicide?
I also needed this explanation and I feel smarter for understanding this. I guess we are all geniuses with a right teacher :)
Sup, i know you probably wont see this comment, but I just want to say that this video is amazing. I was doing presentation for my math class about math in music and this video gave me enough knowledge. It is also made a way that I can understand it even tho I'm not a native speaker. Thank you very much for your work.
@11:30 I want a 1 hour version of this
Nice vid, new sub here 👏👏
Ive noticed many smaller channels popping up recently with massive potential. This has got to be the best, i love how chill the whole video is
I am just a kid... learning math, science
Now I can see how to corelate them easily.
Glad you made this video !!!
Dude you crushed it. The visuals really made it easy to learn, and I liked listening to the song you made at the end.
There are 12 tones/notes over 14 steps on the piano if you look at it from a mathematical stand point, the pattern repeats every 12 keys and from A to A key is a whole octave and every 13th key is A key and first key at the same time, what I am saying is it is exactly 1 octave from A key to next A key, the frequency number doubles, it doubles in frequency, now I'm glad we had this talk, I feel much closer to you...
Consider this: A key frequency is any whole number because it's just logical for it to be a whole number if you could guess it to be any number, it would probably be a whole number so now we have one octave from A to A,
step number 1 is A#,
step number 2 is B,
step number 3 would be B#, (it's the key that is missing, the step exists)
step number 4 is C,
step number 5 is C#,
step number 6 is D,
step number 7 is D#,
step number 8 E,
step number 9 would be E# but the key is missing, the step is still there
step number 10 is F,
step number 11 is F#,
step number 12 is G,
step number 13 is G#,
step number 14 is next A
so there are 12 keys over 14 steps in every octave, it's 14 because FREQUENCY is a LiNEAR VALUE, it's a curved line, a sine wave, a wave so if 7 whole notes exist there also 7 half steps and total number of half steps is in fact 14 not 12, exactly 14...
B# and E# do exist in nature, in physical space B# and E# without a doubt exist and this makes music theory fundamentally flawed whether on purpose or not is another question, however one thing is clear, as day, musical western theory is a falsified way to TUNE THE PiANO, well simply because all the ratios to every key except to the same key in a different octave are all wrong...
A Frequency + (A Frequency ÷ 14) × step number
A0+(A0÷14)×14=A1
A1 will double the frequency is how you know it's proper
Also the key between two A keys is D# it's the 7th key out of 13 keys so it's exactly the frequency in the middle of the given octave so you can figure it out in your mind and check it with the formula considering you know what the step number is(#7)
This is the proper formula for every key, not divided by 12, only by 14
Also piano should logically start with A key on the most left because it's the reference key and the first audible frequency and it would make A key also the most right key, making it absurd to start and end the piano keyboard with anything, a A keys
First audible frequency is an A key, or should be A key and it's probably 28-37Herts....well somewhere in this range because it's the first audible and musical, so to speak sound and it's basically the lowest Key on the keyboard!
I think it was the clearest explanation of the fourier series and sound design that I've ever seen. Amazing job.
This video is amazingly put together, thank you for making this
Man, this is absolutely golden. I've been looking for a video like this for ages
this video is so incredibly underrated and interesting, love the way you explained and animated everything
The way you summed up and delivered these topics was brilliant!
Amazing video man! I rarely comment on videos but think what you do is great! You manage to explain the mathematics behind it quite intuitively while also making it appealing, factual and to the point.
Looking forward to the moment your channel blows up!
This is beautiful. I’ve always wondered how music is mathematically structured-especially electronic music-and this video offers a brief yet clear introduction of the core concepts. And the culmination of everything we learned at the end with all the waves coming together genuinely brought tears to my eyes. Thank you.
Absolute gold. Completely captivating
This is incredible, the "editing" since you made the graphics library, the story telling, the content in it, everything was awesome.
wow, I love the fact that this video is so detailed and explains everything so well! I normally don't leave comments on videos, but I really feel like I should do it here for the algorithm! :)
Oh man, just found my new favorite Chanel, thanks dude, I was really needing this knowledge, and it up with the sick beats to
Thank you for so simply and quickly explaining these fundamentals with great illustrations! I will keep coming back to this and your channel!
This is an incredible video. Even as an electronic music producer and someone who loves math, physics, and sound design, I still never fully understood how these sound waves worked. You explain everything so clearly and make it enjoyable to watch. Thank you.
The way you explain that is clean like a professional mix ;)
Thank You!
This got recommended to me. I thought I would knew all of this already, but still learned some new things. Keep it up!
Great vizual effects!! this is simple and clear.
I want more series.
nice job!
This is incredible. I'm speechless. I am without speech.
This channel is gonna blow up. Great video by the way!
Amazing video! Your videos are all of phenomenal quality. You have a true talent to break a complex topic down to essentials, and then build it back up clearly, logically, and with concrete examples. Looking forward to your future videos!
I love this channel so much. You should have at least a million subs!!!! Such quality is so...beautiful to see. Please keep up the good work!
Learning with this kind of videos is x1000 easier. Thank you so much!
The quality of the videos is amazing, I'm subbing
I stumbled upon your channel today. What a revelation, I subscribed straight away and love the maths. Your channel never showed up in a search of UA-cam channels on maths, so today was pure luck. I'm skimming through the videos, but at some stage, I will be binge-watching them. The content and the beautiful graphics are treat. Cheers. 👍
Man, I have seen so many people try to explain this, but you did it the best by far. Specifically I was always confused about how the square, triangle, etc. waves could be the "sum" of a bunch of sinusoids, it didn't really make sense looking at the shape. But this video paired with the calculus class I am taking really helped me understand where that comes from. Thank you so much!
you are a freakin genius homie! keep up the good work! the beat at the end was amazing!
I am speechless, this is just awesome. The most helpful vid on the topic I've ever watched
This is such an amazing video!!! Thanks so much for having this up on the web!
Damn your videos are so good, incredible content. Wasn't expecting a sick chiptune bit at the end, love it!❤️
This video is genuinely fantastic! Great work!
Great explanations. You brought maths, music theory and instrument synthesis together very clearly.
Great content, amazing visuals, maths, music theory. Masterpiece!
Probably one of my favorite videos on the internet right now..
No one else could explain it better than you, you are the best!
What I just learned?
Thank you for making this 🔥
Awesome vid! Gotta say that all projects on this channel are really intriguing!
Many of these have been on my mind as fun project ideas. It's so nice when someone else has already implemented them along with a great videos, so there's no need to experiment with them by oneself anymore. 😝
This channel have some potential to be popular. Keep up the good work!
So glad I found this channel! Incredibly high quality content
GG on 1k subs, you reached 1k overnight, nice to see how the algorithm blessed you
3 days later and your numbers have tripled...
Just WOW
You still deserve more subs btw your content is high quality
Make that quintupled
WOW
it’s currently 11x more than that of three weeks ago
@@urymatulixlaj2485 HOLY...
THAT'S INSANE
The algorithm has blessed this man
That explanation was super. It is like music is singing out the beauties in mathematics. Also, love that last music where you combined all the instruments together into one great orchestra!
ALE TO BYŁO DOBRE. czuję się prawidłowo. dziękuję
Such a beautiful description, and such a sick beat it had me dancing instantly!
Amazing! Thank you so much for this!
This video is absolutely amazing!
Dude I never comment but this is high quality material and so informative, your channel deserves so much attention and I’m sure you’ll get it
I've been watching your videos the whole evening. You made my day.
Glad this stumbled upon me, I have always wanted to learn about the mathematics of music, not just the addition needed in notes but stuff like this. Thank you!!
Nice video, I was looking for that.
Thank you!
Incredible work, you got my hype for your next vids :)
very nice work! Thanks!
This entire channel is just amazing, please make more videos
Best video i've seen in while! you're really good at educating 🙌
Wow! Lots of valuable information in just 12 min.! Thanx!
I made an immediate connection with this information to the analog organ I acquired from a church several years ago. This was SO COOL!
Absolutely excellent video. I am writing a paper on additive synthesis and its relation to mathematics and this was excellent help. Thank you so much!
This gave me such better understanding of music it is crazy! It just immediately clicked with me thinking about how our brains superpower is abstraction. It also finally made a lot of sense that culture impacts our musical understanding and preference. Especially why the rough integer approximation in a triard is working if you consider western music theroy. I would love a follow up video talking about a few of those things. Awesome work! It really inspired me and probably will help me understand many more things in the future.
What a WONDERFUL video
I needed something so badly and i didn't know what it was.......
It was this video!!!! Thank you very much!!!
This is extremely high quality content! Subscribed!
Awesome vid!
Thank you for this.
Uau! Thank you! Please, don't stop!
Dude this would have to be the best video ever made, ever. Ever ever. Thanks
What an amazing video! Thanks!
Thank you man, so helpful. Please do more video talk about the math behind music. Producer needs a ton of these knowledge.
wow i didn't expected a video of this quality! so underrated
Nicely presented. Thank you !
This is such a good video in so many levels. Thanks UA-cam for recommending this. 🎉
that's really cool seeing the square wave and the formula for odd numbers in it
Very resourceful video! Thank you for the good explanation.
You's insane my man this video blew my mind keep it up
Exactly what I was looking for. Thank you.
Seeing how the formulas manipulated the humble sine wave into the other waveforms was awesome to see! Thanks for making this vid dude
I've never seen before so good explanation of theory of sound and harmonics! It was great! Thanks!
You've made some great content, my man! Subscribed!
Awesome video! Thank you!
Fantastic explanations and extremely nice, that you show examples whereever possible. Kudos!
Thanks for the knowledge!
Great informative and interesting video. Very well explained and visualized as well. Your video deserves much more attention.
Bro I did not expect you to be that deep in the musical rabbit hole. You even used memes like da lick (7:26)
Silly high quality for a channel with four videos, you're obviously putting in work and I really hope it pays off for you man. 👍
I’ve been waiting for a Mathematical run down just like this for a very long time. As someone who enjoys learning about the mathematics in music, this was a brilliant bideo
Great to know another aspect of music. Thanks.
This was the best presentation of music and math i have ever seen 😃