Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • I IDFM
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Jobs
  • Issue Boards
Collapse sidebar
  • Edgar Berdahl
  • IDFM
  • Wiki
  • intro to pd

intro to pd · Changes

Page history
apfalz created page: intro to pd authored May 29, 2016 by Andrew Pfalz's avatar Andrew Pfalz
Hide whitespace changes
Inline Side-by-side
intro-to-pd.md
View page @ f916b1e5
......@@ -51,33 +51,37 @@ The last thing we need is a way to tell the **pd boop** when to make it boop. Ri
We will use the **message** to tell **pd boop** which note we want to hear. The **message box** won't send it until we tell it to though.
It's listening for a **bang**. As soon as it hears one it will send its message, in this case "72", to **pd boop** and we should hear a sound.
Let's make a bang object. You can either press **control-shift-B** on the keyboard or use the "put" menu and choose "Bang."
Let's make a **bang** object. You can either press **control-shift-B** on the keyboard or use the "put" menu and choose "Bang."
Just like before, it will be connected to your mouse. Move your mouse to be above the message and click once. This should place it where you clicked.
Just like before, it will be connected to your mouse. Move your mouse to be above the **message** and click once. This should place it where you clicked.
Now we need to connect the outlet of the bang to the inlet of the message. Try to see if you can do it just like we did before.
Now we need to connect the outlet of the **bang** to the inlet of the **message**. Try to see if you can do it just like we did before.
If everything is connected properly we should be able to make some sounds. In order to do that we need to "lock" the patch. Press **control-E** on the keyboard.
If everything is connected properly we should be able to make some sounds.
======
In order to do that we need to "lock" the patch. Press **control-E** on the keyboard.
Notice that now you cannot move any objects. You can click on them and make them talk to each other though! Click on the **bang** to hear a boop.
Notice that now you cannot move any objects. You can click on them and make them talk to each other though! Click on the bang to hear a boop.
What happened is the **bang** object sent a bang to the **message**. The **message** was waiting to hear a bang to tell **pd boop** which note to play.
What happened is the bang object sent a bang to the message. The message was waiting to hear a bang to tell **pd boop** which note to play.
**pd boop** heard that we wanted to hear note 72 and sent that note to the speaker.
p **pd boop** heard that we wanted to hear note 72 and sent that note to the speaker.
Now let's see if we can control pd boop using our kits.
======
------------------------------------------------------
Now let's see if we can control **pd boop** using our kits.
That object with the long name in our patch can help us do that. Notice that it has a bunch of outlets. Some of these outlets are connected to the buttons on your kit.
That object with the long name in our patch can help us do that. Notice that it has a bunch of outlets. Some of these outlets are connected to the buttons on your kit.
When you press one of the buttons on the board, a bang will come out of one of those outlets. We can use the bang that comes out of that outlet to make a boop.
When you press one of the buttons on the board, a **bang** will come out of one of those outlets. We can use the **bang** that comes out of that outlet to make a boop.
First we need to unlock our patch so we can make changes. Press **control-E**. Your cursor should turn back into a hand.
Connect the last outlet (the farthest right one) to the inlet of our bang object.
First we need to unlock our patch so we can make changes. Press **control-E**. Your cursor should turn back into a **hand**.
Connect the last outlet (the farthest right one) to the inlet of our **bang** object.
Now position your kit so that the buttons are on the side facing you and the potentiometers (the knobs) are facing away from you.
Press the farthest right button and you should hear a boop!
Now position your kit so that the buttons are on the side facing you and the potentiometers (the knobs) are facing away from you.
Press the farthest right button and you should hear a boop!
What if we wanted to hear a different note besides 72?
======
Click one time on the **message box**. Now you can change that number. Change it to something smaller, like 45.
Now lock the patch (by pressing **control-E** on the keyboard) and press the same button on your kit. You should hear a different note now.
......
Clone repository
  • Home
  • intro to pd
  • more on pd