Intro to Pure Data 1: Algorithmic MIDI Out | Simon Hutchinson

Поділитися
Вставка
  • Опубліковано 1 сер 2024
  • Making a Pure Data patch that sends random notes out to your synthesizer.
    This video is the first in a series of Pure Data tutorials using Pd Vanilla. I go over how to create a MIDI note and send it out to a software instrument (in this case NI Reaktor) to create some generative melodies.
    0:00 Demo
    0:36 Getting Started
    1:06 MIDI settings in Pd and Reaktor
    2:23 The [noteout] and [makenote] Objects
    5:28 Automating the Notes with [metro]
    7:30 Comment Your Code!
    8:15 Randomizing Notes with [random]
    10:04 Selecting Notes with [sel]
    12:13 Pentatonic Scale
    14:00 Tweaks to Improve the Sound
    16:21 Going over the Demo Patch
    Click here for more Pure Data tutorials
    • Pure Data Tutorials | ...
    More on Reaktor: • Reaktor 6 Primary: Beg...
    Subscribe for new videos every week: ua-cam.com/users/SimonHut...
    All my videos are fueled by coffee. You can buy me one here: ko-fi.com/simonhutchinson
    Follow Simon Hutchinson
    Official Website - simonhutchinson.com/
    Twitter - / cybrshutchinson
    Itch.io - simonhutchinson.itch.io/
    Soundcloud - / simon-j-hutchinson
    Facebook - / simonhutchinsoncomposer
    I’m a composer, sound-designer, and new media artist trying to bring a global perspective to music technology. This channel contains performances, experiments, and instructional videos for artists and audiences searching for new ideas and avenues of musical expression.

