Can AI learn how to generate or make music? Let's find out. In this video, I implemented a genetic algorithm in python to create a bunch of melodies that will be put together to compose a song in Ableton. You could say I programmed an AI music generator in python. But instead of using a neural network, I went with a genetic algorithm.
I will show you how I used evolution with a genetic algorithm to compose a piece of music. You will see the different stages of my program with all the successes and failures while coding it and generating this composition.
Check out my newest video: • How to use the OpenAI API in Python
🙏 Support me: / kiecodes
🛰 Join our Discord, to interact with other Coders and me: / discord
🧠 Pick my brain: https://calendly.com/kiecodes/ai-cons...
Questions of the day
■ What else would you like me to try to generate using a genetic algorithm?
If you want to learn more about genetic algorithms check out my other videos:
■ What is a genetic algorithm? - • Genetic Algorithms Explained By Example
Genetic Algorithm from Scratch in Python - • Genetic Algorithm from Scratch in Pyt...
GitHub: https://github.com/kiecodes/generate-...
Follow me here:
www.facebook.com/kiecodes
www.instagram.com/kiecodes
Timestamps:
00:00 Intro
00:41 The Idea
01:26 How to generate sound in Python
02:16 The genome
03:28 The fitness function
04:12 Adding rhythm
04:52 Adding scales
05:20 Exporting to MIDI and the first test in Ableton
05:48 Generating chords
06:31 Generating two layers and letting them play together
07:06 Timelapse of generating all the parts for the song
09:20 Finished result
---
This video contains advertising content.
---
#python #machinelearning #geneticalgorithms
In questa pagina del sito puoi guardare il video online Genetic Algorithm in Python generates Music (code included) della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Kie Codes 01 January 1970, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 81,381 volte e gli è piaciuto 3.5 mille spettatori. Buona visione!