Introduction to Pure Data
Log in to track your progress.
0 of 3 lessons completed · 0% complete
Pure Data (Pd) is a visual environment for interactive music and multimedia. In this tutorial you build your first sound patch.
Why Pure Data
Pure Data (Pd) lets you build audio instruments and interactive interfaces by connecting visual objects. It is ideal for rapid prototypes and live performance.
First sound: osc~ + dac~
- Create an object
[osc~ 440]— generates a 440 Hz sine wave - Create
[*~ 0.2]— attenuates volume (gain 0.2) - Connect the oscillator output to the multiplier input
- Create
[dac~]and connect both L/R inputs
Volume control with a slider
Add an object [hslider 0 1 0 0] and connect its output to the second inlet of [*~].
[hslider] -> [*~] <- [osc~ 440] -> [dac~]
Minimal patch structure
| Object | Role |
|---|---|
osc~ |
Generator |
*~ |
Gain / modulation |
dac~ |
Audio output |
hslider |
UI control |
Save and organize
Save the patch as hello-pd.pd. Use subfolders for reusable abstractions (/lib, /fx, /seq).
Bridge to hardware
In later tutorials we send values from Arduino to Pd via serial or OSC. The same patch can receive MIDI CC from a DIY controller.
Reference video
A video link appears at the top of this page — watch it to get familiar with the interface before building denser patches.
Resources
- Example patch
Comments (0)