ml.markov Tutorial (Part 1) - Machine Learning in Max/MSP
Вставка
- Опубліковано 2 сер 2024
- Markov Chains are a powerful Machine Learning technique, and with the latest update, Benjamin Smith's ml.star library for Max/MSP includes an ml.markov object for easy implementation. In this first tutorial, we work through the help file, understanding how and why the object works, then expand on it and use some more complex MIDI files to generate interesting musical output. Make sure to subscribe to catch part two!
Head to my website to download this and many more patches! spearced.com/
Cycling74's latest article on ml.star - cycling74.com/articles/conten...
Markov Chains visualised by Victor Powell and Lewis Lehe - setosa.io/ev/markov-chains/
Satie's Gymnopedie No.1 MIDI file - www.8notes.com/scores/10375.a...
Various Debussy MIDI files - www.piano-midi.de/debuss.htm
Find me at my website and on social media:
www.spearced.com
/ samuelpearcedavies
New drinking game: take a shot every time I say 'interesting' or 'cool'.
Outstanding! Can't wait to start working with this patch.
Thank you so much for this clear and easy-to-follow introduction to this topic!
what a great tutorial, thank you so much. can't wait to put all this into practice!
Brilliant, clearly explained tutorial. Thanks!
This is awesome. Thank you for this tutorial. I am so excited to play around with this!
Well done! Excellent tutorial - combines markov chains, ml, and music in a very effective tutorial. It is not easy to put these youtube videos together. Thank you for the contribution.
This is really excellent and inspirational
Excellent tutorial, I am excited for the future of how AI will influence how composers work. It seems from this tutorial that creating a pastiche is well within the realms of computers and our understanding of styles in quantitative terms is interesting
Good to see you're back!
Good to be back, thanks :D more to come!
This is great, thank you so much !
Thank you!
really neat!
Thanks! I also like to use the [drunk] object to reduce the windowing of possibilities.
Mind blown!
this is golde
Genial ! :)
amazing stuff! really curious to see how you deal with timing as well
Thanks! Part 2's in the works, should be up within a few days.
thanks for the terrific video!! sweeet velocity and chords specially. Do you think is it possible to apply ml.markov for texts and get meaningful result?
Amazing! waiting for more tutorials! In the meantime, I'm new to Max, just wondering how you setup the midi in Max play through the kontakt library. Thank you!
Thanks! Do you mean how to send the MIDI notes from Max into kontakt? With the 'noteout' object in the patch, if you double-click and make sure it's going to 'From Max 1', that seems to work for the default MIDI channel for every DAW I've worked with. Depending on how kontakt needs to be set up (I've not used it personally) you may need to set it to accept incoming MIDI from that channel.
@@Spearced Thank you very much!
this looks amazing. I only really use Max for playing with audio, rather than MIDI - would love to hear if anyone knows of use cases for machine learning / markov chains within that side of max. i guess there's no reason why the data you're feeding into the synths here couldn't be used to modulate other parameters affecting audio signals - which would prob only be worth doing if it was controlling pitch in some way. will need to tinker
David Cooper put the makenote right into a motof object and that will now give you the pitches of the midi notes you’ve just imported. Then you can put that frequency into a cycle or saw etc and give it an envelope
@@funinediting good thinking! thanks :)
Marvelous! Absolutely MUSIC! Some of the best I have heard.
Might I suggest that you play the music and show the working patch at the beginning? Personally, I am then much more motivated to study the building of the patch. The journey is much more fun when I know where I am going.
Are you familiar with the work of David Cope?
Thank you Gary, I'm a fan of your output too so that's a huge compliment. Yes, Cope's work from EMI through to Emily Howell made up a significant part of my undergraduate dissertation.
Thanks for the feedback, I'm definitely looking at improving the production value of upcoming videos, and that will include some editing and more engaging video structure.
Hi, Samuel thanks for his helpful video but when I write read satie_gymnopedie_no1.midi its not working it writes no such object. please help me thank you :)
Hi, so if you check the description you can see the download link for the MIDI file. It's not provided with Max by default, once you've downloaded it you'll need to put it somewhere in your Max file path. On a Mac that's usually in Documents/Max 8/Library
Once you've saved the file there, close and re-open the markov patch and that message should now target the file correctly. Give me a shout if you're still having trouble :)
it is .mid actually
Oooooh flurkkk
Can you use Reaper instead of logic pro x if you're on windows?
Not used Reaper myself, and not actually tried sending out MIDI from Max on Windows, but considering it's basically plug-and-play on Mac I don't imagine it would be too hard. When you open up Reaper with Max open in the background do you see any MIDI channels available that aren't normally there? Maybe something along the lines of 'From Max 1/2' etc, like in the video?
@@Spearced Yeah so far I haven't found anything like that, I mean like you said Logic is pretty straight with the MIDI stuff but Reaper is not at all user friendly when it comes down to it...
Also, I had a question that's not really related to this topic exactly but I have been trying to read data from a CSV file and trying to sonify that! Do you have any tips for that?
I though this was really difficult.
Please check your sound levels before releasing a video, pleeease!!!
please reduce the volume when send the midi files so fast. come on
Yeah, sorry about that, it's something I'm definitely going to try and avoid in future videos!