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
  • more on pd

more on pd · Changes

Page history
apfalz created page: more on pd authored May 29, 2016 by Andrew Pfalz's avatar Andrew Pfalz
Hide whitespace changes
Inline Side-by-side
more-on-pd.md
View page @ 4bc66d08
......@@ -12,7 +12,7 @@ Program in the following notes to the **message** boxes like we did before. We n
from left to right:
**57 62 64 66 67 71**
Now we can use the buttons to play the melody:
Now we can use the buttons to play the melody:
1 2 3 4 4
4 3 4 2 2
2 3 4 5 6
......@@ -21,3 +21,19 @@ Now we can use the buttons to play the melody:
6 1 5 4 2
2 3 4 5
3 3 4 2
Playing this melody is pretty hard. And it already sound good when we use the **qlist** to play it.
Let's add some chords to this song instead.
======
There are some new objects in the patch that deal with chords. Let's look at **pd chord_D** first. We can use this object to play a D chord which is the first chord in this song. You will notice that **pd chord_D** has two inlets. The first inlet tell it how loud to make the chord. The second inlet tell it which notes to play. This is similar to the inlet of **pd boop** but we tell it multiple notes to play since we want to hear a chord.
We need to tell **pd chord_D** which notes to play. To do this we need to make a new **message** object. You can do this either by pressing **control-2** on your keyboard or using the "put" menu and choosing "Message". Place the **message** object on top of the second inlet of **pd chord_D**. Now we need to tell it what message to send. Rather than putting in a single number like we have so far. We are going to put in a list of numbers. Put the numbers **62 66 69** into the **message**. Now connect the outlet of the **message** to the second inlet of **pd chord_D**.
We also need to tell **pd chord_G** and **pd chord_A** what notes we want to hear. Make a **message** for each of these objects and connect them as we did before. But for **pd chord_G** make the numbers **62 67 71**. And for **pd chord_A** make the numbers **61 64 67 69**. Notice that **pd chord_A** is special, it can play a chord with four notes, but **pd chord_D** and **pd chord_G** can only play three-note chords.
Now we need some way of controlling these chords. We don't want them to play all the time, and we already used up our buttons.
Let's use the potentiometers instead!
======
Clone repository
  • Home
  • intro to pd
  • more on pd