Login
Register

About

User-Defined Opcode Database

Edited by

Steven Yi


This is a repository of User-Defined Opcodes for the Csound music synthesis software. User-Defined Opcodes are opcodes for Csound created using Csound orchestra text. More information about User-Defined Opcodes can be found here.

Opcodes

Signal Modifiers
Filters
Statevar - A digital version of the analogue state variable filter.
Fofilter - A formant filter version of the FOF opcode.
Moogladder - An improved implementation of the Moog ladder filter
Vocoder - channel vocoder with user-specified number of bands
vowel - vowel filter with morfable vowels
tap_tubewarmth - tap_tubewarmth - A port of Tom Szilagyi's TAP TubeWarmth LADSPA plugin to a Csound User-Defined Opcode
Panning and Spatialization
pan_simple - Simple Linear Pan
pan_sqrt - sqrt method for panning
pan_sin - Pan using Sin/Cos to create more even power between channels
pan_equal_power - Equal Power Panning
pan_delay_and_filtered - Pan using delay and filters
stereoMS - Converts Stereo to MS and MS to Stereo.
stereoRotate - Stereo 'panning' using the middle-side technique.
stereoBformat - Converts b-format ambisonics to uhj stereo.
bformatStereo - Converts stereo to b-format ambisonics.
quadBformat - Converts b-format to quadrophonic.
bformatQuad - Converts quadrophonic to b-format.
pan_gm2 - Equal Power Panning scheme defined by MIDI Association for GM2 in RP-036
PanPotStereo - pans stereo input to stereo output
stereoWidth - Changes the image width of a stereo signal
stereoBalance - Stereo 'panning' using the balance technique.
stereoMpan - Middle panorama panning of the 'M' component of a stereo signal
stereoAsymmetry - Side-only panning of a stereo signal
Effects
ensembleChorus - A stereo chorus opcode with multiple voices.
freqShift - Detunes an audio signal
SigReverse - A table-based reversing opcode.
SigRec - A table-based signal recorder (looping sampler), with pitch control
decimator - Sample rate / Bit depth reduce. Based on the work of Steven Cook. k-rate parameters.
SCReverb - 8 delay line stereo FDN reverb
Baboon - UDO wrapper for the babo opcode
PitchShifter - Delay-line pitchshifter
trackerSplice - signal splicer
declick - removes clicks from signal start and end
Residual - extracts stochastic components (transients etc) from a sound (using csound 5 opcodes)
Utilities
scale - Scales incoming value to user-definable range. Similar to scale object found in popular dataflow languages.
findPowerOfTwo - Given a value in seconds, finds a power of two size equal to or greater than it in samples
getFrequency - Returns frequency whether being passed in pch or frequency
ampdbN - Normalized conversion from db to amplitude.
ampSlider - Converts a scaled (0-1) value to a value resembling a hardware mixer slider.
tieStatus - Returns the status of a note in a group of tied notes
flip - Flips an incoming floating point value at k-rate.
gainslider - Logarithmic gain slider
ExpCurve - Normalised exponential curve with variable steepness.
LogCurve - Normalised logarithmic curve with variable steepness.
deflutter - deflutter k-rate input (data smoothing)
cpsmid - Converts MIDI Note Number to Cycles per second (Hz)
hysteresis - Implements classic 2-threshold hysteresis. Useful for performance controllers.
lowpass - A k-rate smoothing UDO that is useful for averaging performance controller data.
ftreverse - reverses an ftable's contents in place at k-rate
midiMonitor - Displays midi channel and control number information
TableDump - Prints a function table with formatting options.
FreqByEqScale - frequency calculation for one step of an equal tempered scale
TableToSF - writes the content of a table to a soundfile
FreqByCentTab - frequency calculation of a step of a scale which is defined by a list of cent values
FileToPvsBuf - Writes an audio file to a pvs buffer
TabPermRand_i - Permutes the values of a function table randomly
PfieldsToTable - Transfers score parameter fields to a function table
FreqByRatioTab - frequency calculation of a step of a scale which is defined by a list of proportions
SinesToSSTI - returns a function table with one of the four standard waveforms, produced by the addition of harmonics
TableDumpSimp - prints the content of a table in a simple way
StrNumP - tests whether a string is a numerical string
StrayGetEl - Gets one element from a string-array
StrayGetNum - Gets one number from a string-array
StraySetEl - Inserts an element in an array-string at a certain position
StraySetNum - Inserts a number in an array-string at a certain position
StrayLen - Returns the length of an array-string
StrayRemDup - Removes duplicates in an array-string
StrayElMem - Tests whether a string is contained as an element in an array-string
StraySub - Returns a subset of elements in an array-string
StrayNumMem - Tests whether a number is a member of an array-string
StrayNumLen - Returns the length of numerical elements in an array-string
StrayNumToFt - Converts a string-array which just consists of numbers or simple math expressions to a function table
StrayNumSum - Adds the elements in a numerical array-string
F2M - Comverts a frequency to the next possible MIDI note number
F2MC - converts a frequency to a MIDI.Cent note number
Scali - Scales an incoming i-variable from a certain range to another range.
Scalk - Scales an incoming k-signal from a certain range to another range.
Scala - Scales an incoming a-signal from a certain range to another range.
Stayed - Reports if a control signal has stayed at the same value for a certain time.
MS2S - Converts a floating point number in the format min.sec to seconds
KeyOnce - Returns '1' once if a certain key has been pressed or released.
KeyStay - Returns '1' as long as a certain key is hold.
BufRec1 - Records in a mono buffer (function table)
BufCt1 - creates a function table of ilen seconds for recording
BufFiCtNd1 - creates a non deferred function table from a mono soundfile and returns its length
BufFiCt1 - creates a gen01 function table from a mono soundfile
BufFiCt8 - creates eight gen01 function table from an eight channel soundfile
BufFiCt4 - creates fout gen01 function table from a four channel soundfile
BufFiCt2 - creates two gen01 function table from a stereo soundfile
BufCt2 - creates two function tables of ilen seconds for recording
BufFiCtNd2 - creates two non deferred function tables from a stereo soundfile and returns the length
BufRec2 - Records in a stereo buffer (= two function tables)
PhsEdge - Reports whether the upper or lower border of a phasor has been reached.
Counter - Step counter
Y_x4p_i - Calcucaltes a Y value from a given X and 2 pairs of X/Y points, at init-time
Y_x4p_k - Calcucaltes a Y value from a given X and 2 pairs of X/Y points, at k-time
FilDir - returns the directory of a file path
FilNam - returns the name of a file path
FilSuf - returns the suffix of a filename or path, optional in lower case
StrayRev - Reverses the elements of an array-string
Signal Generators
stereoGrain - Granular synthesis similar to granule but in stereo with control rate parameters and unlimited transpositions.
RandomWalkA - Generate random walk at a-rate
RandomWalkK - Generate random walk at k-rate
msrOsc - Simple Generator
p5glove - Unit generator for P5 data glove
rbatonXYZ - polls X, Y, and Z coordinates of a Max Mathew's Radio Baton.
rbatonPot - Implements a sensor for the 4 pots, 2 footswitches and B15+ button on the Max Mathew's Radio Baton unit.
rbatonPercPad - Senses trigger/whack strength as well as X and Y coordinates of the two batons in a Max Mathew's Radio Baton system.
footarray - Interface for a foot array which outputs program change MIDI messages. Can be used with any MIDI program change capable device.
vowgen - fof-based vocal generator with morfable vowels
pgmin - Read program change messages from MIDI input.
BufFiPl1 - Plays a mono sample from a GEN01 function table, including sample rate conversion
BufFiPl2 - Plays a stereo sample from two GEN01 function tables, including sample rate conversion
BufFiPl4 - Plays a four channel sample from four GEN01 function tables, including sample rate conversion
BufFiPl8 - Plays an eight channel sample from eight GEN01 function tables, including sample rate conversion
PartikkelSimpA - A simplified version of the Partikkel opcode, but with some additional parameters
PartikkelSimpB - The same as PartikkelSimpA, but with a time pointer input
FilePlay1 - Plays a mono signal from a mono or stereo soundfile
FilePlay2 - Plays a stereo signal from a mono or stereo soundfile
ADSD - An envelope generator modelling the classic analogue ADSD envelopes
Linek - performs a linear interpolation from one value to another value in a certain time whenever a trigger is received
BufPlay1 - Plays audio from a mono buffer (function table), with different options
BufPlay2 - Plays audio from a stereo buffer (two function tables), with different options
LpPhsr - creates a time pointer for loops
GaussTrig - Outputs a-rate impulses around a certain frequency.
Uncategorized
sittinginaroom - A simple,recursive opcode that has pleasant effects. The name pretty much describes what it does.
filterBank - Defines a bank of bandpass filters in parallel whose outputs can be scaled using a function table.
RecursiveDiskin - Alters kpitch and iskiptime each time it calls itself to create a little bit of texture.
pvshift - Pitch shifting and spectral stretching with pvs streams
sampleSlicer - Reads a function table in incremental slices.
linearPointer - Pointer to read a function table linearly, forwards or backwards.
boomerangPointer - Pointer to read a function table forwards then backwards or vice versa.
-