Популярное

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

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

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

Топ запросов

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

Bogosort Sheds Arabesque No. 1 Until it Sorts the List

Автор: AlgoMotion

Загружено: 2024-03-06

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

Описание:

Bogosort plays over the changes to Debussy's "Arabesque No. 1" until it sorts the list.

The chord changes are from the first 16 bars of Arabesque No. 1 (looped).
________

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 1051 passes to sort the list.

The six elements of the list are mapped to notes of a specific scale or chord, depending on which chord is being played in the progression.

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

#debussy #algorithm #music #musictheory #piano #classical #impressionist #arabesque #meme #random #randomness #improvisation #bogosort #sortingalgorithm #sorting #visualization #computerscience #programming #code #satisfying #asmr #scrollingscore #transcription #hypnotic #lullaby #sleepmusic #sleepingmusic #studymusic #focusmusic

Bogosort Sheds Arabesque No. 1 Until it Sorts the List

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

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

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

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

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

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

Rotating Polygons on the Circle of Fifths | Surprising Results!

Rotating Polygons on the Circle of Fifths | Surprising Results!

Sounds of the Collatz Conjecture: Generating Music from the 3x + 1 Problem

Sounds of the Collatz Conjecture: Generating Music from the 3x + 1 Problem

SNAJPER O KARABINKU GROT - NIKT TEGO NIE KUPUJE - oddaliśmy je Ukrainie za darmo I PRZEŚWIETLENIE

SNAJPER O KARABINKU GROT - NIKT TEGO NIE KUPUJE - oddaliśmy je Ukrainie za darmo I PRZEŚWIETLENIE

Leonardo Iizuka vs Benyamin Faraji | U19 BS - R32 | #ITTFWorldYouths 2025

Leonardo Iizuka vs Benyamin Faraji | U19 BS - R32 | #ITTFWorldYouths 2025

12 Sorting Algorithms, but they're in Major Pentatonic keys

12 Sorting Algorithms, but they're in Major Pentatonic keys

Eska Hity Listopad 2025 🎧 Top Radiowe Przeboje – Eska Hotlist Vol.28

Eska Hity Listopad 2025 🎧 Top Radiowe Przeboje – Eska Hotlist Vol.28

Piano Alone for the Soul: Notes that Whisper Eternal Memories 🎵

Piano Alone for the Soul: Notes that Whisper Eternal Memories 🎵

Machiavellianism Sort

Machiavellianism Sort

Buduję WSZYSTKO co każe mi SZTUCZNA INTELIGENCJA

Buduję WSZYSTKO co każe mi SZTUCZNA INTELIGENCJA

Tusk reaguje na ryzyko infiltracji. Ludzie Nawrockiego bez dostępu do informacji

Tusk reaguje na ryzyko infiltracji. Ludzie Nawrockiego bez dostępu do informacji

❄️ AUTA KONTRA 100 WARSTW SZKŁA | TEARDOWN |

❄️ AUTA KONTRA 100 WARSTW SZKŁA | TEARDOWN |

Conway's Game of Life as a Musical Instrument

Conway's Game of Life as a Musical Instrument

Felix Lebrun vs Alexis Lebrun | MS Final | #WTTMuscat 2025

Felix Lebrun vs Alexis Lebrun | MS Final | #WTTMuscat 2025

Piano art alone - stories without voice living in piano 🎵

Piano art alone - stories without voice living in piano 🎵

KUPIŁEM WSZYSTKIE BRAINROTY w UKRADNIJ BRAINROT!

KUPIŁEM WSZYSTKIE BRAINROTY w UKRADNIJ BRAINROT!

STANISŁAW MICHALKIEWICZ | JAN POSPIESZALSKI ROZMAWIA #159

STANISŁAW MICHALKIEWICZ | JAN POSPIESZALSKI ROZMAWIA #159

Cały odcinek: 🎶 Magiczne cymbałki | Blue | Disney Junior Polska

Cały odcinek: 🎶 Magiczne cymbałki | Blue | Disney Junior Polska

Как играть Soul Power Джеймса Брауна на электрогитаре @EEMusicLIVE2

Как играть Soul Power Джеймса Брауна на электрогитаре @EEMusicLIVE2

KONTRA #17 Rymanowski, Bartosiak, Kowal: Co z Polską? Co z Ukrainą?

KONTRA #17 Rymanowski, Bartosiak, Kowal: Co z Polską? Co z Ukrainą?

Chat-Controlled Bogosort Music (ChomboSort) | NEW FEATURES: Change the Instrument & More!

Chat-Controlled Bogosort Music (ChomboSort) | NEW FEATURES: Change the Instrument & More!

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



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



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