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

КОМЕНТАРІ • 41

  • @Spearced
    @Spearced  5 років тому +21

    New drinking game: take a shot every time I say 'interesting' or 'cool'.

  • @JohnnyWalkerArt
    @JohnnyWalkerArt 4 роки тому +1

    Outstanding! Can't wait to start working with this patch.

  • @lastnamefirstname6035
    @lastnamefirstname6035 3 роки тому

    Thank you so much for this clear and easy-to-follow introduction to this topic!

  • @netherwaves
    @netherwaves 3 роки тому

    what a great tutorial, thank you so much. can't wait to put all this into practice!

  • @tristanlouthrobins
    @tristanlouthrobins 2 роки тому +1

    Brilliant, clearly explained tutorial. Thanks!

  • @patriciawolfmusic
    @patriciawolfmusic 4 роки тому

    This is awesome. Thank you for this tutorial. I am so excited to play around with this!

  • @TCGen-Inc
    @TCGen-Inc 4 роки тому +1

    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.

  • @SlashnKashmir
    @SlashnKashmir 5 років тому +1

    This is really excellent and inspirational

  • @adeepwell5292
    @adeepwell5292 4 роки тому +1

    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

  • @krischristenson3578
    @krischristenson3578 5 років тому +1

    Good to see you're back!

    • @Spearced
      @Spearced  5 років тому

      Good to be back, thanks :D more to come!

  • @rokkman2000
    @rokkman2000 5 років тому

    This is great, thank you so much !

  • @xpxdrxx
    @xpxdrxx 5 років тому

    Thank you!

  • @faxinadu
    @faxinadu 5 років тому

    really neat!

  • @elduc8520
    @elduc8520 3 роки тому

    Thanks! I also like to use the [drunk] object to reduce the windowing of possibilities.

  • @beatsbykabuki
    @beatsbykabuki 4 роки тому

    Mind blown!

  • @NicolasKaniak
    @NicolasKaniak Рік тому

    this is golde

  • @xternalite
    @xternalite 3 роки тому

    Genial ! :)

  • @MatheusLeston
    @MatheusLeston 5 років тому +1

    amazing stuff! really curious to see how you deal with timing as well

    • @Spearced
      @Spearced  5 років тому +3

      Thanks! Part 2's in the works, should be up within a few days.

  • @ShihWeiChieh
    @ShihWeiChieh 4 роки тому

    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?

  • @williamtai7067
    @williamtai7067 5 років тому

    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!

    • @Spearced
      @Spearced  5 років тому +1

      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.

    • @williamtai7067
      @williamtai7067 5 років тому

      @@Spearced Thank you very much!

  • @davidcooper8241
    @davidcooper8241 4 роки тому +1

    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

    • @funinediting
      @funinediting 4 роки тому +1

      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

    • @davidcooper8241
      @davidcooper8241 4 роки тому

      @@funinediting good thinking! thanks :)

  • @onnyglare
    @onnyglare 2 роки тому

    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?

    • @Spearced
      @Spearced  2 роки тому

      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.

  • @denizalbayrak9844
    @denizalbayrak9844 4 роки тому

    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 :)

    • @Spearced
      @Spearced  4 роки тому +1

      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 :)

    • @shorter72
      @shorter72 4 роки тому +1

      it is .mid actually

  • @coconut_bliss5539
    @coconut_bliss5539 5 років тому

    Oooooh flurkkk

  • @AlexRogers4U
    @AlexRogers4U 4 роки тому

    Can you use Reaper instead of logic pro x if you're on windows?

    • @Spearced
      @Spearced  4 роки тому

      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?

    • @AlexRogers4U
      @AlexRogers4U 4 роки тому

      @@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...

    • @AlexRogers4U
      @AlexRogers4U 4 роки тому

      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?

  • @notmyninick
    @notmyninick 4 роки тому

    I though this was really difficult.

  • @radiomotori
    @radiomotori 3 роки тому

    Please check your sound levels before releasing a video, pleeease!!!

  • @shorter72
    @shorter72 4 роки тому +2

    please reduce the volume when send the midi files so fast. come on

    • @Spearced
      @Spearced  4 роки тому

      Yeah, sorry about that, it's something I'm definitely going to try and avoid in future videos!