la-kitchen
A historical collection of Pure Data abstractions from La Kitchen, including sensor-data utilities such as automatic calibration, extrema detection, and retaining recent input values.
- Repository Source code
Contributors
People who contribute to this project.
Objects
- amplitude_n
amplitude_nreturns the amplitude covered by the most recent values, using a history of size n. - autocal
autocalis an abstraction for calibrating sensor input values by learning their minimum, maximum, and center, then producing a calibrated output over a configurable range. - catch_extremum
catch_extremumreturns the most recent local minimum and maximum from incoming data. - catch_extremum2
catch_extremum2returns the most recent local minimum and maximum from its input data. - change_n
change_nexamines the last n boolean inputs and outputs 0 if they are all the same, otherwise 1. - count_n
count_ncounts from 0 through n−1. - debounce_b
debounce_bsuppresses subsequent bangs after receiving one, blocking them until the specified duration has elapsed. - fir_filter
fir_filtercomputes a finite impulse response (FIR) filter. - fir_hip_n
fir_hip_ncomputes a finite impulse response (FIR) high-pass filter of order n. - fir_mean_n
fir_mean_ncomputes a finite impulse response (FIR) low-pass mean filter of order n, for smoothing input data. - iir_hip
iir_hipcomputes an infinite impulse response high-pass filter for its input. - iir_lop
iir_lopcomputes an infinite impulse response low-pass filter. - last_n
last_nstores the last n incoming data values in a list. - last_n_matrix
last_n_matrixsaves the last n incoming data items in a column matrix, providing a rolling history of recent values. - list2matcol
list2matcolconverts an input list into a column matrix. - max_n
max_nreturns the maximum among the last n input values, providing a rolling maximum. - min_n
min_nreturns the minimum among the last n input values, providing a rolling minimum over recent data. - one_n
one_naccepts Boolean input (0 or 1) and returns 1 when the last n data values were nonzero; otherwise, it returns 0. - seuil_n
seuil_ncompares the current input sample with the sample from n samples earlier and returns 1 when their difference is up to a threshold value. - zero_n
zero_noutputs 1 if the last n input values were all 0; otherwise, it outputs 0.