Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Bogosort Sheds the Rhythm Changes Until it Sorts the List

Автор: AlgoMotion

Загружено: 2024-01-28

Просмотров: 7291

Описание:

Bogosort continues its journey through the jazz repertoire, this time shedding over the Rhythm Changes until it successfully sorts the list.

The Bogosort algorithm is as follows:

1. Randomly shuffle the list.
2. Check if the list is sorted.
3. If not, go back to 1.

For a list of n elements, there is a 1/n! chance that Bogosort successfully sorts the list on any given pass, since there are n! (n factorial) possible permutations of the list. So with six elements, the probability of the list being sorted on any given pass is 1/6! = 1/720 ≈ 0.00139.

In this instance, the algorithm took 545 passes to sort the list.

The six elements of the list are mapped to notes of a specific scale, depending on which chord is being played in the progression. The scales used include the major pentatonic, Phrygian dominant, natural minor, harmonic minor, altered scale, Mixolydian, and more.

The shuffling algorithm used is the Fisher–Yates Shuffle, from lowest index to highest. The note played is the value of the element at the current index in the outer for-loop of the shuffle algorithm.

________

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: https://amzn.to/3uo25xR
▶ “Effective Java” (3rd Edition) by Joshua Bloch: https://amzn.to/3HOnYJL
▶ “Python Crash Course, 3rd Edition: A Hands-On, Project-Based Introduction to Programming” by Eric Matthes: https://amzn.to/481jQ43
▶ “Design Patterns: Elements of Reusable Object-Oriented Software” by Erich Gamma, Richard Helm, Ralph Johnson, & John Vlissides: https://amzn.to/49fpr7R
▶ “Discrete Algorithmic Mathematics” by Stephen B. Maurer & Anthony Ralston: https://amzn.to/4bmsOvG

#jazz #algorithm #altered #music #musictheory #solo #meme #rhythmchanges #igotrhythm #gershwin #improvisation #bogosort #sortingalgorithm #sorting #visualization #computerscience #programming #code #satisfying #asmr #scrollingscore #transcription #hypnotic #studymusic #focusmusic

Bogosort Sheds the Rhythm Changes Until it Sorts the List

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Теренс Тао о том, как Григорий Перельман решил гипотезу Пуанкаре | Лекс Фридман

Теренс Тао о том, как Григорий Перельман решил гипотезу Пуанкаре | Лекс Фридман

Gary Burton Quintet 1974 feat. Pat Metheny, Mick Goodrick, Steve Swallow, Bob Moses

Gary Burton Quintet 1974 feat. Pat Metheny, Mick Goodrick, Steve Swallow, Bob Moses

Решающая победа! Как Полина Шувалова переломила ход матча против Китая!

Решающая победа! Как Полина Шувалова переломила ход матча против Китая!

ПРОСТАЯ СЛОЖНОСТЬ: КАК АУКЦЫОН СЛОМАЛИ РИТМ

ПРОСТАЯ СЛОЖНОСТЬ: КАК АУКЦЫОН СЛОМАЛИ РИТМ

Bogosort Takes the

Bogosort Takes the "A" Train Until it Sorts the List

ЛАМПОВОЕ УСИЛЕНИЕ. Как устроена РАДИОЛАМПА? Понятное объяснение!

ЛАМПОВОЕ УСИЛЕНИЕ. Как устроена РАДИОЛАМПА? Понятное объяснение!

Корень из двух – первая математическая трагедия // Vital Math

Корень из двух – первая математическая трагедия // Vital Math

РАЗВИВАЕМ СЛУХ - Интервалы на слух за 20 минут

РАЗВИВАЕМ СЛУХ - Интервалы на слух за 20 минут

Лента Мёбиуса — кому вообще нужна топология? [3Blue1Brown]

Лента Мёбиуса — кому вообще нужна топология? [3Blue1Brown]

Кто умнее? Инженер против китайского пятиклассника

Кто умнее? Инженер против китайского пятиклассника

Bogosort Sheds Donna Lee Until it Sorts the List

Bogosort Sheds Donna Lee Until it Sorts the List

✓ Как извлекать корни «в столбик» | Ботай со мной #158 | Борис Трушин

✓ Как извлекать корни «в столбик» | Ботай со мной #158 | Борис Трушин

ТАКОЕ НЕ ПОКАЖУТ В ВУЗах-  Как работают и для чего нужны транзисторы ? Что такое PN переход?

ТАКОЕ НЕ ПОКАЖУТ В ВУЗах- Как работают и для чего нужны транзисторы ? Что такое PN переход?

Scarlatti: Sonatas

Scarlatti: Sonatas

Почему средневековые крестьяне никогда не замерзали при температуре -40°F, а современные дома вым...

Почему средневековые крестьяне никогда не замерзали при температуре -40°F, а современные дома вым...

Как делить на НОЛЬ // Vital Math

Как делить на НОЛЬ // Vital Math

Toothpick Sequence Visualized with Circle of Fifths Harmony | 256 Steps

Toothpick Sequence Visualized with Circle of Fifths Harmony | 256 Steps

Как получить «ТО САМОЕ» изменённое звучание доминантовых аккордов (1 простой приём)

Как получить «ТО САМОЕ» изменённое звучание доминантовых аккордов (1 простой приём)

15 Sorting Algorithms in 6 Minutes

15 Sorting Algorithms in 6 Minutes

Почему средневековое дерево никогда не гнило, а ваше умирает через 5 лет

Почему средневековое дерево никогда не гнило, а ваше умирает через 5 лет

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]