0% found this document useful (0 votes)
185 views1 page

PD Refcard en

its for pd

Uploaded by

Leon Tien Jun
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
185 views1 page

PD Refcard en

its for pd

Uploaded by

Leon Tien Jun
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Pure Data Reference Card Arrays / Tables Audio Filters

K. Barkati & N. Granieri – November 15, 2018 tabread read a number from a table vcf˜ voltage controlled filter
tabread4 read a number from a table with 4 point interpolation noise˜ white noise generator
Modes tabwrite write a number to a table env˜ envelope follower (RMS amplitude in dB)
soundfiler read and write tables to soundfiles high pass filter
ctrl-e (or cmd-e) toggle between run mode (performance) and edit hip˜
table create a named table low pass filter
mode (programming); this affects how mouse clicks affect the patch. lop˜
array general array creation and manipulation bp˜ band pass filter
General Misc biquad˜ raw filter (2 poles and 2 zeros)
samphold˜ sample and hold unit
loadbang bang on load
bang output a bang message print˜ print out one or more "blocks"
declare set search path and/or load libraries
float store and recall a number rpole˜ raw real-valued one-pole filter
savestate mechanism for saving state of an abstraction
symbol store and recall a symbol rzero˜ raw real-valued one-zero filter
netsend send messages over the internet
int store and recall an integer rzero_rev˜ time-reversed rzero˜
netreceive receive them
send send a message to a named object cpole,̃ czero,̃ czero_rev˜ corresponding complex-valued filters
qlist message sequencer
receive catch "sent" messages
textfile file to message converter
select test for matching numbers or symbols Audio Delay
text general text handling
route route messages according to first element
openpanel "Open" dialog
pack make compound messages write to a delay line
savepanel "Save as" dialog delwrite˜
unpack get elements of compound messages read from a delay line
bag set of numbers delread˜
trigger sequence and convert messages read with a time-varying delay time
poly polyphonic voice allocation delread4˜ vd˜
spigot interruptible message connection
key, keyup numeric key values from keyboard
moses part a numeric stream
keyname symbolic key name Subwindows
until looping mechanism
print print out messages Audio Math
makefilename format a symbol with a variable field pd define a subwindow
expr˜ fexpr˜ C-style expressions inlet add an inlet to a pd
change remove repeated numbers from a stream +˜ -˜ *˜ /˜ arithmetic on audio signals
swap swap two numbers outlet add an outlet to a pd
max˜ min˜ maximum or minimum of 2 inputs inlet˜ outlet˜ signal versions of inlet and outlet
value shared numeric value clip˜ constrict signal to lie between two bounds
list manipulate lists clone make copies of a subpatch
sqrt˜ approximate (16-bit) square root block˜ switch specify block size and overlap, or, if invoked as
rsqrt˜ reciprocal square root "switch", also switch subpatches on and off
Time q8_rsqrt˜ q8_sqrt˜ fast, cheap 8 bits versions
wrap˜ wraparound (fractional part)
delay send a message after a time delay fft˜ complex forward discrete Fourier transform Data Templates
metro send a message periodically ifft˜ complex inverse discrete Fourier transform
line send a series of linearly stepped numbers rfft˜ real forward discrete Fourier transform struct define a data structure
timer measure time intervals rifft˜ real inverse discrete Fourier transform drawcurve, filledcurve draw a curve
cputime measure CPU time pow˜ log˜ exp˜ abs˜ math drawpolygon, filledpolygon draw a polygon
realtime measure real time framp˜ output a ramp for each block drawtext drawsymbol draw text
pipe dynamically growable delay line for messages plot plot an array field
mtof˜ ftom˜ rmstodb˜ dbtorms˜ acoustic conversions
drawnumber print a numeric value
Math General Audio Manipulation

expr C-style expressions


dac˜ audio output Accessing Data
adc˜ audio input
+ - * / pow arithmetic
sig˜ convert numbers to audio signals pointer point to an object belonging to a template
== != > < >= <= relational tests
line˜ generate audio ramps get get numeric fields
& && | || % « » bit twiddling
vline˜ deluxe line˜ set change numeric fields
mtof ftom powtodb rmstodb convert acoustical units
threshold˜ detect signal thresholds element get an array element
dbtopow dbtorms
snapshot˜ sample a signal (convert it back to a number) getsize get the size of an array
mod div sin cos tan atan atan2 higher math
vsnapshot˜ deluxe snapshot˜ setsize change the size of an array
sqrt log exp abs
bang˜ send a bang message after each DSP block append add an element to a list
random lower math
samplerate˜ get the sample rate scalar create a single scalar
max min greater or lesser of 2 numbers
send˜ nonlocal signal connection with fanout
clip force a number into a range
receive˜ get signal from send˜
wrap wrap a number to a range [0, 1) Extra (patches and externals in pd/extra)
throw˜ add to a summing bus
catch˜ define and read a summing bus
I/O via MIDI, OSC, and FUDI readsf˜ soundfile playback from disk sigmund˜ pitch tracker
writesf˜ record sound to disk bonk˜ attack detector
notein ctlin pgmin bendin MIDI input choice best match of list to templates
touchin polytouchin midiin Audio Oscillators and Tables hilbert˜ complex-mod˜ phase quadrature / frequency shifting
sysexin midirealtimein phasor˜ sawtooth oscillator loop˜ phasor˜ with S/H on its frequency input
noteout ctlout pgmout bendout MIDI output cos˜ cosine lrshift˜ left and right shift (useful with FFT objects)
touchout polytouchout midiout osc˜ cosine oscillator pd˜ stout run another copy of Pd (for multiprocessing)
makenote schedule delayed "note off" mes- tabwrite˜ write to a table rev1˜ rev2˜ rev3˜ reverberators
sage for a note-on tabplay˜ play back from a table (non-transposing) bob˜ Moog resonant filter model
stripnote strip note-off messages tabread˜ non-interpolating table read
oscparse oscformat OSC messages to and from Pd tabread4˜ four-point interpolating table read Copyright 2010-2018
c Karim Barkati <[email protected]> & Niccolò
lists tabosc4˜ wavetable oscillator Granieri <[email protected]>. Permission is granted to copy, distribute
and/or modify this document under the terms of the GNU Free Documentation Li-
fudiparse fudiformat FUDI messages to and from Pd tabsend˜ write one block continuously to a table cense, Version 1.3 or any later version published by the Free Software Foundation;
lists tabreceive˜ read one block continuously from a table with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.

You might also like