КОМЕНТАРІ • 34

  • @freeelectron8261
    @freeelectron8261 3 роки тому +11

    If you are on a Win 10 PC you will need to setup a virtual midi link between PD and NI synths - I used loopMIDI.

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

      Thank youuuuu ... I am a beginner I was debugging this problem for 3 hours ua-cam.com/video/cazwL8S_M84/v-deo.html this tut helped me

  • @3dims
    @3dims 3 місяці тому +2

    ´Thanks for posting this Simon. I realise it’s a few years old, but this has been the perfect primer for getting me started in PD.

  • @freeelectron8261
    @freeelectron8261 3 роки тому +1

    Really good intro tut - many thanks Simon!

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

    So inspiring .. thank you 🙏

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

    thank you so so so much, i wanna make ambient techno with pure data, this helps

  • @matheusafrancez
    @matheusafrancez 3 роки тому +1

    thank yo bro

  • @iosmusicman
    @iosmusicman Рік тому +1

    Ace! Subbed. Thanks for sharing. Cheers. Lee

  • @raymondfrey8332
    @raymondfrey8332 3 місяці тому +1

    this is so interesting and very new to me so I'm still struggling a bit with completely understanding how it works. are there other ways to manage the output from Pd and does it alway have to send it out? I am struggling to find a free way with native instruments as they do not include the mikro prism synth anymore for free and also the Reaktor 6 seems to only have a try out for free. are there any other options/programs you know of that could replace the mikro prism?

    • @SimonHutchinson
      @SimonHutchinson  3 місяці тому +2

      Check out the rest of the series ua-cam.com/play/PL7w4cOVVxL6FB_mmJ77C6fdV8G6L4zDut.html&si=7gy-HKA9EH_tAagD or these no-talking tutorials ua-cam.com/play/PL7w4cOVVxL6ESr9SuBYJARJkETfp12Dp3.html&si=PF8GxZm7fKgAIEqd for other ideas on how to make some sound!

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

    Thank you for this introduction to PureData. I'd never heard of it before. Is it possible to route midi from this into Logic? Can it control any instrument in Logic?

  • @gogic37
    @gogic37 8 місяців тому

    Hi. You now maybe how can activate button PAD1 on Korg keyboard via midi from FLstudio.

  • @crouchingpython3294
    @crouchingpython3294 3 роки тому +2

    Such a fabulous tutorial! Just love your teaching here. If you wanted to not use the Reaktor synth, you could shape the sounds in PD, right? But I'm guessing that's a whole other level of crazyness. PD noob here but I'd love to experiment with this on my own and in my middle school CS classes.

    • @SimonHutchinson
      @SimonHutchinson  3 роки тому +2

      Thank you! Always wonderful to hear when things are helpful! Yes, in my later videos I get more into the synthesis and DSP parts of Pd, but I've found that, especially for beginners, it's good to separate out those challenges (as you say, "a whole other level"), and get to music as soon as possible. Thanks again for watching!

    • @crouchingpython3294
      @crouchingpython3294 3 роки тому +1

      @@SimonHutchinson I've been experimenting with this patch. First I built the basic sequencer and got it working (finally!) with GS Wavetable Synth in Windows. Then added a pgmout and changed up the MIDI instruments. Then I added the pad part of the patch you have above and experimented with timing and sounds. Thanks for your tutorials. I can always tell when a teacher is making the tutorials, because they're so much easier to follow!

    • @SimonHutchinson
      @SimonHutchinson  3 роки тому +2

      Excellent! Glad to hear it's all going well.
      Keep me posted on whether you find some good ways to integrate things into middle school classes, I think a lot about how music programming would be a great way to teach algebra to help students immediately make connections about its applications.

    • @crouchingpython3294
      @crouchingpython3294 3 роки тому +1

      @@SimonHutchinson Well, I teach middle school computer science, so I'm thinking about how to use music to teach programming. I like that Pure Data is graphical, as that usually makes things easier for middle schoolers. Not sure yet whether it will work for all, but I know some students would really get into it. I might offer it as an option.

  • @dankro279
    @dankro279 Рік тому +1

    Is it possible to send MIDI out messages to all channels at once? I have seen gear operating with channel 0, which does exactly that, but PD does not seem to follow that rule. Does anyone know?

    • @SimonHutchinson
      @SimonHutchinson  Рік тому +1

      Good question. I don't immediately know how to do omni out from Pd. Maybe someone here knows!

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

      @@SimonHutchinson thank you for this tutorial, it made amazing results for me. i encounter the same problem as dankro279, have you found out?

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

    This is great! Thanks again for the high-quality content. One question: When I try to run the file, I get no sound. But when I run test midi out, it connects fine. I've quadruple-checked, and it's identical to yours layout. any thoughts?

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

      It's tough to troubleshoot remotely, but the first step is going to be isolating the issue: Is Reaktor receiving the MIDI (check the MIDI input monitor on the upper right)? If not, the issue is the communication between Pd and Reaktor. If so, then maybe the issue is the Reaktor audio out. As Sherlock Holmes always says: “Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth.”

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

      @@SimonHutchinson Thanks for the quick response. I double-quadruple-checked, and still no good. HOWEVER, when I run PD's midi test, my vst gets the signal and makes sound. But when I set up note, velocity, duration (60, 100, 1000) in message boxes, and run them to the makenote object (connecting left to right), and connect that to the first two connectors of the noteout object, clicking the note message box (in edit mode) shows that the box is pressed visually, but makes no sound.
      In short; midi test = sound. Setting up not in PD file = no sound.
      Am I missing something, or is it just my computer being weird?
      Also, I know that this isn't your problem, but if you have any ideas, that would be great, thanks :)

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

      Actually, I think I've found the issue. For some reason, makenote isn't sending anything out. I send note 60 to "print" and it shows in the log ("60"), but if I send the makenote (that has 60 going into it) to "print", nothing shows in the log. Strange...

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

      I never clicked the velocity or duration message boxes to initialize the settings, so the note was set to 60, 0, 0. Color me stupid :D

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

      @@borlip Have you assigned a velocity to the notes?

  • @manny7662
    @manny7662 Рік тому +1

    What if the midi is sent to an external piece of gear?

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

      Still works! See here for an example - ua-cam.com/video/5EjykhH9peQ/v-deo.html