The Fibonacci Music Box (

Sdílet
Vložit
  • čas přidán 17. 08. 2023
  • As part of 3blue1brown's Summer of Math Exposition #3, I present this video, along with an interactive mathemusical webapp! Try out the Fibonacci Music Box here:
    marcthespark.github.io/Fibona...
    My other videos on Math and Music:
    - The Great Rhythm Tree: • The Great Rhythm Tree
    - The Problem with Pi Music: • The Problem with Pi Music
    - The Rhythm of the Primes (from #SoME2): • The Rhythm of The Prim...
    Other Links:
    Support me on Patreon: / marcevanstein
    Check out my SCAMP libraries: scamp.marcevanstein.com/
    Take my course on Kadenze.com: www.kadenze.com/courses/compu...
    Private Lessons: teaching.marcevanstein.com
    The following materials were used under various Creative Commons Licenses (see link for license):
    - Hubble Deep Field: commons.wikimedia.org/wiki/Fi...
    - "The Fibonacci Sequence is Normal Base 10" (Brennan Benfield, Michelle Manes): arxiv.org/abs/2202.08986
    - Pidgeon image (Wakana Sasaki / DataBase Center for Life Science): commons.wikimedia.org/wiki/Fi...
    - Fibonacci graph (Yuri Elias Rodrigues): commons.wikimedia.org/wiki/Fi...
    - Pigeon coo (Javier Serrat): freesound.org/people/JavierSe...
    - Fibonacci spiral (Raiana Tomazini): commons.wikimedia.org/wiki/Fi...
    - Golden Spiral (Brad Hammonds): commons.wikimedia.org/wiki/Fi...
    - Golden Spiral Logarithmic (user Jahobr): commons.wikimedia.org/wiki/Fi...
    Thanks also to Tyler Foster who first introduced me to the diagram that became the Fibonacci Music Box!
  • Hudba

Komentáře • 350

  • @lowellrindler9454
    @lowellrindler9454 Před 9 měsíci +1089

    the thing that always annoyed me about those “digit songs” is that they always seem to use base 10. If you’re gonna use digits then surely base 7 or 12 is a more elegant solution than a number as arbitrary as 10.

    • @iridescent6685
      @iridescent6685 Před 9 měsíci +83

      A scale should definitely be picked. Scales are already based on mathematical principles.

    • @cellularautomaton.
      @cellularautomaton. Před 9 měsíci +40

      ​@@iridescent6685well, not as much as you might think, but yes

    • @samcousins3204
      @samcousins3204 Před 9 měsíci +13

      ​@@iridescent6685i mean not really but only sorta

    • @Excalibaard
      @Excalibaard Před 9 měsíci +24

      You could also change the scale from 12EDO to 10EDO. Or, instead of pitch, it could be chords or length or instruments or themes.
      Ultimately it's up to you what you take as inspiration and how you map it to music.

    • @anteshell
      @anteshell Před 9 měsíci +28

      @@iridescent6685Most scales can be described mathematically, but that was only the afterthought. The first was, "damn this sounds good", and only then came, "let's try to make some sense out of this".

  • @remihollenfeuer6233
    @remihollenfeuer6233 Před 9 měsíci +204

    I have been writing this sequence of 60 numbers down for over 20 years never really understanding what it was. 1793 for short hand, I've been obsessed with it. Every 5th number is a 5 or a zero, when typing them on a number pad they form a fantastic 4 sided symmetrical flower, I've been plotting them in 15 pointed stars using string art and holy fuck you have a video that just breaks it all down. I've never gotten deep into mathematics and I didn't have any education past high school, but this has life long been my favorite set of 60 numbers that I found one day in highschool art class trying to draw spirals. I am beside myself right now.

    • @ArThur_hara
      @ArThur_hara Před 8 měsíci +3

      beautiful

    • @EchelonNine
      @EchelonNine Před 7 měsíci +9

      I found out this same phenomenon for myself in math class. I got bored, picked a random 5 digit number like 27384 or something like that and inadvertently came up with the mod 10 system when adding in columns. I thought I was on to some crazy mathematical discovery, but I knew there was no way someone else hadn’t figured it out yet, I just didn’t even know where to begin to look to find an explanation. Sure enough, here one is.

    • @Loebane
      @Loebane Před 6 měsíci +4

      Now I want to see your art!

    • @gandu861
      @gandu861 Před 5 měsíci

      Because u are alive, life is also conservation of information, the sequence is the same sequence present in nature.

  • @davidumann6707
    @davidumann6707 Před 9 měsíci +145

    I can really see this being inspiration for video game music. The segment between 10:21 and 10:43 specifically gave me the feeling of discovering a mystic cave, with every different cycle being more mysterious and magical than the last, especially with that echo effect.

    • @arandomguyscrolling2023
      @arandomguyscrolling2023 Před 9 měsíci +5

      Or You Enter A Secret

    • @ajx4
      @ajx4 Před 8 měsíci +2

      Yeah Legends of Zelda regularly plays something similar in discovery of new places situations

    • @PerfectDarkcontrol
      @PerfectDarkcontrol Před 7 měsíci +2

      Genshin did something like this. One of it's tracks uses the Fibonacci sequence, but not for the notes, rather for the beats. If interested, the track is called Gilded Runner.

  • @aaroncarsonart
    @aaroncarsonart Před 9 měsíci +87

    That final musical composition which utilized multiple pisano periods in various combinations to create a unique tune was my favorite part. Because it truly demonstrated a way to combine these various periodic elements together with the software you've created in a way where it's not just a loop of notes at an even rhythm. This added more variety and interest to the sound. Extending this app to account for such combinations of patterns by duplicating the boards, and allowing you to set entry and exit points at certain parts of the period (which can then loop based on some bpm and time signature) combined with the ability to select which scale each grid operates on... having these features for each grid would be pretty incredible. Because you could synchronize them, or cause them to diverge and see how the various periods intersect and then recombine. And also some pitch adjustment. So you could set a starting note for your scale as the root note of a grid. Combine that all together, and you have a generative music system that can inspire so many new kinds of sounds that nobody would ever likely think to compose all on their own.

    • @marcevanstein
      @marcevanstein  Před 9 měsíci +20

      It'd be a massive amount of work to code, but it's an amazing idea!

    • @clarcktumazar
      @clarcktumazar Před 9 měsíci +2

      ​@@marcevansteinthat is trueee ohh I would love to partake into doing something like this its such a cool exploration project

  • @bloomp7999
    @bloomp7999 Před 9 měsíci +94

    Thank you.
    For the simple "digit separated sequence" at the beguinng i thought of playing them simultaneously, it would do chords, and bigger and bigger chords as numbers would get more digits

    • @marcevanstein
      @marcevanstein  Před 9 měsíci +27

      Might max out a loud tone-clusters, but I think there's something there!

  • @thsand5032
    @thsand5032 Před 9 měsíci +31

    The reason why the loop has to go back to its beginning is best explained by reversing the sequence. If it is true that the n+1th point is entirely determined by the nth point, the converse is also true, because F_(n-1) = F_(n+1)-F_(n).
    To make it even clearer, the sequence is defined as X(n) = A^n X(0) where A is an invertible matrix.
    X(n) = X(m) means that A^n X(0) = A^m X(0), which, assuming n > m, means A^(n-m) X(0) = X(0), i.e. X(n-m) = X(0) : the pattern loops back to the start.

  • @MichaelPohoreski
    @MichaelPohoreski Před 9 měsíci +76

    === Table of Contents ===
    0:00 Intro
    0:20 Part I: Disappointing Fibonacci Music
    1:36 Part II: In Defence of Digits
    3:28 Part III: The Fibonaccis Modula 10
    6:00 Part IV: Pigeonholes and Loops
    8:06 Part V: A Sonic Interlude
    9:16 Part VI: A Multitude of Moduli
    11:50 Part VII: The Extended Fibonacci Cinematic Universe
    *Nick Burns:* _You're welcome!_

    • @Pieper.
      @Pieper. Před 7 měsíci +1

      folks like you are THE BEST! thank ya

  • @GameJam230
    @GameJam230 Před 8 měsíci +3

    11:17 WOW that looks so similar to a graph of the totient function. I wonder what relationship the two gtaphs have, if any, especially if the appearance of the "lines" on each have anything in common.
    I suppose the lines are really a natural expectation of ANY function with ties to modular arithmetic and expected values under particular and common inputs. The main visible line in the totient function is the direct result of totients of primes outputting 1 less than said prime, as well as some other expected values, and this likely occurs for much the same reason, but by different means.

  • @JodediahHolems
    @JodediahHolems Před 9 měsíci +66

    i CANNOT get over the song you play us out with at the end (15:58).... listened to it on loop for maybe 30 mins now. is there a fuller version available anywhere?

    • @dux3644
      @dux3644 Před 8 měsíci +3

      I'm sure you would like this song: Euclidean pulses by Woodkid

  • @jursamaj
    @jursamaj Před 9 měsíci +17

    Here's an interesting thought: Each of your loops starts with 0,1. But once you're throwing away the direct use of the fibonacci numbers, there's no reason you have to do that. Try starting with another pair that isn't in your existing cycle. It too should cycle. But since you have 100 digit pairs, and the original cycle used 60 of those, there's only 40 left. So the new cycle must be smaller. There are likely more than 2 cycles for any given modulus.
    In mod 10, (0,5,5) is a cycle. Another is (0,2,2,4,6,0,6,6,2,8,0,8,8,6,4,0,4,4,8,2). Note that this one can be broken into 4 phrases of (0,x,x,y,z). The rest are (1,3,4,7,1,8,9,7,6,3,9,2,), (2,6,8,4), and of course, the trivial (0,0). I did all these "by hand" (in a spreadsheet). To explore arbitrary moduli, you'd definitely want a program that can find all cycles.
    And then I unpaused, and you got into this topic as well…

  • @paulflute
    @paulflute Před 9 měsíci +41

    I enjoyed this a lot.. I'm a musician, composer with a love of maths.. and of combining the two..
    the difficulty for me with sequences like the Fibonacci is that it is fundamentally not about the numbers..
    It's about relationships.. and anything exponential is difficult to convey in both time and pitch past a certain point..
    my investigation recently has been about nesting which works well with the fibonacci..
    if we let the layers of composition be determined by the expanding series
    but we nest the previous series in as detail we gan being to get a sense of how the relationships work

    • @marcevanstein
      @marcevanstein  Před 9 měsíci +9

      Could not agree more! You clearly speak as someone who has experience trying to translate mathematical ideas to music. :)

    • @iridescent6685
      @iridescent6685 Před 9 měsíci

      I'd try something like phi in base 12, 24, 36, 49 or 52, with the rhythm in bases based of a time signature.

    • @mikeciul8599
      @mikeciul8599 Před 9 měsíci

      I've been trying to make Fibonacci "fractals" for years. My last attempt was to use copy-paste - write a one-beat section, then copy it and add a one-beat section, then copy the last 3 beats and add a 2-beat section, etc.

    • @atomictraveller
      @atomictraveller Před 9 měsíci

      you can use methods that aren't part of m450nic orgies as well you know
      singed, xoxos, basically the god of what you're trying to do
      and i mean singed
      and i mean singed

  • @blobofdespair
    @blobofdespair Před 8 měsíci +10

    Tool's song, "Lateralus" uses the Fibonacci Sequence it its rhythm. Beautiful song.
    Really cool video!! Great job!

  • @levibruner7553
    @levibruner7553 Před 8 měsíci +6

    It is very interesting how even bird song sounds like the Fibonacci sequence. The last "song" just sounded like nature.

  • @ridwanmujahid2316
    @ridwanmujahid2316 Před 9 měsíci +7

    I can't believe we finally discover how Nintendo made the music for BOTW/TOTK 🤯

  • @nodroGnotlrahC
    @nodroGnotlrahC Před 9 měsíci +41

    You'll find a couple of explorations of Pisano Periods on Notes From The Analytical Engine
    by Beat Frequency (on Bandcamp) - specifically tracks 3 and 23 - Pisano Bebop and A Traveller's Reverie. (One of Fibonacci's nicknames was The Traveller.)

  • @johnchessant3012
    @johnchessant3012 Před 9 měsíci +9

    Another way of looking at it is, the Pisano period is the order of [[1, 1]; [1, 0]] in the group of invertible 2 x 2 matrices mod n, since if you don't reduce mod n, the powers of that matrix give matrices with consecutive Fibonacci numbers.

  • @ZacharyVogt
    @ZacharyVogt Před 9 měsíci +8

    A few others made similar comments, but this vid was stressing me out for the first 55% of its runtime. The whole time i was watching, i was trying to mentally compose a tactful complaint comment about it being a base 10 centric vid. I felt much relief once that was addressed. 😊

  • @StefaanHimpe
    @StefaanHimpe Před 9 měsíci +19

    I really enjoyed your Fibonacci music at the end of the video. The video itself is also very nice - clear animations, clear explanation of why the modulo sequences have to loop (which was not immediately obvious to me before you explained it :)). Great stuff!

  • @mari-with-a-gun
    @mari-with-a-gun Před 9 měsíci +2

    7:35 It’s obvious that any one point will always lead to the same point, but what about in reverse? Every point shows two numbers. The current digit and the previous digit. This means you can go backwards by subtracting the previous digit from the current one, which in turn means that the mapping can be done backwards as well. No two points can lead to the same point, because otherwise the mapping couldn’t go backwards (you’d reach a point that diverges into two which is impossible)

  • @galladegamerletsplays
    @galladegamerletsplays Před 8 měsíci +1

    10:46
    sounds like something you'd hear in a purposefully glitchy boss song

  • @hughduncan2479
    @hughduncan2479 Před 8 měsíci

    A fascinating video thankyou! I did something in the same vein using the digits of repeating decimal fractions see the chalkdust article fractograms and a follow up where sound is included. Thanks again for a great article!

  • @TranquilSeaOfMath
    @TranquilSeaOfMath Před 9 měsíci

    Great video connecting number patterns, music, and coding.

  • @Aupheromones
    @Aupheromones Před 7 měsíci

    This is absolutely wild, thank you so much for this, and for just putting that tool out there to play with, it's astounding. I have been tweaking the intervals and decays to turn it into a more conventional "instrument" and seeing what kinds of cascades I can create. Cannot wait for my iPad to finish charging so I can try it as a physical instrument. Thank you!

    • @marcevanstein
      @marcevanstein  Před 7 měsíci +1

      So glad you're enjoying it! On my patreon there's an experimental MIDI-enabled version, in case you want to try routing it to a DAW

  • @jeemin_kim
    @jeemin_kim Před 8 měsíci +3

    Another answer to the question of
    "Why there's no orphaned sequence of nodes?"
    is that the process of generating a next Fibonacci number is deterministic, which means a point in a grid can only be generated by a *single* point.
    By the way, huge thanks for making this awesome video

    • @landsgevaer
      @landsgevaer Před 7 měsíci

      Not only is it deterministic, it is also invertible, is what you mean.
      Try the Collatz sequence from any number for something deterministic but not invertible.

  • @GameJam230
    @GameJam230 Před 8 měsíci +1

    For our exercise of showing why the loop must always return to the initial point for the fibonacci terms, it's relatively easy to show actually.
    Assume we have 3 fibonacci terms (or their last digits, specifically), A+B=C. In order to find a looping point later in in the sequence that does NOT require you to first go through A and B (thus creating a boken loop in this sense), two things must be true;
    We must have another value of C further down the line that is NOT created by the sum of A and B (one example could be that A and B are 1 and 4 with C is 5, but C could ALSO be made by 2 and 3),
    AND the NEXT term in the sequence must ALSO be the same as the term that comes after C, otherwise it obviously isn't a loop. This however, leads to a contradiction, because if we assume the next term after C- we'll call it D for consistency- is equal to C+B, and our assumption is that C AND D must be unchanged, then B must ALSO be unchanged. In other words, B=D-C, and we are saying D and C are fixed constants, and so must be B. But, we said that C must be created by a DIFFERENT pair of values A and B than our old set, but since we've determined that B and C are both constants, we can use the same basic difference identity to show that A=C-B, and therefore A ALSO can't change if both C and B remain unchanged. This means it is impossible to repeat any sequence of two terms C and D without FIRST going through the A and B that led to C to negin with, enforcing that no fibonacci terms can return to a previous point in the sequence without entirely cycling through it again.

  • @Illogical.
    @Illogical. Před 8 měsíci +2

    I'm definitely gonna use something like this for my minimalistic game.

  • @adroitwastaken
    @adroitwastaken Před 9 měsíci +17

    Super underrated

  • @paulflute
    @paulflute Před 9 měsíci +18

    marc.. you are a very naughty man making this machine free.. I didn't sleep until 4am and now I am on it again.. I have a life to live.. ;8)

    • @marcevanstein
      @marcevanstein  Před 9 měsíci +3

      This is your life now :-)

    • @Fasteroid
      @Fasteroid Před 9 měsíci +1

      Indeed... and I'm also a coder/programmer so there's so much I want to make and PR to this, such as...
      > better responsive web design (the top row of points gets clipped on my ipad)
      > toggleable sequencer mode
      (where each point can be clicked to toggle its cycle on or off)
      > chord mode
      (where holding down a point plays and sustains all the notes in its sequence)
      I could totally see this being used to make actual music I'd listen to

    • @marcevanstein
      @marcevanstein  Před 9 měsíci

      @@Fasteroid In case you want to! github.com/MarcTheSpark/FibonacciMusicBox I'd really appreciate help with the responsive design, tbh. I've never been good at CSS.

  • @lucasmalm9452
    @lucasmalm9452 Před 9 měsíci +3

    Nice Video, I wonder what you think about the Fibonacci sequence inside the Tool song Lateralus?

  • @MaxFerney
    @MaxFerney Před 8 měsíci

    you've gotten me very interested in this type of math

  • @codatheseus5060
    @codatheseus5060 Před 4 měsíci

    The song you made at the end reminds me of the game simtunes. If you have never seen the game before I'm sure you'd love it even though it's old AF. The song I'm thinking of is the one made out of the picture of a guy in a laboratory.

  • @CheeseLordAlmightytheOneGod
    @CheeseLordAlmightytheOneGod Před 9 měsíci

    You can get a mandlebrot with it too it seems because if you look at the growth you see a thing similar to when you increase the expontet

  • @NoriMori1992
    @NoriMori1992 Před 5 měsíci

    I just saw your tic-tac-toe video! I looked at your channel and did a double take when I saw you made something for SoME3 😁

  • @horndude77
    @horndude77 Před 9 měsíci +1

    14:44 "How many distinct cycles are there for a given modulus?" See A015134 on the OEIS. There are a couple of interesting patterns in this sequence: a(2^n) = 2^n. Also it looks like a(k^n) = (k^n + 1) / 2 for k in {3, 5, 7}. That patterns breaks down for 11 though.

  • @argothiel
    @argothiel Před 9 měsíci

    Wow, you've got some talent to keep the interest! :)

  • @MadAnarchist
    @MadAnarchist Před 3 měsíci

    Very interesting. Something to keep in mind, the sequence gets closer to phi, the farther you go the more precise this proportion gets, so it wouldn’t make so much sense to take into account the first numbers of the Fibonacci sequence since the golden ratio is just not as precise to phi from the start.

  • @sentinelav
    @sentinelav Před 5 měsíci

    I would love to see a continuous version of this, with all points in the grid coloured by the number of steps required to return to the start.

  • @Teh-Penguin
    @Teh-Penguin Před 9 měsíci +2

    Modulo 81 sounds like how they made futuristic computers sound in the movies from the 60s :D

  • @oosmanbeekawoo
    @oosmanbeekawoo Před 9 měsíci

    The damn observation skills this dude was able to make about his box!!

  • @charlesnyiha4641
    @charlesnyiha4641 Před 9 měsíci

    Brilliant video!!!!

  • @Neural-Awakening
    @Neural-Awakening Před měsícem

    Great video, so much great information! I want to see if adjusting the algorithm to be base9 will yield more 'harmonic' results. Or really any base divisible by 3. Super curious about 9-simplex propagation through space/time rotation and how to generate music from that.

  • @danielson9007
    @danielson9007 Před 5 měsíci

    This is why I love SoME

  • @telotawa
    @telotawa Před 9 měsíci

    my favorite was the overtone scale, i wish you did one where it wasnt so fast

  • @DukeCyrus
    @DukeCyrus Před 7 měsíci

    I dont know anything about any of this but my brain has rotted to the point that this thumbnail has become by far the funniest thing ive seen all day.

  • @rishondsouza7554
    @rishondsouza7554 Před 8 měsíci

    "The Extended Fibonacci Cinematic Universe" floored me

  • @maxcano2063
    @maxcano2063 Před 3 měsíci

    Finally someone do it in the right way

  • @elijahkropf
    @elijahkropf Před 9 měsíci

    Brilliant explanations and excellent visuals! I'm glad I found someone else who's interested in Pisano Periods, I love them 😆

  • @backoloryt1804
    @backoloryt1804 Před 7 měsíci

    I think an interesting idea would be to have the x axis of the mod represented different types of chords, and the y represent different base pitches for the chords. this would restrict you to mods that are multiples of the amounts of pitches in scales (e.g., multiples of 5, 7, or 12)

  • @petervogt8309
    @petervogt8309 Před 2 měsíci

    Brilliant, this is enough to turn anyone into a musical numerologist! When playing on the FibonacciMusicBox, once you move into the higher end of the modulo range, some of the some of the repeating patterns look like chaotic attractors in phase space. Lyapunov exponents anyone?

  • @pschweitzer524
    @pschweitzer524 Před 9 měsíci +1

    If you do a series of cycles where the modulo of the cycle is the cycle length of the previous cycle, does that also loop?

  • @matteo3325
    @matteo3325 Před 9 měsíci

    truly magical

  • @carpenterhillstudios8327
    @carpenterhillstudios8327 Před 9 měsíci

    I live in a musi-visual world. So while I was watching your numerical descriptions, I was thinking sound and geometry. the thought here is what we call "music" is rightly a pattern. Sound not only has pitch (the easy one) but volume and timbre. This would imply an x,y,z grid I suppose.
    But the sound pattern that we would call music has other features we perceive as the individual sounds become contextual on a local level (near neighbors) increasing to the global the (the entire pattern cycle).
    One of the predominant other features is rhythm. It is here that I'm wondering if there might not be a geometric application where numbers become vectors and sets of numbers become shapes.
    At the end of the day, sight and sound are perceptual, modified by our sensory experiences which are uniquely ours. I watched your video through to the end because deep down there was a visceral trigger that made me put down my coffee and now it's cold.

  • @user-hy6cp6xp9f
    @user-hy6cp6xp9f Před 9 měsíci

    One of the best SOME videos yet

  • @aurelienyonrac
    @aurelienyonrac Před 9 měsíci

    Finaly. So intresting

  • @tyler209459023523
    @tyler209459023523 Před 9 měsíci +1

    Love it!

  • @andresdaniel6711
    @andresdaniel6711 Před 7 měsíci

    Great video! However, there's one little thing I may point out. You are using the standard* 12 notes per octave tuning system (12 TET). Thus, the result is restricted to the 12 notes of this set. But it is important to realize that it is not the only possibility.
    As I see, there is nothing universal about our 12 TET system, but it is a cultural choice (as opposed to the Fibonacci sequence). I think it would be an interesting idea to "hear" this sequence of numbers in other tunings (This can be seen as using different glasses to see the same object).
    (*In Western culture).
    -
    The Xen Wiki is a wonderful resource.
    I would like to offer you some examples and other related links, but CZcams thinks I'm spamming you... XD.
    -
    Anyway, love this concept of using the (mod). Such an interesting approach!
    :)

  • @beaverbuoy3011
    @beaverbuoy3011 Před 9 měsíci +1

    Woop a musicpy some submission!!!!

  • @TheOneMaddin
    @TheOneMaddin Před 9 měsíci

    This is the first video on mathematics and music that I see that does not seem mathematically naive to me. You address the point that random sequences are a boring source for notes and you also consider different mappings between numbers and notes. I have no idea of music AT ALL! So this was refreshing. Thank you.

  • @morgan0
    @morgan0 Před 9 měsíci +4

    ooh this could make some interesting waveforms, taking the value on each axis and interpolating them in some way

  • @zekejanczewski7275
    @zekejanczewski7275 Před 7 měsíci

    I found a reletivly coherent infinite song
    Sum up the number of 1s in each sucssessive binary number. Then, travel that far away from middle C on the C scale.
    If you REALLY want it to stay a bop after note 16, you take the change in the sum of ones in the successive binary number number and play the note which is the Nth fibbinachi number higher if the sum increases by N, and the Nth fibinachi number lower if the dum decreases, where N is the absolute difference between them plus 2. Absolute fire.

  • @elementgermanium
    @elementgermanium Před 9 měsíci +3

    I noticed in passing that mod 5’s cycle covers a full 80% of all possible pairs, and it got me thinking.
    What is the highest fraction of these nodes that any Pisano sequence passes through? In other words, what is the highest possible value of pi(n)/n^2? n=3 seems hard to beat, since at another glance it hits all points but the degenerate sequence at 0, 0, but can it be proven to be the highest? That’s still only 8/9; if a higher value of n were to also hit all such points, it would still score higher.

    • @PMA_ReginaldBoscoG
      @PMA_ReginaldBoscoG Před 8 měsíci

      Why won't you try to build an app to find the solution? Wishing luck to you mate!❤

    • @landsgevaer
      @landsgevaer Před 7 měsíci

      Because pi(n)

  • @kingmasterlord
    @kingmasterlord Před 9 měsíci

    11:00 this looks like the path a captured animal would pace

  • @anastylos2812
    @anastylos2812 Před 9 měsíci

    We can go the Fibonacci numbers backward e.g. 13 - 8 = 5 ; 8 - 5 = 3 and so on. If we don't loop back to the beginning we would have a fork where two different outcomes would be possible if we go backwards. But that is impossible because the Fibonacci sequence is determined by the previous numbers. We can not get a fork going forward and we also not get a fork by going backwards. There will always be only one possible next/previous solution.

  • @stessosangue
    @stessosangue Před 9 měsíci +1

    Thanks for your work!

  • @newbie4789
    @newbie4789 Před 5 měsíci

    Oh yeah, there is a soundtrack called gilded Runner from the video game "Genshin impact". Instead of the melody, the Composer uses Fibonacci sequence into the rhythm. And it sounds really unique

  • @abraxas2658
    @abraxas2658 Před 9 měsíci +1

    At the beginning you mentioned the ever increasing feel of the first digit, and I feel like using that as an X coordinate with the last digit as the Y coordinate, you'd somehow maintain the feel of the sequence even more.

  • @kiryonnakira7566
    @kiryonnakira7566 Před 9 měsíci

    Try to click 3 times really fast at position (5, 11)
    modulo : 12
    tempo : 179
    cycles : 5
    scale : double harmonic
    median pitch : 62
    for reference i click 14+ times/sec (touchpad + mouse)

  • @siyustuff213
    @siyustuff213 Před 7 měsíci

    8:04 --
    since the fibbonaci numbers are deterministic, only one pair of points can lead to the other (eg A,B can only be preceded by C,A and there is only one such pair)
    a "fork" in the path would require 2 different points leading to the same one, which is not possible.

    • @landsgevaer
      @landsgevaer Před 7 měsíci

      Not just deterministic, also invertible, is what you mean. But yeah, correct.
      (E.g. Collatz sequences are deterministic, but not invertible.)

  • @Gokuroro
    @Gokuroro Před 8 měsíci

    Could there be an algorithm where, given a valid music sheet (single notes, non-cyclical, maybe?) it could find a valid (family of?) modulus and start point that defines the melody? 🤔

  • @gtziavelis
    @gtziavelis Před 8 měsíci

    2:10 - 3:00 I believe the first digit of the Fibonacci numbers follow Benford's law with a logarithmic distribution, i.e. about 30% of the time it'll be a 1, about 17% of the time it'll be a 2, etc.

    • @landsgevaer
      @landsgevaer Před 7 měsíci

      They definitely should, since the series asymptotically diverges exponentially and never includes an exact power of ten.

  • @thehattedhedgehog
    @thehattedhedgehog Před 9 měsíci

    -What music do you like?
    - It's... complicated...

  • @johnchessant3012
    @johnchessant3012 Před 9 měsíci +8

    Having listened to a whole bunch of them now, I have to say my favorite is still the original Fibonacci mod 10 on the major scale. That one is just charming!

    • @tristanridley1601
      @tristanridley1601 Před 9 měsíci +2

      Sounds great but it's fake. Nothing to do with Fibonacci really. It's like saying "you've done interesting things with those cabbages, but my favourite is this cabbage-shaped cake."

  • @sasasagagaga
    @sasasagagaga Před 9 měsíci

    It's so good content. Explanation is great!

  • @catomajorcensor
    @catomajorcensor Před 5 měsíci

    How would it sound like if, for each modulus (up to some limit), you would divide the octave into that many equal pitches? How about unequal temperaments?

  • @MTMguy
    @MTMguy Před 5 měsíci

    9:57 This could easily be the default ringtone of a phone

  • @weker01
    @weker01 Před 8 měsíci

    What does the text at 11:07 mean? Voice to text???

  • @bwicklander
    @bwicklander Před 8 měsíci

    Why do I get the bad feeling of listening to these will open some portal to another dimension...

  • @dagamusik
    @dagamusik Před 9 měsíci

    Brilliant reflections!

  • @user-pr6ed3ri2k
    @user-pr6ed3ri2k Před 9 měsíci

    1:09 yea base10 stuff too

  • @jennifermorrey7378
    @jennifermorrey7378 Před 9 měsíci +1

    This could be used as a random melody genarator!

  • @kennethhymes9734
    @kennethhymes9734 Před 9 měsíci

    Interesting stuff. Music not numbers, notation arbitrary and culturally created, excellent first ground clearing.

  • @domovoi_0
    @domovoi_0 Před 9 měsíci

    Incredible. Love and blessings!
    What is the visualising software ?

    • @marcevanstein
      @marcevanstein  Před 9 měsíci +1

      Check the description: you can try it out! (I wrote it for this video)

    • @domovoi_0
      @domovoi_0 Před 9 měsíci

      @@marcevanstein ah sorry my bad. Thanks!

  • @hermansims2296
    @hermansims2296 Před 8 měsíci

    Oh Great! Guess what I'm going to be messing around with for the next couple of months!
    Well, I'm going to go get my tablet and whiteboard now. Seriously, thank you. [from an old disabled U.S. Army Infantryman who just happens to like to do recreational math]

  • @giles5966
    @giles5966 Před 9 měsíci

    The "inversion" you talk about presumably refers to the 31st digit on being (10-1st digit) ie 11235.., maps to 99875... and 0 becomes 0. This is curious and always struck me as "musical" at least when I noticed reciprocal prime repetends of even length show the same thing however in the reciprocal case its "9's complement". To clarify: 1/7=0.142857 142857 etc the period is (p-1)/k where k=1 in this case and is therefore maximal.
    Splitting the repetend in half 142 is the 9s complement of 857. And this structure is universal (always when repetend has even length which is most cases though just because all primes>2 are odd it can be that (p-1)/k is odd). Despite reckoning there's a musicality in that inversion it was never obvious to me what the appropriate mapping ought to be and I sense you share that. The theory about about all this stuff is there:-- cyclotomic polynomials and things and I just have a peripheral understanding of number theory. 1/89 is a prime with maximal length period (in base 10) and seemed to me back in the day a decent sized candidate (because 1/7 won't keep people interested for long without a lot of operator involvement) and it has a curious decimal expansion reading it forward: 0.01(check it out for homework). Its proven by the way. Good luck.
    1/61 has period 60(b10) and moreover every digit is represented the same number of times. I ought to point out this does NOT mean its normal in the formal math sense of normal.

  • @bobwinslow1920
    @bobwinslow1920 Před 8 měsíci

    I think the reason you cannot have a forking path is because of the way fibonacci numbers are calculated. In order to get the the pair (3,5), for example, you must go through a point (x,3), as that is the only way to get f(n-1) to equal (3,5) in the next step. Of course only one number adds to 3 to make 5 and so we get the pair (2,3) and the logic repeats. However at this breaks down at (0,1) as that number has no predecessor so the one possible combination that gets to it, (1,0), allows it to loop. If I'm correct, i believe that means that every position on the pegboard has exactly one position that leads to it, no more and no less.

    • @bobwinslow1920
      @bobwinslow1920 Před 8 měsíci

      This also reminds me of that trick where 100 numbered people have their number in one of 100 numbered boxes and if everyone finds their number they all win. Where you look at your box then follow the trail that creates you almost always find the number that leads to your box.

  • @ItsDaKoolaidDude
    @ItsDaKoolaidDude Před 7 měsíci

    Why am i getting the imagination of someone who drank the all the energy drinks and is *_JUST_* shy of dying from caffine OD and is playing whatever comes to impulse on the xylaphone and this alone just sums up the music box?

  • @remork138
    @remork138 Před 6 měsíci

    love this! i hope you're ok with me coding a workalike in puredata for my modular.. coded for Bela/Pepper.. awesome for generative music!

  • @Israel2.3.2
    @Israel2.3.2 Před 9 měsíci +1

    Cool video, I had fun with these periods early days before learning about modular arithmetic, I remember the sequences of successive pairs contained either (1) (a, b) and (-a, b) and (a, -b) and (-a, -b) for all successive members a, b of the sequence or (2) they did not. I never figured out why

  • @The10000lbGorilla
    @The10000lbGorilla Před 9 měsíci

    Is there a way get the app essentially as a midi sequencer that I can control a synth or drum machine with?

    • @marcevanstein
      @marcevanstein  Před 9 měsíci +1

      For my patreon, I've created a MIDI version that you should be able to do that with!

  • @priyavkaneria
    @priyavkaneria Před 9 měsíci

    I don't know why but the way you explained the modular arithmetics was so easy to understand. Amazing visualisations.
    Also overall too the video, concept as well as explaination was awesome🚀💯

  • @boomkruncher325zzshred5
    @boomkruncher325zzshred5 Před 8 měsíci +5

    The number of notes on a Western music scale is 12 per octave (not counting the 13th note which starts the next octave). I wonder what a base 12 Fibonacci Sequence would look like digit-wise? I wonder how that music would sound if you played around with it?

    • @landsgevaer
      @landsgevaer Před 7 měsíci

      He shows that is has period 24 in the video...

  • @mikefutcher
    @mikefutcher Před 8 měsíci

    Not fineshed watching yet but here's a question....
    How would this work in base 12 rather than base 10? There's 12 notes in the scale so would that make more sence?

  • @Galinaceo0
    @Galinaceo0 Před 9 měsíci +2

    this is amazing! only suggestion id have is an option to show the colours on the dots before you click them. thank you so much it is oh so inspiring

  • @pegleg759
    @pegleg759 Před 9 měsíci

    Can I ask how the graphs starting at 02:40 were generated?

  • @tryctan2399
    @tryctan2399 Před 9 měsíci

    i had a fibonacci algorythm addon to my generative synth (cardinal) and i wondered what it really was since i loved the outcome of notes.
    this video was perfect. thank you!

  • @namelastname4077
    @namelastname4077 Před 5 měsíci

    would be even more interesting if each grid also had a transformer function (rule) for the duration and octave of each note in the sequence

  • @monapinkest
    @monapinkest Před 9 měsíci

    This video was insanely interesting, and I enjoyed every second of it! Thanks for sharing your insights :)
    I'd like to let you know that, at least on my firefox on desktop, your webapp tends to stop responding if you put the Decay Threshold to 0. I'm gonna go play around with the music box some more!

  • @jadchahin2145
    @jadchahin2145 Před 9 měsíci

    What software did you use to make this video? Thanks

  • @PromptStreamer
    @PromptStreamer Před 9 měsíci

    This is a masterpiece.

  • @doctorsabado2792
    @doctorsabado2792 Před 8 měsíci

    How about instead of modulo, use digital roots