Delicious Max 8 Tutorial 2: Node for Max

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ก.พ. 2025

ความคิดเห็น • 49

  • @netaelad3969
    @netaelad3969 6 ปีที่แล้ว +13

    Two videos on the same week?! Thanks man, you're the best

  • @schafauswales
    @schafauswales 6 ปีที่แล้ว +11

    Lovely video Sam. Thanks much! Just as a quick hint - Node For Max contains it's own Node and NPM binaries. Therefore the extra install of nvm/node on your machine is not necessary and won't be used by Max unless you specifically point the node.script to it using the node and npm attributes. You can in fact run all the npm commands right from your Max Patch. Just send things like 'script npm install tonal' to the node.script object or create a package.json manually before and just send a 'script npm install'.
    Apart from avoiding an additional Node install and hitting the CLI this also avoids potential issues in case your local Node install is differing in terms of version from the bundled version of Node for Max, which can lead to unexpected behaviour or worst case incompatibility.

    • @dude837
      @dude837  6 ปีที่แล้ว +6

      This is Florian, who wrote the Node half of Node for Max. Thanks, Florian, your pal Sam is just stuck in his ways and needs his command line. I'll talk about running npm from node.script in another video.

    • @xamogxusx
      @xamogxusx 6 ปีที่แล้ว

      why dont u mention it in an annotation?

    • @dude837
      @dude837  6 ปีที่แล้ว

      This is a great idea

    • @dude837
      @dude837  6 ปีที่แล้ว

      Okay, turns out YT doesn't support annotations anymore. I promise that I'll address this whole thing soon, in a few days when I'm back home.

    • @xamogxusx
      @xamogxusx 6 ปีที่แล้ว +1

      dude837 TH-cam is stupid. Thanks for your video. I build an AutoPan, which is synchronized to the frequency of the root note thanks to your tutorial!

  • @jj53368
    @jj53368 5 ปีที่แล้ว +1

    I think you may have just changed my life. I had no idea I could write node scripts to use in Ableton.
    I'm a programmer, and lately I've been writing down so many ideas for automating certain things I do when I'm improvising on the piano/keyboard. For example, choosing a key in my head, and starting a piece by hitting only octaves, fifths, and maybe a fourth across two octaves in the middle the keyboard. I stay here, following these rules for a minute or so-I hold off on introducing thirds until it feels right, because it allows me to continue going into other places.
    I often wish I had an improv partner who can follow my lead and do other stuff in relation to what I'm doing but using a different VST patch or a completely different sound altogether.
    Thanks to this video, I'm going to go build that improv partner this weekend.🤖

  • @Zombiefredrik
    @Zombiefredrik 6 ปีที่แล้ว

    Fat Arrow functions is part of ES6 - nice to see node in Max, keep up the good work!

  • @LymansLemons
    @LymansLemons 6 ปีที่แล้ว

    I'm glad to see Max 8 has you making some more videos. I liked your jit.mo tutorials. I'd like to see your approach to a particle system. Paaaarticularly simulating physics.

    • @dude837
      @dude837  6 ปีที่แล้ว

      Thanks! Just so you know, other people have attempted this, in particular th-cam.com/video/TRgX7rVgSAE/w-d-xo.html

  • @henriquematias1986
    @henriquematias1986 4 ปีที่แล้ว

    very nice, those node libraries are super great

  • @jamesbradbury208
    @jamesbradbury208 6 ปีที่แล้ว +9

    So... you got that Xena patch?

  • @xamogxusx
    @xamogxusx 6 ปีที่แล้ว

  • @mattkaz9604
    @mattkaz9604 6 ปีที่แล้ว

    Fantastic. I missed your videos (you fancy lad).

  • @iainctduncan
    @iainctduncan 6 ปีที่แล้ว

    Thanks man, that's a helpful intro!

  • @atticuspomerantz65
    @atticuspomerantz65 6 ปีที่แล้ว +3

    This shit is so rad, thanks for posting!

  • @markijzerman
    @markijzerman 6 ปีที่แล้ว +1

    Sam! Wouldn’t using the thresh object get rid of the whole bag-mess? It groups numbers that are received in a certain timespan together. You’d have to filter the note-offs I guess tho!

    • @dude837
      @dude837  6 ปีที่แล้ว

      Mmm but what if I want to play a chord real slowly?I don't think time is the key here...

    • @markijzerman
      @markijzerman 6 ปีที่แล้ว +1

      Ha! I guess you are right. It depends on what kind of music you play though. I guess your solution is quite nice then :)
      Great video btw, hope you do more Max8 vids.

    • @dude837
      @dude837  6 ปีที่แล้ว

      Mark IJzerman Well there's probably a million right answers tbh. Thank you thank you, I will surely try.

  • @seand4138
    @seand4138 6 ปีที่แล้ว

    God damn, this is exciting!!! The possibilities!!!!

  • @onnyglare
    @onnyglare 3 ปีที่แล้ว

    A tip for tutorials...spend about a minute at the beginning showing the completed patch in action then build it describing all the details. I find it most help to know where I am going and why I am going there.

  • @EricRobertDavis
    @EricRobertDavis 6 ปีที่แล้ว +1

    hey dude, even though I'm set up identical to you, I am receiving the error "node.script Unhandled Message: ["detect", ...]" in the max console when sending KeyMidi messages to the node.... any thoughts? -- also, any good forums/groups for n4m??

    • @EricRobertDavis
      @EricRobertDavis 6 ปีที่แล้ว

      sorted. had somehow created a second chord-detect.js file and was referencing an old one +_+... still will take recommendations for any good n4m forums/groups!

    • @dude837
      @dude837  6 ปีที่แล้ว

      Hmm, it's hard to say. I wonder if you just need to restart node.script, so that it loads the updated code? Make sure you've added a handler for the "detect" message in the code as well. Otherwise, you can always send me your patch and I'll be happy to take a look at it.

  • @DiegodelaFuenteCuraqueo
    @DiegodelaFuenteCuraqueo 6 ปีที่แล้ว

    mind-blowing :D thanks for the video

  • @Walkindude125
    @Walkindude125 6 ปีที่แล้ว

    Awesome work! Quick question: can node.script be used to communicate with a script that’s hosted remotely online? For instance, If I wanted to host my node script online through something like Hyper or Now.sh so that clients could access it without having to be on my IP, could I do this with node.script?

    • @dude837
      @dude837  6 ปีที่แล้ว

      Great question. This is something we've thought about for a future release, but it's currently not possible. Consider for now a script that downloads the hosted script, then runs that locally.

    • @schafauswales
      @schafauswales 6 ปีที่แล้ว

      Well. U could always have a local node.script and communicate with a remote Node instance from within that. Not as smooth, easy and out of the box like just dropping a node.script but shouldn't be too hard either.

    • @Walkindude125
      @Walkindude125 6 ปีที่แล้ว

      fde31 that sounds like a great idea! But how would that be implemented? The local node server (being run through node.script) would send data out to the web address of a remotely hosted node instance?

    • @schafauswales
      @schafauswales 6 ปีที่แล้ว

      Yeah somewhere along these lines. What sort of transport protocol you use between the local (node.script) and remote node process is obviously depending on the type and needs of your application. I can imagine things ranging from classic HTTP(s) API calls to other protocols allowing bi-directional communication. Does that make sense?

  • @robertsyrett1992
    @robertsyrett1992 6 ปีที่แล้ว +1

    Can you use node to display the hot keys you are using to make the video?

    • @dude837
      @dude837  6 ปีที่แล้ว +3

      Real question is can I use Node to make these videos for me

    • @robertsyrett1992
      @robertsyrett1992 6 ปีที่แล้ว +1

      Generative tutorials for music? I like the idea! You could go the jibberish route and make generative scripts like "Today on Know Your Nodes: Using Laplace transforms to analyze youtube comments." Or maybe try and craft an Ouroboros video tutorial of making a patch that, when complete, will be the video tutorial.

  • @c.codyflick2210
    @c.codyflick2210 6 ปีที่แล้ว +1

    99% sure Peter Elsea's lbag object is kind of what you're looking for. It has the same spiritual functionality as bag, but can output lists. Search for "Peter Elsea Lobjects" and you'll find the external.

  • @DiogoCocharro
    @DiogoCocharro 5 ปีที่แล้ว

    Great tutorial video!
    In the end I got unexpected results with the tonal package:
    array: 60 64 67
    print: C64 Em#5
    I followed the video strictly, line by line. Does anyone got the same results?

  • @ge055rey
    @ge055rey 6 ปีที่แล้ว

    Ha ha! While these people are exercising.
    Thanks for this video btw

  • @giammona94
    @giammona94 4 ปีที่แล้ว

    I can’t get max to detect my Js :(

  • @ygreq
    @ygreq 6 ปีที่แล้ว

    Please do a tutorial where we would install everything from within max. I am still struggling to install everything from cmd. Thank you!

    • @ygreq
      @ygreq 6 ปีที่แล้ว

      I managed to do it. So many dependencies..

  • @MartelMartin736
    @MartelMartin736 4 ปีที่แล้ว

    Are u still active??

  • @basilcooper995
    @basilcooper995 6 ปีที่แล้ว +9

    See this is were the bible falls short, a bored man doesn't require company, he requires a node based programming environment that interfaces perfectly with a widely used high level programming language. I just think Adam, as a character, was misrepresented.

  • @miggytorres
    @miggytorres 3 ปีที่แล้ว

    Dude (837). This is dope. 👀

  • @xamogxusx
    @xamogxusx 6 ปีที่แล้ว

    Wow, a different visual effect on major Vs minor would be cool

    • @dude837
      @dude837  6 ปีที่แล้ว

      Might I suggest you build just such a thing, and then upload it to github.com/cycling74/n4m-examples ;)

  • @stephenharvey3400
    @stephenharvey3400 5 ปีที่แล้ว

    Node for Max patch that gets rid of Siri for ever...?