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
  • Наука та технологія

КОМЕНТАРІ • 771

  • @samevans4834
    @samevans4834 3 роки тому +1733

    The Algorithm has found you, friend.

  • @quantumgaming9180
    @quantumgaming9180 3 роки тому +857

    The way you animate and explain is incredible

    • @Gonkee
      @Gonkee  3 роки тому +64

      Thank you :)

    • @krowus3833
      @krowus3833 3 роки тому +8

      Epic pfp my guy

    • @Utang00
      @Utang00 2 роки тому +5

      Cool pfp

    • @quantumgaming9180
      @quantumgaming9180 2 роки тому +4

      @@Utang00 you too, handsome

    • @user-xx9on8wf1f
      @user-xx9on8wf1f 2 роки тому +1

      @@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(

  • @turpialito
    @turpialito 3 роки тому +973

    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.

    • @pharezdamena8435
      @pharezdamena8435 2 роки тому +3

      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.

    • @aschelocke5287
      @aschelocke5287 2 роки тому +2

      @@pharezdamena8435 it is not in this Video

    • @danieldale1488
      @danieldale1488 Рік тому +10

      @@aschelocke5287 Unless he drew all those sine waves by hand, yes it is; it's just not very complex.

    • @jasonzacharias2150
      @jasonzacharias2150 Рік тому

      He's here fouier information!!!! !!!! !!!! !!! !!! !!! !! !! ! //*Syntax error, time deaf 🥂*//

    • @cadenbicsak1703
      @cadenbicsak1703 Рік тому +2

      I guess I've been accidentally striving to be this dude since I'm a math major with minors in music and comp sci

  • @David-zy1lr
    @David-zy1lr 3 роки тому +1227

    Was this just an elaborate scheme to show us that sick beat?
    (I absolutely loved the video btw)

    • @Gonkee
      @Gonkee  3 роки тому +332

      That's exactly what it is haha

    • @UncoveredTruths
      @UncoveredTruths 3 роки тому +24

      @@Gonkee my man's in live cooking it fresh

    • @JohnPaulBuce
      @JohnPaulBuce 3 роки тому +18

      tutorial just to flex lol

    • @alexandrosweeb8059
      @alexandrosweeb8059 3 роки тому +7

      I want that song! It sounded soooo sick ^^

    • @dominicellis1867
      @dominicellis1867 3 роки тому +6

      @@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?

  • @XanderGouws
    @XanderGouws 3 роки тому +425

    You really thought you could sneak *the lick* past us at 7:27, huh ;)

  • @joaovictorsilva3092
    @joaovictorsilva3092 3 роки тому +151

    This channel have so much potential

  • @thefranciscoflores
    @thefranciscoflores Рік тому +8

    when he started building the song as he was explaining the waveform sounds i wanted to cry. that was so beautiful

  • @jimmy21584
    @jimmy21584 3 роки тому +194

    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.

  • @ShaunakDe
    @ShaunakDe 3 роки тому +52

    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.

  • @donbonesmith9628
    @donbonesmith9628 3 роки тому +15

    that little beat at the end was a banger

  • @Testgeraeusch
    @Testgeraeusch 3 роки тому +120

    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 :)

    • @chiaramartin8426
      @chiaramartin8426 2 роки тому

      Sounds interesting!! Could u send the .zip to me?

    • @VRchitecture
      @VRchitecture 2 роки тому +1

      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 )

    • @Testgeraeusch
      @Testgeraeusch 2 роки тому +1

      @@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... ^^

    • @tobitdesmet
      @tobitdesmet Рік тому +1

      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!

    • @jwgmail
      @jwgmail Рік тому

      what is the name of the java program?

  • @antipainK
    @antipainK 3 роки тому +42

    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 😍

    • @azraf_youtube
      @azraf_youtube 2 роки тому +1

      Why do you have a profile picture of kermit committing suicide?

    • @melihbostan9159
      @melihbostan9159 9 місяців тому

      I also needed this explanation and I feel smarter for understanding this. I guess we are all geniuses with a right teacher :)

  • @prod.filipzz
    @prod.filipzz 10 днів тому +1

    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.

  • @KlaudiusL
    @KlaudiusL 3 роки тому +12

    @11:30 I want a 1 hour version of this
    Nice vid, new sub here 👏👏

  • @shotgun3628
    @shotgun3628 3 роки тому +37

    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

  • @neetishdhavgaye
    @neetishdhavgaye 3 роки тому +6

    I am just a kid... learning math, science
    Now I can see how to corelate them easily.
    Glad you made this video !!!

  • @SilentShiba
    @SilentShiba 3 роки тому +1

    Dude you crushed it. The visuals really made it easy to learn, and I liked listening to the song you made at the end.

  • @kitwhale9067
    @kitwhale9067 6 місяців тому +1

    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!

  • @KazeReload
    @KazeReload Рік тому +1

    I think it was the clearest explanation of the fourier series and sound design that I've ever seen. Amazing job.

  • @Clickle
    @Clickle 3 роки тому +5

    This video is amazingly put together, thank you for making this

  • @Shirley-by4ty
    @Shirley-by4ty 3 роки тому

    Man, this is absolutely golden. I've been looking for a video like this for ages

  • @prodlowkeen
    @prodlowkeen 3 роки тому +2

    this video is so incredibly underrated and interesting, love the way you explained and animated everything

  • @diogosilva5972
    @diogosilva5972 Рік тому

    The way you summed up and delivered these topics was brilliant!

  • @12333333333435454646
    @12333333333435454646 3 роки тому +3

    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!

  • @BlessedCobra
    @BlessedCobra Рік тому +6

    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.

  • @theheartstringvirtuoso
    @theheartstringvirtuoso Рік тому

    Absolute gold. Completely captivating

  • @EnderMega
    @EnderMega 2 роки тому +2

    This is incredible, the "editing" since you made the graphics library, the story telling, the content in it, everything was awesome.

  • @Brotyx
    @Brotyx 3 роки тому +4

    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! :)

  • @jdreiki
    @jdreiki 3 роки тому +1

    Oh man, just found my new favorite Chanel, thanks dude, I was really needing this knowledge, and it up with the sick beats to

  • @ThongNguyen-fl9jp
    @ThongNguyen-fl9jp 3 роки тому

    Thank you for so simply and quickly explaining these fundamentals with great illustrations! I will keep coming back to this and your channel!

  • @sygma_mdn_zdd
    @sygma_mdn_zdd 3 роки тому

    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.

  • @seekerofmeaning
    @seekerofmeaning 3 роки тому +1

    The way you explain that is clean like a professional mix ;)
    Thank You!

  • @hexagon5610
    @hexagon5610 3 роки тому +1

    This got recommended to me. I thought I would knew all of this already, but still learned some new things. Keep it up!

  • @user-oh4sg1wd4q
    @user-oh4sg1wd4q 3 роки тому +3

    Great vizual effects!! this is simple and clear.
    I want more series.
    nice job!

  • @ericornelasmath
    @ericornelasmath 3 роки тому

    This is incredible. I'm speechless. I am without speech.

  • @shabaq7077
    @shabaq7077 3 роки тому

    This channel is gonna blow up. Great video by the way!

  • @sebastiangamboa9339
    @sebastiangamboa9339 3 роки тому

    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!

  • @WolfrostWasTaken
    @WolfrostWasTaken 3 роки тому +1

    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!

  • @gian-227
    @gian-227 11 місяців тому

    Learning with this kind of videos is x1000 easier. Thank you so much!

  • @agustinyavar525
    @agustinyavar525 3 роки тому +1

    The quality of the videos is amazing, I'm subbing

  • @channelsixtysix066
    @channelsixtysix066 3 роки тому +1

    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. 👍

  • @hvandermillen3237
    @hvandermillen3237 3 роки тому +1

    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!

  • @aakashprasad114
    @aakashprasad114 11 місяців тому +1

    you are a freakin genius homie! keep up the good work! the beat at the end was amazing!

  • @akelych
    @akelych 5 місяців тому +1

    I am speechless, this is just awesome. The most helpful vid on the topic I've ever watched

  • @tomasenrique
    @tomasenrique Рік тому

    This is such an amazing video!!! Thanks so much for having this up on the web!

  • @davidebertini7404
    @davidebertini7404 3 роки тому +2

    Damn your videos are so good, incredible content. Wasn't expecting a sick chiptune bit at the end, love it!❤️

  • @MrLuigiBean1
    @MrLuigiBean1 3 роки тому

    This video is genuinely fantastic! Great work!

  • @oldrockhopper3652
    @oldrockhopper3652 Рік тому

    Great explanations. You brought maths, music theory and instrument synthesis together very clearly.

  • @acousticIndie
    @acousticIndie 3 роки тому +2

    Great content, amazing visuals, maths, music theory. Masterpiece!

  • @prithvidhyani1991
    @prithvidhyani1991 Рік тому

    Probably one of my favorite videos on the internet right now..

  • @davidvallejo9184
    @davidvallejo9184 Рік тому

    No one else could explain it better than you, you are the best!

  • @MariosBeL
    @MariosBeL 3 роки тому +1

    What I just learned?
    Thank you for making this 🔥

  • @modus_ponens
    @modus_ponens 3 роки тому

    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. 😝

  • @pactpoint
    @pactpoint 3 роки тому +1

    This channel have some potential to be popular. Keep up the good work!

  • @yoctometric
    @yoctometric 3 роки тому +13

    So glad I found this channel! Incredibly high quality content

  • @plasmarade
    @plasmarade 3 роки тому +60

    GG on 1k subs, you reached 1k overnight, nice to see how the algorithm blessed you

    • @plasmarade
      @plasmarade 3 роки тому +1

      3 days later and your numbers have tripled...
      Just WOW
      You still deserve more subs btw your content is high quality

    • @crazycat1380
      @crazycat1380 3 роки тому

      Make that quintupled

    • @plasmarade
      @plasmarade 3 роки тому

      WOW

    • @urymatulixlaj2485
      @urymatulixlaj2485 3 роки тому

      it’s currently 11x more than that of three weeks ago

    • @plasmarade
      @plasmarade 3 роки тому +2

      @@urymatulixlaj2485 HOLY...
      THAT'S INSANE
      The algorithm has blessed this man

  • @adarshkishore6666
    @adarshkishore6666 2 роки тому

    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!

  • @nikkorino8100
    @nikkorino8100 10 місяців тому

    ALE TO BYŁO DOBRE. czuję się prawidłowo. dziękuję

  • @brookeelizabeth1270
    @brookeelizabeth1270 2 роки тому +1

    Such a beautiful description, and such a sick beat it had me dancing instantly!

  • @jewelthompson4210
    @jewelthompson4210 3 місяці тому

    Amazing! Thank you so much for this!

  • @the.emc33
    @the.emc33 Рік тому

    This video is absolutely amazing!

  • @ConnorBox
    @ConnorBox 3 роки тому +1

    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

  • @-N0PE-
    @-N0PE- 3 роки тому +24

    I've been watching your videos the whole evening. You made my day.

  • @fireemblem2770
    @fireemblem2770 3 роки тому +3

    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!!

  • @DanielVieira-mj1ml
    @DanielVieira-mj1ml 3 роки тому +1

    Nice video, I was looking for that.
    Thank you!

  • @Gabwiell
    @Gabwiell 3 роки тому +1

    Incredible work, you got my hype for your next vids :)

  • @Tantacrul
    @Tantacrul 10 місяців тому

    very nice work! Thanks!

  • @doonual6034
    @doonual6034 3 роки тому

    This entire channel is just amazing, please make more videos

  • @itsdrawkcab5899
    @itsdrawkcab5899 Рік тому

    Best video i've seen in while! you're really good at educating 🙌

  • @curtpiazza1688
    @curtpiazza1688 Рік тому

    Wow! Lots of valuable information in just 12 min.! Thanx!

  • @charpnatl
    @charpnatl 11 місяців тому

    I made an immediate connection with this information to the analog organ I acquired from a church several years ago. This was SO COOL!

  • @arvinprativadi3051
    @arvinprativadi3051 Рік тому +1

    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!

  • @thebaconbreadful
    @thebaconbreadful 3 роки тому +4

    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.

  • @sonikculture
    @sonikculture 3 роки тому

    What a WONDERFUL video

  • @s.vidhyardhsingh3881
    @s.vidhyardhsingh3881 9 місяців тому

    I needed something so badly and i didn't know what it was.......
    It was this video!!!! Thank you very much!!!

  • @gabedarrett1301
    @gabedarrett1301 2 роки тому +1

    This is extremely high quality content! Subscribed!

  • @arpithjohn520
    @arpithjohn520 3 роки тому

    Awesome vid!
    Thank you for this.

  • @Rodolfoalvescarvalho
    @Rodolfoalvescarvalho 3 роки тому +1

    Uau! Thank you! Please, don't stop!

  • @okwhynot.
    @okwhynot. 17 днів тому

    Dude this would have to be the best video ever made, ever. Ever ever. Thanks

  • @juanpenagos
    @juanpenagos 3 роки тому

    What an amazing video! Thanks!

  • @iamnickycchen
    @iamnickycchen 3 роки тому

    Thank you man, so helpful. Please do more video talk about the math behind music. Producer needs a ton of these knowledge.

  • @Jralm
    @Jralm 3 роки тому +3

    wow i didn't expected a video of this quality! so underrated

  • @MegawattKS
    @MegawattKS 10 днів тому

    Nicely presented. Thank you !

  • @christianjavier1648
    @christianjavier1648 Рік тому

    This is such a good video in so many levels. Thanks UA-cam for recommending this. 🎉

  • @neonblack211
    @neonblack211 Рік тому

    that's really cool seeing the square wave and the formula for odd numbers in it

  • @sweedmusic2166
    @sweedmusic2166 6 місяців тому

    Very resourceful video! Thank you for the good explanation.

  • @idonnow2
    @idonnow2 Рік тому

    You's insane my man this video blew my mind keep it up

  • @erodas4222
    @erodas4222 3 роки тому

    Exactly what I was looking for. Thank you.

  • @uniworkhorse
    @uniworkhorse 3 роки тому

    Seeing how the formulas manipulated the humble sine wave into the other waveforms was awesome to see! Thanks for making this vid dude

  • @PaxHominibusBonaeVoluntatis
    @PaxHominibusBonaeVoluntatis 9 місяців тому

    I've never seen before so good explanation of theory of sound and harmonics! It was great! Thanks!

  • @RAyLV17
    @RAyLV17 3 роки тому +3

    You've made some great content, my man! Subscribed!

  • @AJ-et3vf
    @AJ-et3vf Рік тому

    Awesome video! Thank you!

  • @Sheyvanrocks
    @Sheyvanrocks 3 роки тому

    Fantastic explanations and extremely nice, that you show examples whereever possible. Kudos!

  • @tioliak
    @tioliak Рік тому

    Thanks for the knowledge!

  • @frab8061
    @frab8061 3 роки тому

    Great informative and interesting video. Very well explained and visualized as well. Your video deserves much more attention.

  • @linusemmerich3424
    @linusemmerich3424 6 місяців тому +1

    Bro I did not expect you to be that deep in the musical rabbit hole. You even used memes like da lick (7:26)

  • @kogsey
    @kogsey 3 роки тому

    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. 👍

  • @vincewrld9265
    @vincewrld9265 Рік тому

    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

  • @satwindersetia4367
    @satwindersetia4367 11 місяців тому

    Great to know another aspect of music. Thanks.

  • @sujitjustinebarwa
    @sujitjustinebarwa 2 роки тому

    This was the best presentation of music and math i have ever seen 😃