Software & audio

Introduction to Pure Data

Level Intermediate
By admin 1 min read 6 readers

In this series

Pure Data lab

Lesson 1 of 3

Log in to track your progress.

0 of 3 lessons completed · 0% complete

Introduction to Pure Data

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~

  1. Create an object [osc~ 440] — generates a 440 Hz sine wave
  2. Create [*~ 0.2] — attenuates volume (gain 0.2)
  3. Connect the oscillator output to the multiplier input
  4. 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 [*~].

TEXT
[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

Next in series

Comments

Comments (0)

Demo resets in 00:29:37