AlgoMotion | Algorithm Randomly Searches Until it Plays “The Lick”, Over the Circle of 4ths @AlgoMotion | Uploaded January 2024 | Updated October 2024, 11 hours ago.
Algorithms performs a random search for the lick, while cycling through the keys in the circle of 4ths.
The algorithm randomly shuffles the seven relative notes that constitute "the lick" until it sorts them in the correct order, similar to the bogosort algorithm but with a specific "target" order.
The number of combinations of these 7 relative notes is 7!/2 ≈ 2520, (the divide-by-two is needed because the two instances of the tonic are identical). The two instances of the supertonic (the 2nd) are considered by the algorithm to be different because they have different durations.
Enjoy!
Other @AlgoMotion videos you might like:
▶youtu.be/dZVfie35Jx4
▶youtu.be/jVeot-svmFM
▶youtu.be/QwM2-l3lE2g
________
Interested in learning more about algorithms and how to program? Here are some useful and/or classic textbooks that I recommend (these are affiliate links, if you buy one, I get a small commission):
▶ “Algorithms” (4th Edition) by Robert Sedgewick & Kevin Wayne: amzn.to/3uo25xR
▶ “Effective Java” (3rd Edition) by Joshua Bloch: amzn.to/3HOnYJL
▶ “Python Crash Course, 3rd Edition: A Hands-On, Project-Based Introduction to Programming” by Eric Matthes: amzn.to/481jQ43
▶ “Design Patterns: Elements of Reusable Object-Oriented Software” by Erich Gamma, Richard Helm, Ralph Johnson, & John Vlissides: amzn.to/49fpr7R
▶ “Discrete Algorithmic Mathematics” by Stephen B. Maurer & Anthony Ralston: amzn.to/4bmsOvG
#meme #jazz #music #algorithm #musictheory #thelick #random #satisfying #studymusic #backgroundmusic #hypnotic #computermusic #programming #search #code
Algorithms performs a random search for the lick, while cycling through the keys in the circle of 4ths.
The algorithm randomly shuffles the seven relative notes that constitute "the lick" until it sorts them in the correct order, similar to the bogosort algorithm but with a specific "target" order.
The number of combinations of these 7 relative notes is 7!/2 ≈ 2520, (the divide-by-two is needed because the two instances of the tonic are identical). The two instances of the supertonic (the 2nd) are considered by the algorithm to be different because they have different durations.
Enjoy!
Other @AlgoMotion videos you might like:
▶youtu.be/dZVfie35Jx4
▶youtu.be/jVeot-svmFM
▶youtu.be/QwM2-l3lE2g
________
Interested in learning more about algorithms and how to program? Here are some useful and/or classic textbooks that I recommend (these are affiliate links, if you buy one, I get a small commission):
▶ “Algorithms” (4th Edition) by Robert Sedgewick & Kevin Wayne: amzn.to/3uo25xR
▶ “Effective Java” (3rd Edition) by Joshua Bloch: amzn.to/3HOnYJL
▶ “Python Crash Course, 3rd Edition: A Hands-On, Project-Based Introduction to Programming” by Eric Matthes: amzn.to/481jQ43
▶ “Design Patterns: Elements of Reusable Object-Oriented Software” by Erich Gamma, Richard Helm, Ralph Johnson, & John Vlissides: amzn.to/49fpr7R
▶ “Discrete Algorithmic Mathematics” by Stephen B. Maurer & Anthony Ralston: amzn.to/4bmsOvG
#meme #jazz #music #algorithm #musictheory #thelick #random #satisfying #studymusic #backgroundmusic #hypnotic #computermusic #programming #search #code