PureData CEAMMC web documentation

PureData CEAMMC library web documentation

View on GitHub

Distribution download

accessing data

append add an element to a list
element get an array element
get get numeric fields
getsize get the size of an array
pointer point to an object belonging to a template
scalar create a single scalar
set change numeric fields
setsize change the size of an array

arrays

array general array creation and manipulation
soundfiler read and write tables to soundfiles
table create a named table
tabread read a number from a table
tabread4 read a number from a table with interpolation
tabwrite write a number to a table

audio delay

delread4~ read with a time-varying delay time
delread~ read from a delay line
delwrite~ write to a delay line
vd~ read with a time-varying delay time

audio filters

biquad~ raw filter
bp~ band pass filter
cpole~ raw complex-valued one-pole filter
czero_rev~ time-reversed raw complex-valued one-zero filter
env~ envelope follower
hip~ high pass filter
lop~ low pass filter
noise~ white noise generator
print~ print out one or more “blocks”
rpole~ raw real-valued one-pole filter
rzero_rev~ time-reversed raw real-valued one-zero filter
rzero~ raw real-valued one-zero filter
samphold~ sample and hold unit
slop~ slew-limiting (nonlinear) low pass filter
vcf~ voltage controlled filter

audio math

abs~ absolute value
clip~ constrict signal to lie between two bounds
dbtorms~ convert acoustical units
div~ arithmetic on audio signals
expr~ C-style expression - audio vector
exp~ exponential function
fexpr~ C-style expression - audio sample
fft~ complex forward discrete Fourier transform
framp~ output a ramp for each block
ftom~ convert acoustical units
ifft~ complex inverse discrete Fourier transform
log~ computes the logarithm (base ‘e’)
max~ maximum of 2 inputs
minus~ arithmetic on audio signals
min~ minimum of 2 inputs
mtof~ convert acoustical units
mult~ arithmetic on audio signals
plus~ arithmetic on audio signals
pow~ raise signal to a numeric power (signal)
q8_rsqrt~ approximate(8-bit) reciprocal square root
q8_sqrt~ approximate(8-bit) square root
rfft~ real forward discrete Fourier transform
rifft~ real inverse discrete Fourier transform
rmstodb~ convert acoustical units
rsqrt~ approximate(16-bit) reciprocal square root
sqrt~ approximate(16-bit) square root
wrap~ wraparound (fractional part)

audio oscillators and tables

cos~ cosine waveshaper
osc~ cosine oscillator
phasor~ sawtooth oscillator
tabosc4~ wavetable oscillator
tabplay~ play back from a table (non-transposing)
tabread4~ four-point interpolating table read
tabread~ non-interpolating table read
tabreceive~ read one block continuously from a table
tabsend~ write one block continuously to a table
tabwrite~ write to a table

data templates

drawcurve draw a curve
drawnumber draw a numeric value
drawpolygon draw a polygon
drawsymbol draw symbol
drawtext draw text
filledcurve draw a filled curve
filledpolygon draw a filled polygon
plot plot an array field
struct define a data structure

extra

bob~ Moog resonant filter model
bonk~ attack detector
choice best match of list (up to 10 elements) to templates
complex-mod~ frequency shifting
hilbert~ phase quadrature filter
loop~ phasor~ with S/H on its frequency input
lrshift~ left and right shift (useful with FFT objects)
pd~ run another copy (process) of Pd
rev1~ reverberator 1
rev2~ reverberator 2
rev3~ reverberator 3
sigmund~ pitch tracker
stdout write messages to standard output

general

bang output a bang message
change remove repeated numbers from a stream
float store and recall a number
int store and recall a number
list manipulate lists
makefilename format a symbol with a variable field
moses part a numeric stream
pack make compound messages
print print out messages
receive catch “sent” messages
route route messages according to first element
select test for matching numbers or symbols
send send a message to a named object
spigot interruptible message connection
swap swap two numbers
symbol store and recall a symbol
trigger sequence and convert messages
until looping mechanism
value shared numeric value

general audio

adc~ audio input
bang~ send a bang message after each DSP block
dac~ audio output
line~ generate audio ramps
readsf~ soundfile playback from disk
receive~ get signal from send~
samplerate~ get the sample rate
send~ nonlocal signal connection with fanout
sig~ converts numbers to audio signals
snapshot~ sample a signal (convert it back to a number)
threshold~ detect signal thresholds
throw~ add to a summing bus
vline~ deluxe line~
vsnapshot~ deluxe snapshot~ (DEPRECATED)
writesf~ record sound to disk

io

bendin MIDI input: pitch bend
bendout MIDI input: pitch bend
ctlin MIDI input: control change
ctlout MIDI input: control change
fudiformat FUDI messages from Pd lists
fudiparse FUDI messages to Pd lists
makenote schedule delayed “note off” message for a note-on
midiin MIDI input: raw midi data
midiout MIDI input: raw midi data
notein MIDI input: note
noteout MIDI input: note
oscformat OSC messages from Pd lists
oscparse OSC messages to Pd lists
pgmin MIDI input: program change
pgmout MIDI input: program change
polytouchin MIDI input: polyphonic aftertouch
polytouchout MIDI input: polyphonic aftertouch
stripnote strip “note off” messages
touchin MIDI input: channel aftertouch
touchout MIDI input: channel aftertouch

math

abs higher math
and bit twiddling
atan higher math
atan2 higher math
bitwiseand bit twiddling
bitwiseor bit twiddling
clip higher math
cos higher math
dbtopow convert acoustical units
dbtorms convert acoustical units
div higher math
eq relational tests
exp higher math
expr С-style expressions
ftom convert acoustical units
gt relational tests
gteq relational tests
log higher math
lt relational tests
lteq relational tests
max higher math
min higher math
minus arithmetic
mod higher math
mtof convert acoustical units
mult arithmetic
neq relational tests
or bit twiddling
plus arithmetic
pow arithmetic
powtodb convert acoustical units
random higher math
rmstodb convert acoustical units
shiftleft bit twiddling
shiftright bit twiddling
sin higher math
sqrt higher math
tan higher math
wrap higher math
xor bit twiddling

misc

bag set of numbers
declare set search path and/or load libraries
key numeric key values from keyboard
keyname symbolic key name
keyup numeric key values from keyboard (when key is up)
loadbang bang on load
netreceive receive messages from the network
netsend send messages over the network
openpanel “Open” dialog
pdcontrol communicate with canvas (to get directory)
poly polyphonic voice allocation
qlist message sequencer
savepanel “Save as” dialog
savestate mechanism for saving state of an abstraction
text general text handling
textfile file to message converter

subwindows

block~ specify block size and overlap
clone multiple copies of a patch
inlet add an inlet to a pd
inlet~ add a signal inlet to a pd
outlet add an outlet to a pd
outlet~ add a signal outlet to a pd
pd define a subwindow
switch switch subpatches on and off

time

cputime measure CPU time
delay send a message after a time delay
line send a series of lineary stepped numbered
metro send a message periodically
realtime measure real time
timer measure time intervals