(→Reference under construction...) |
|||
Line 2: | Line 2: | ||
{{Module | | {{Module | | ||
− | | name= | + | | name=ftm.copy |
+ | | brief= | ||
+ | | descr= | ||
+ | | arguments=init class by name (optionally) and copy destination<br> | ||
+ | | attributes=none | ||
+ | | messages=set - set copy destination<br> | ||
+ | | inlets=0 - FTM object to copy<br>1 - set copy destination<br> | ||
+ | | outlets=0 - output (reference to) copy destination<br> | ||
+ | }} | ||
+ | |||
+ | {{Module | | ||
+ | | name=ftm.iter | ||
+ | | brief= | ||
+ | | descr= | ||
+ | | arguments=none | ||
+ | | attributes=mode - set iterator mode<br> | ||
+ | | messages=none | ||
+ | | inlets=0 - Input FTM object reference<br>1 - Input start time for track iteration (default: 0)<br>2 - Input end time for track iteration (default: end of track)<br> | ||
+ | | outlets=0 - Output element<br>1 - Output index, time tag, key ...<br> | ||
+ | }} | ||
+ | |||
+ | {{Module | | ||
+ | | name=ftm.mess | ||
+ | | brief= | ||
+ | | descr= | ||
+ | | arguments=none | ||
+ | | attributes=none | ||
+ | | messages=none | ||
+ | | inlets=0 - input list<br> | ||
+ | | outlets=0 - message outlet<br> | ||
+ | }} | ||
+ | |||
+ | {{Module | | ||
+ | | name=ftm.object | ||
| brief= | | brief= | ||
| descr= | | descr= | ||
+ | | arguments=none | ||
+ | | attributes=none | ||
+ | | messages=bang - output reference<br>anything - message to object<br> | ||
+ | | inlets=none | ||
+ | | outlets=0 - object reference (when bang)<br>1 - method return values<br> | ||
+ | }} | ||
+ | |||
+ | {{Module | | ||
+ | | name=ftm.print | ||
+ | | brief=print to the console | ||
+ | | descr=Prints any input (single values, lists, messages) to the console. | ||
+ | Evokes print method of FTM objects when incoming as single value. | ||
+ | | arguments=0 <sym: prompt> - prompt symbol<br> | ||
+ | | attributes=none | ||
+ | | messages=anything - print message or FTM object<br>bang - print bang<br> | ||
+ | | inlets=0 [<any: values> ...] - print value or list<br> | ||
+ | | outlets=none | ||
+ | }} | ||
+ | |||
+ | {{Module | | ||
+ | | name=gbr.addenv | ||
+ | | brief=additive synthesis: generate partials with a given envelope | ||
+ | | descr=Adds partials with a spectral envolope (given as a vector or list) to an incoming spectrum using the FFT-1 technique.The output is typically connected to gbr.ifft (in real mode) or another gbr.addenv or gbr.addpartials module. | ||
| arguments=0 - maximum number of partials (default is 64)<br> | | arguments=0 - maximum number of partials (default is 64)<br> | ||
− | | attributes= | + | | attributes=noisy <bool: noisy flag> - enable/disbale noisiness<br>coefs <num: # of coefs> - set number of FFT-1 spectral bin coefficients<br> |
− | | messages= | + | | messages=noisy <bool: noisy flag> - enable/disbale noisiness<br>coefs <num: # of coefs> - set number of FFT-1 spectral bin coefficients<br> |
− | | inlets=0 - | + | | inlets=0 <fmat: complex vector> - spectrum (only positive frequencies) to which to add the generated partials<br>1 <num|fmat|fvec|list: freq(s)> - set fundamental frequency (num: for harmonics) or vector of partials |
+ | ... frequencies<br>2 <num|fmat|fvec|list: spectral envelope> - set spectral envelope (given values will be linearly interpolated)<br>3 <num|fmat|fvec|list: phase(s)> - set phase (num: for all partials) or | ||
+ | ... vector of phases for the given partials<br> | ||
| outlets=0 <fmat> - no description<br> | | outlets=0 <fmat> - no description<br> | ||
}} | }} | ||
Line 14: | Line 72: | ||
{{Module | | {{Module | | ||
| name=gbr.addpartials | | name=gbr.addpartials | ||
− | | brief= | + | | brief=additive synthesis: generate partials with given frequencies and amplitudes |
− | | descr= | + | | descr=Adds partials (given as a vector or list) to an incoming spectrum using the FFT-1 technique.The output is typically connected to gbr.ifft (in real mode) or another gbr.addpartials or gbr.addenv module.<br>Frequencies and amplitudes |
+ | ... can be given by separated vectors with separated inputs (input format 'vec') or as a single matrix to the first inlet.The input format (attribute @format) determines the interpretation of the columns of the incoming matrix: 'fa' | ||
+ | ... requires 2 columns with frequencies and amplitudes, 'ifa' requires 3 columns with partial indices, frequencies and amplitudes. | ||
| arguments=0 - maximum number of partials (default is 64)<br> | | arguments=0 - maximum number of partials (default is 64)<br> | ||
− | | attributes= | + | | attributes=format <'vec'|'fa'|'ifa': input format> - set input matrix/vector format<br>noisy <bool: noisy flag> - enable/disbale noisiness<br>coefs <num: # of coefs> - set number of FFT-1 |
− | | messages= | + | ... spectral bin coefficients<br> |
− | | inlets=0 - | + | | messages=format <'vec'|'fa'|'ifa': input format> - set input matrix/vector format<br>noisy <bool: noisy flag> - enable/disbale noisiness<br>coefs <num: # of coefs> - set number of FFT-1 |
+ | ... spectral bin coefficients<br> | ||
+ | | inlets=0 <fmat: complex vector> - spectrum (only positive frequencies) to which to add the generated partials<br>1 <num|fmat|fvec|list: freq(s)> - set fundamental frequency (num: for harmonics) or vector of partials | ||
+ | ... frequencies<br>2 <num|fmat|fvec|list: amp(s)> - set amplitude (num: for harmonics) or vector of partials amplitudes<br>3 <num|fmat|fvec|list: phase(s)> - set phase (num: for all partials) or vector of | ||
+ | ... phases for the given partials<br> | ||
| outlets=0 <fmat> - no description<br> | | outlets=0 <fmat> - no description<br> | ||
}} | }} | ||
Line 25: | Line 89: | ||
{{Module | | {{Module | | ||
| name=gbr.autox | | name=gbr.autox | ||
− | | brief= | + | | brief=auto correlation and similar |
− | | descr= | + | | descr=Calculates autocorrelation, distance, quadratic distance, sum magnitude difference function and accumulated difference function (yin). |
− | | arguments=0 - initalize size<br>1 - initalize width<br> | + | | arguments=0 <num: # of points> - initalize calculation size<br>1 <num: # of points> - initalize window width<br> |
− | | attributes= | + | | attributes=out <fmat: output> - set output vector<br>mode <'corr'|'dist'|'dist2'|'smdf'|'yin': mode> - set calculation mode<br>scale <num: factor> - set scaling |
− | | messages= | + | ... factor<br> |
− | | inlets=0 - | + | | messages=size <num: size> - set calculation size (maximum output size)<br>width <num: width> - set window width<br>out <fmat: output> - set output vector<br>scale <num: factor> - set scaling factor<br> |
− | | outlets=0 <fmat> - | + | | inlets=0 <fmat|fvec: vector> - input vector<br> |
+ | | outlets=0 <fmat: vector> - auto correlation vector<br> | ||
}} | }} | ||
{{Module | | {{Module | | ||
| name=gbr.bands | | name=gbr.bands | ||
− | | brief= | + | | brief=calulate frequency bands on an incoming spectrum (or similar domain) |
− | | descr= | + | | descr=Sums regions of the incoming vector to bands in different schemes:sum of values between given bounds or classical HTK or FC mel coefficients.Its input is typically connected to gbr.fft (in real mode). |
− | | arguments=init input spectrum size and output bands number, or boundaries<br> | + | | arguments=<num: input size> <num: ouput size> | [<num: boundaries> ...] - init input spectrum size and output bands number, or boundaries<br> |
− | | attributes=integ - set the spectrum integration type<br>scale - set the bands filter scale<br>maxfreq - set the output maximum frequency | + | | attributes=out <fmat: output> - set output vector<br>integ <'abs'|'sqrabs': type> - set the spectrum integration type<br>scale <num: factor> - set the bands filter scale<br>maxfreq <num: freq in Hz> - set |
− | | messages=integ - set the spectrum integration type<br>scale - set the bands filter scale<br>maxfreq - set the output maximum frequency | + | ... the output maximum frequency<br>minfreq <num: freq in Hz> - set the output minimum frequency<br>mode <'bounds'|'mel'|'htkmel'|'fcmel'> - set the bands mode<br>sr <num: freq in |
− | | inlets=0 - | + | ... Hz> - set the spectrum corresponding sampling rate (default 44100.), which is 2.*specnyq<br>specnyq <num: frew in Hz> - set the spectrum Nyquist frequency (default 22050.<br> |
− | | outlets=0 - | + | | messages=getstate - get the internal weights matrix<br>bounds [<num: bounaries> ...] - set band boundaries<br>outsize <num: # of points> - set the number of output bands<br>insize <num: # of points> - set the input spectrum |
+ | ... size<br>out <fmat: output> - set output vector<br>integ <'abs'|'sqrabs': type> - set the spectrum integration type<br>scale <num: factor> - set the bands filter scale<br>maxfreq <num: freq in Hz> - set the | ||
+ | ... output maximum frequency<br>minfreq <num: freq in Hz> - set the output minimum frequency<br>mode <'bounds'|'mel'|'htkmel'|'fcmel'> - set the bands mode<br>sr <num: freq in Hz> | ||
+ | ... - set the spectrum corresponding sampling rate (default 44100.), which is 2.*specnyq<br>specnyq <num: frew in Hz> - set the spectrum Nyquist frequency (default 22050.<br> | ||
+ | | inlets=0 <fmat|fvec>: - spectrum (positive frequencies)<br> | ||
+ | | outlets=0 <fmat: bands/ceofficients> - vector of coefficients/bands<br>1 <fmat: weights> - internal weights matrix<br> | ||
}} | }} | ||
{{Module | | {{Module | | ||
| name=gbr.bq | | name=gbr.bq | ||
− | | brief= | + | | brief=constant Q |
− | | descr= | + | | descr=Calculates a constant Q transform on an incoming spectrum [J.Brown, M.Puckette 1992].Its input is typically connected to gbr.fft (in real mode). |
− | | arguments= | + | | arguments=<num: FFT size> <num: min freq> <num: channels per octave> <num: threshold> <num: number of channels> - init filter kernels<br> |
− | | attributes= | + | | attributes=channels <num: # of channels> - set number of channels to calculate<br> |
− | | messages= | + | | messages=channels <num: # of channels> - set number of channels to calculate<br> |
− | | inlets=0 - | + | | inlets=0 <fmat: complex vector> - input spectrum (positive frquencies)<br> |
− | | outlets=0 <fmat> - | + | | outlets=0 <fmat: coefficients> - filter bands<br> |
}} | }} | ||
Line 59: | Line 129: | ||
| name=gbr.copy | | name=gbr.copy | ||
| brief=copy vector (fmat) out of a delay line or an fmat or fvec) | | brief=copy vector (fmat) out of a delay line or an fmat or fvec) | ||
− | | descr= | + | | descr=Copies a grain (fmat vector) of a given duration out of a delay line at a given delay time and outputs an fmat reference.If the given delay time is less than the the duration the vector will be shortened |
| arguments=0 <delayline|fmat|fvec: source> - init source<br>1 <num: duration> - init grain duration<br> | | arguments=0 <delayline|fmat|fvec: source> - init source<br>1 <num: duration> - init grain duration<br> | ||
− | | attributes=out <fmat: output> - set output | + | | attributes=out <fmat: output> - set output vector<br>unit <'msec'|'sec'|'samp': unit> - set time unit to msecs, secs or samples<br> |
− | | messages=bang - copy vector from the beginning of the delay line and output<br>set <delayline|fmat|fvec: source> - set source<br>out <fmat: output> - set output | + | | messages=bang - copy vector from the beginning of the delay line and output<br>set <delayline|fmat|fvec: source> - set source<br>out <fmat: output> - set output vector<br>unit <'msec'|'sec'|'samp': |
+ | ... unit> - set time unit to msecs, secs or samples<br> | ||
| inlets=0 <num: delay> - copy and output grain at given delay position<br>1 <num: duration> - set duration<br> | | inlets=0 <num: delay> - copy and output grain at given delay position<br>1 <num: duration> - set duration<br> | ||
− | | outlets=0 <fmat: vector> - | + | | outlets=0 <fmat: vector> - copied grain<br> |
}} | }} | ||
{{Module | | {{Module | | ||
| name=gbr.crossx | | name=gbr.crossx | ||
− | | brief= | + | | brief=cross correlation and similar |
− | | descr= | + | | descr=Calculates correlation, distance, quadratic distance and sum magnitude difference function. |
− | | arguments=0 - initalize size<br>1 - initalize width<br>2 - initalize right operand<br> | + | | arguments=0 <num: # of points> - initalize calculation size<br>1 <num: # of points> - initalize window width<br>2 <fmat|fvec: vector> - initalize right operand<br> |
− | | attributes= | + | | attributes=out <fmat: output> - set output vector<br>mode <'corr'|'dist'|'dist2'|'smdf': mode> - set calculation mode<br>scale <num: factor> - set scaling factor<br> |
− | | messages= | + | | messages=size <num: size> - set calculation size (maximum output size)<br>width <num: width> - set window width<br>out <fmat: output> - set output vector<br>scale <num: factor> - set scaling factor<br> |
− | | inlets=0 - | + | | inlets=0 <fmat|fvec: vector> - left input vector<br>1 <fmat|fvec: vector> - right input vector<br> |
− | | outlets=0 <fmat> - | + | | outlets=0 <fmat: vector> - cross correlation vector<br> |
}} | }} | ||
{{Module | | {{Module | | ||
| name=gbr.dct | | name=gbr.dct | ||
− | | brief= | + | | brief=discrete cosine transform |
− | | descr= | + | | descr=Calculates a DCT of the incoming vector. |
− | | arguments=0 - | + | | arguments=0 <num: # of points> - init the input size<br>1 <num: # of points> - init the output size<br> |
− | | attributes=mode - set the discrete cosine transform mode<br> | + | | attributes=out <fmat: output> - set output vector<br>mode <'slaney'|'htk'|fc'> - set the discrete cosine transform mode<br> |
− | | messages= | + | | messages=getstate - get the internal weights matrix<br>outsize <num: # of points> - set the output size<br>insize <num: # of points> - set the input size<br>out <fmat: output> - set output vector<br>mode <'slaney'|'htk'\ |
− | | inlets=0 - input vector<br> | + | ... ;|fc'> - set the discrete cosine transform mode<br> |
− | | outlets=0 - | + | | inlets=0 <fmat|fvec: vector> - input vector<br> |
+ | | outlets=0 <fmat: vector> - DCT coefficients<br>1 <fmat: vector> - internal weights matrix<br> | ||
}} | }} | ||
{{Module | | {{Module | | ||
| name=gbr.dline~ | | name=gbr.dline~ | ||
− | | brief= | + | | brief=classical delay line |
− | | descr= | + | | descr=Delay line to be used with gbr.copy and gbr.tapout~. |
− | | arguments= | + | | arguments=<sym: name> <num: size in given unit> - give name and size<br> |
| attributes=unit <'msec'|'sec'|'samp': unit> - set time unit to msecs, secs or samples<br>scope <'local'|'global'> - set delayline name scope<br> | | attributes=unit <'msec'|'sec'|'samp': unit> - set time unit to msecs, secs or samples<br>scope <'local'|'global'> - set delayline name scope<br> | ||
− | | messages=freeze | + | | messages=freeze <'0'|'1': freeze>] - enable/disable delay line freeze<br>clear - zero delay line<br> |
| inlets=0 - write signal into delay line<br> | | inlets=0 - write signal into delay line<br> | ||
| outlets=0 - thru output (for order-forcing)<br> | | outlets=0 - thru output (for order-forcing)<br> | ||
Line 102: | Line 174: | ||
{{Module | | {{Module | | ||
| name=gbr.drain~ | | name=gbr.drain~ | ||
− | | brief= | + | | brief=forward delay line |
− | | descr= | + | | descr=Delay line to write with different delays to be used with gbr.paste and gbr.tapin~. |
− | | arguments= | + | | arguments=<sym: name> <num: size in given unit> - give name and size<br> |
| attributes=unit <'msec'|'sec'|'samp': unit> - set time unit to msecs, secs or samples<br>scope <'local'|'global'> - set delayline name scope<br> | | attributes=unit <'msec'|'sec'|'samp': unit> - set time unit to msecs, secs or samples<br>scope <'local'|'global'> - set delayline name scope<br> | ||
| messages=clear - clear delay line<br> | | messages=clear - clear delay line<br> | ||
− | | inlets=0 - order-forcing input<br> | + | | inlets=0 - (order-forcing input)<br> |
| outlets=0 - sum delay line output<br> | | outlets=0 - sum delay line output<br> | ||
}} | }} | ||
Line 113: | Line 185: | ||
{{Module | | {{Module | | ||
| name=gbr.fft | | name=gbr.fft | ||
− | | brief= | + | | brief=fast Fourier transform |
− | | descr= | + | | descr=Calculates FFT on incoming vector. |
− | | arguments=0 - | + | | arguments=0 <num: size> - FFT size (rounded to the next power of 2)<br> |
− | | attributes= | + | | attributes=out <fmat: output> - set output vector<br>mode <'auto'|'complex'|'real': mode> - FFT mode<br>scale <num: factor> - scaling factor (1.) 0 stands for 1 / FFT size<br> |
− | | messages=out - set output | + | | messages=out <fmat: output> - set output vector<br>scale <num: factor> - scaling factor (1.) 0 stands for 1 / FFT size<br> |
− | | inlets=0 - | + | | inlets=0 <fmat|fvec: vector> - real or conplex input vector<br> |
− | | outlets=0 <fmat> - | + | | outlets=0 <fmat: vector> - real or conplex output vector<br> |
}} | }} | ||
{{Module | | {{Module | | ||
| name=gbr.fire~ | | name=gbr.fire~ | ||
− | | brief= | + | | brief=Gabor timing impulse generator |
− | | descr= | + | | descr=Periodically outputs a given fmat or a bang within the Gabor scheduling scheme. |
− | | arguments= | + | | arguments=<num: period> [<fmat: vector>] - init period and fmat to fire (default is bang)<br> |
− | | attributes=var <num: freq var> - set frequency variation<br>period <num: period> - set frequency or period (depending on unit)<br>out <fmat: out> - set output fmat<br>unit <'hz'|'msec'|'sec'|' | + | | attributes=var <num: freq var> - set frequency variation (0 ... 1)<br>period <num: period> - set frequency or period (depending on unit)<br>out <fmat: out> - set output fmat<br>unit <'hz'|'msec'|'sec'|'s\ |
− | | messages=var <num: freq var> - set frequency variation<br>period <num: period> - set frequency or period (depending on unit)<br>out <fmat: out> - set output fmat<br>unit <'hz'|'msec'|'sec'|' | + | ... amp'|'midi'|'midicent': unit> - set frequency/period unit to Hz, msec or samples<br> |
− | | inlets=0 - fire frequency or period (depending on unit)<br>1 - set fmat to fire<br> | + | | messages=var <num: freq var> - set frequency variation (0 ... 1)<br>period <num: period> - set frequency or period (depending on unit)<br>out <fmat: out> - set output fmat<br>unit <'hz'|'msec'|'sec'|'sam\ |
+ | ... p'|'midi'|'midicent': unit> - set frequency/period unit to Hz, msec or samples<br> | ||
+ | | inlets=0 <num: freq/period> - fire frequency or period (depending on unit), O is off<br>1 <fmat: vector> - set fmat to fire<br> | ||
| outlets=0 - output fmat or bang<br> | | outlets=0 - output fmat or bang<br> | ||
}} | }} | ||
Line 135: | Line 209: | ||
{{Module | | {{Module | | ||
| name=gbr.gen= | | name=gbr.gen= | ||
− | | brief= | + | | brief=generate waveform/function |
− | | descr=Adds a | + | | descr=Adds a given (and parametrised) waveform/function to an incomming vector.The user can chose among various waveforms/functions |
− | | arguments=init generator | + | | arguments=<'cosine'|'sine': function> [<any: parameters> ...] - init generator function and parameters<br> |
| attributes=none | | attributes=none | ||
− | | messages=set - set generator | + | | messages=set <'cosine'|'sine': function> [<any: parameters> ...] - set generator function and parameters<br> |
− | | inlets=0 - vector | + | | inlets=0 <fmat|fvec: vector> - input vector to which the waveform/function will be added<br>1 [<any: parameters> ...] - set generator parameters<br> |
− | | outlets=0 - vector | + | | outlets=0 <fmat|fvec: vector> - output incoming vector with added waveform/function<br> |
}} | }} | ||
{{Module | | {{Module | | ||
| name=gbr.harms | | name=gbr.harms | ||
− | | brief= | + | | brief=estimate harmonics from a given spectrum (or any other vector) |
− | | descr= | + | | descr=Estimates frequencies (interpolated and scaled indices) and amplitudes of harmonics in an incoming vector.Harmonics are defined as peaks around the multiple of a given value (fundamental frequency) with a given tolerance.The |
− | | arguments=0 - init number of | + | ... estimation of harmonics in a spectrum works best when a logarthimic amplitude spectrum is provided as input. |
+ | | arguments=0 <num: max harms> - init maximum number of harmonics to be estimated<br>1 <num: freq in Hz> - init fundamental frequency in Hz<br>2 <num: factor> - init allowed deviation factor from theoretic harmonic frequency (linear | ||
+ | ... factor of f0)<br> | ||
| attributes=scale - choose scale factor ('ny' | 'sr' | <numeric factor>, negative factors are applied to a normalized)<br> | | attributes=scale - choose scale factor ('ny' | 'sr' | <numeric factor>, negative factors are applied to a normalized)<br> | ||
− | | messages= | + | | messages=width <num: freq> - set maximum width for harmonic peaks<br>height <num: amp> - set minimum height for harmonic peaks<br>interval <num: cent> - set allowed deviation factor from theoretic harmonic frequency (in cent)<br>delta |
− | | inlets=0 - | + | ... <num: factor> - set allowed deviation factor from theoretic harmonic frequency (linear factor of f0)<br>freq <num: freq in Hz> - set fundamental frequency<br>max <num: max harms> - set maximum number of harmonics to be estimated<br> |
− | | outlets=0 <fmat> - | + | | inlets=0 <fmat|fvec: vector> - input vector><br> |
+ | | outlets=0 <fmat: vector> - vector of harmonics<br> | ||
}} | }} | ||
{{Module | | {{Module | | ||
| name=gbr.ifft | | name=gbr.ifft | ||
− | | brief= | + | | brief=inverse fast Fourier transform |
− | | descr= | + | | descr=Calculates inverse FFT on incoming vector. |
− | | arguments=0 - | + | | arguments=0 <num: size> - FFT size (rounded to the next power of 2)<br> |
− | | attributes= | + | | attributes=out <fmat: output> - set output vector<br>mode <'auto'|'complex'|'real': mode> - FFT mode<br>scale <num: factor> - scaling factor (1.) 0 stands for 1 / FFT size<br> |
− | | messages=out - set output | + | | messages=out <fmat: output> - set output vector<br>scale <num: factor> - scaling factor (1.) 0 stands for 1 / FFT size<br> |
| inlets=0 - messages only<br> | | inlets=0 - messages only<br> | ||
| outlets=0 <fmat> - no description<br> | | outlets=0 <fmat> - no description<br> | ||
Line 168: | Line 245: | ||
{{Module | | {{Module | | ||
| name=gbr.lifter | | name=gbr.lifter | ||
− | | brief= | + | | brief=(to be documented) |
− | | descr= | + | | descr=(to be documented) |
− | | arguments=0 - | + | | arguments=0 <num: # of points> - init the input size<br>1 <num: factor> - init the filtering factor<br> |
− | | attributes=out - set | + | | attributes=out <fmat: output> - set ouput vector<br>mode <'exp'|'sin': mode> - set the liftering type: exponential (Auditory Toolbox-like) or sinusoidal (HTK-like)<br>inv <'0'|'1': |
− | | messages=out - set | + | ... switch> - enable/disable the inverse liftering mode<br> |
− | | inlets=0 - | + | | messages=getstate - get the internal weights matrix<br>factor <num: factor> - set the filtering factor<br>insize <num: # of points> - set the input size<br>out <fmat: output> - set ouput vector<br>mode <'exp'|'sin': |
− | | outlets=0 - | + | ... mode> - set the liftering type: exponential (Auditory Toolbox-like) or sinusoidal (HTK-like)<br>inv <'0'|'1': switch> - enable/disable the inverse liftering mode<br> |
+ | | inlets=0 <fmat|fvec: vector> - cepstrum vector<br> | ||
+ | | outlets=0 <fmat: vector> - liftered cepstrum<br>1 <fmat: weights> - internal weights matrix<br> | ||
}} | }} | ||
{{Module | | {{Module | | ||
| name=gbr.lpc | | name=gbr.lpc | ||
− | | brief= | + | | brief=linear prediction coefficients |
− | | descr= | + | | descr=Calculates LPC coefficients from incoming sinal frame. |
− | | arguments=0 - | + | | arguments=0 <num: order> - init LPC order<br> |
− | | attributes=errasfloat - | + | | attributes=out <fmat: output> - set output vector<br>errasfloat <'0'|'1': switch> - enable/disable float number output<br> |
− | | messages= | + | | messages=order <num: order> - set LPC order<br>out <fmat: output> - set output vector<br>errasfloat <'0'|'1': switch> - enable/disable float number output<br> |
− | | inlets=0 - input vector<br> | + | | inlets=0 <fmat|fvec: vector> - input vector<br> |
− | | outlets=0 - | + | | outlets=0 <fmat: vector> - LPC coefficients<br>1 <num|fmat: error> - prediciton error<br>2 <fmat: vector> - autocorrelation<br>3 <fmat: vector> - internal values<br> |
}} | }} | ||
{{Module | | {{Module | | ||
| name=gbr.mask | | name=gbr.mask | ||
− | | brief= | + | | brief=partial masking using critical band width |
− | | descr= | + | | descr=Calculates and applies masking to incoming vector of partials.The input format (attribute @format) determines the interpretation of the columns of the incoming matrix: 'fa' requires 2 columns with frequencies and amplitudes, |
+ | ... 'ifa' requires 3 columns with partial indices, frequencies and amplitudes. | ||
| arguments=none | | arguments=none | ||
− | | attributes= | + | | attributes=format - 'fa'|'ifa': input format> - set input matrix format<br>out <fmat: output> - set output vector<br> |
− | | messages= | + | | messages=calcpeaks <num: (left) peaks> [<num: right peaks>] - set number of peaks on the left and right to be taken into account in calculation<br>slope <num: slope> [<num: slope>] - set (left and right) masking slope<br>format - |
− | | inlets=0 - | + | ... 'fa'|'ifa': input format> - set input matrix format<br>out <fmat: output> - set output vector<br> |
− | | outlets=0 <fmat> - | + | | inlets=0 <fmat: partials> - vector of partials (in given format)<br> |
+ | | outlets=0 <fmat: partials> - vector of partials (in given format)<br> | ||
}} | }} | ||
{{Module | | {{Module | | ||
| name=gbr.morph | | name=gbr.morph | ||
− | | brief= | + | | brief=(to be documented) |
− | | descr= | + | | descr=(to be documented) |
− | | arguments=0 - | + | | arguments=0 <fmat: partials> - vector of paritals corresponding to the interpolation factor 0<br>1 <fmat: partials> - vector of paritals corresponding to the interpolation factor 1<br> |
− | | attributes=format - <br>out - set output | + | | attributes=format - 'plain'|'fa'|'ifa': input format> - set input matrix format<br>out <fmat: output> - set output vector<br> |
− | | messages=format - <br>out - set output | + | | messages=format - 'plain'|'fa'|'ifa': input format> - set input matrix format<br>out <fmat: output> - set output vector<br> |
− | | inlets=0 - | + | | inlets=0 <num: factor> - morphing factor (0...1)<br>1 <fmat: partials> - vector of paritals corresponding to the interpolation factor 0<br>2 <fmat: partials> - vector of paritals corresponding to the interpolation factor 1<br> |
− | | outlets=0 - | + | | outlets=0 <fmat: partials> - vector of morphed paritals<br> |
}} | }} | ||
Line 213: | Line 294: | ||
| name=gbr.ola~ | | name=gbr.ola~ | ||
| brief=overlap-add | | brief=overlap-add | ||
− | | descr= | + | | descr=Performs the overlap-add of incoming vectors into a forward delayline.The vector will be shortened at the end of the delayline. |
| arguments=1 <num: size> - init buffer size<br>2 <num: delay> - init delay position<br>3 <num: channel> - init output channel (0: off)<br> | | arguments=1 <num: size> - init buffer size<br>2 <num: delay> - init delay position<br>3 <num: channel> - init output channel (0: off)<br> | ||
− | | attributes=unit <'msec'|'sec'|'samp': unit> - set time unit to msecs, secs or samples<br>interp <'on'|'off'|'yes'|'no'|1|0: switch> - enable/disable interpolation<br> | + | | attributes=unit <'msec'|'sec'|'samp': unit> - set time unit to msecs, secs or samples<br>interp <'on'|'off'|'yes'|'no'|1|0: |
+ | ... switch> - enable/disable interpolation<br> | ||
| messages=interp <'on'|'off'|'yes'|'no'|1|0: switch> - enable/disable interpolation<br>clear - clear delay line<br> | | messages=interp <'on'|'off'|'yes'|'no'|1|0: switch> - enable/disable interpolation<br>clear - clear delay line<br> | ||
| inlets=0 <fmat|fvec: vector> - overlap-add vector at given delay position<br>1 <num: delay> - set delay<br>2 <num: channel> - set output channel (0: off)<br> | | inlets=0 <fmat|fvec: vector> - overlap-add vector at given delay position<br>1 <num: delay> - set delay<br>2 <num: channel> - set output channel (0: off)<br> | ||
Line 224: | Line 306: | ||
| name=gbr.paste | | name=gbr.paste | ||
| brief=paste a grain (fmat or fvec) into a drain | | brief=paste a grain (fmat or fvec) into a drain | ||
− | | descr= | + | | descr=Copies a vector into a drain with a given delay.The vector will be shortened at the end of the drain. |
| arguments=0 <delayline|fmat|fvec: destination> - init destination (write delay line or fmat)<br>1 <num: delay> - init delay position<br> | | arguments=0 <delayline|fmat|fvec: destination> - init destination (write delay line or fmat)<br>1 <num: delay> - init delay position<br> | ||
− | | attributes=unit <'msec'|'sec'|'samp': unit> - set time unit to msecs, secs or samples<br>interp <'on'|'off'|'yes'|'no'|1|0: switch> - enable/disable interpolation<br> | + | | attributes=unit <'msec'|'sec'|'samp': unit> - set time unit to msecs, secs or samples<br>interp <'on'|'off'|'yes'|'no'|1|0: |
− | | messages=set <delayline|fmat|fvec: destination> - set destination (write delay line, fmat or fvec)<br>unit <'msec'|'sec'|'samp': unit> - set time unit to msecs, secs or samples<br>interp <'on'|'off'|'yes'|'no'|1|0: switch> - enable/disable interpolation<br> | + | ... switch> - enable/disable interpolation<br> |
+ | | messages=set <delayline|fmat|fvec: destination> - set destination (write delay line, fmat or fvec)<br>unit <'msec'|'sec'|'samp': unit> - set time unit to msecs, secs or samples<br>interp | ||
+ | ... <'on'|'off'|'yes'|'no'|1|0: switch> - enable/disable interpolation<br> | ||
| inlets=0 <fmat|fvec: vector> - paste vector at given delay position<br>1 - set delay position<br> | | inlets=0 <fmat|fvec: vector> - paste vector at given delay position<br>1 - set delay position<br> | ||
| outlets=none | | outlets=none | ||
Line 234: | Line 318: | ||
{{Module | | {{Module | | ||
| name=gbr.peaks | | name=gbr.peaks | ||
− | | brief= | + | | brief=estimate peaks (partials) from a given spectrum (or any other vector) |
− | | descr= | + | | descr=Estimates frequencies (interpolated and scaled indices) and amplitudes of peaks in an incoming vector.The estimation of partials in a spectrum works best when a logarthimic amplitude spectrum is provided as input. |
− | | arguments=0 - init number of peaks<br> | + | | arguments=0 <num: max peaks> - init maximum number of peaks to be estimated<br> |
− | | attributes=range - | + | | attributes=range <min: boundary> <max: boundary> - band where to search for peaks<br>scale - num|'ny'|'sr': factor> - set frequency scaling factor (negative factors are applied to a normalized domain)<br>keep |
− | | messages=range - | + | ... <'lowest'|'strongest': mode> - keep first or strongest peaks<br> |
− | | inlets=0 - | + | | messages=dev <num: value> - set maximum deviation from mean value<br>width <num: freq> - set maximum width for peaks (indicates sinusoïdality)<br>height <num: amp> - set minimum height for peaks<br>max <num: max peaks> - set maximum |
− | | outlets=0 <fmat> - | + | ... number of peaks to be estimated<br>range <min: boundary> <max: boundary> - band where to search for peaks<br>scale - num|'ny'|'sr': factor> - set frequency scaling factor (negative factors are applied |
+ | ... to a normalized domain)<br>keep <'lowest'|'strongest': mode> - keep first or strongest peaks<br> | ||
+ | | inlets=0 <fmat|fvec: vector> - input vector (spectrum)><br> | ||
+ | | outlets=0 <fmat: vector> - vector of peaks<br> | ||
}} | }} | ||
{{Module | | {{Module | | ||
| name=gbr.preemphasis | | name=gbr.preemphasis | ||
− | | brief= | + | | brief=(to be documented) |
− | | descr= | + | | descr=(to be documented) |
− | | arguments=0 - | + | | arguments=0 <num: factor> - init filtering factor<br> |
| attributes=out - set the ouput object<br> | | attributes=out - set the ouput object<br> | ||
− | | messages= | + | | messages=clear - clear any previous sample<br>getstate - get the previous sample<br>factor <num: factor> - set filtering factor<br>out - set the ouput object<br> |
− | | inlets=0 - input signal<br> | + | | inlets=0 <fmat|fvec: vector> - input signal<br> |
− | | outlets=0 - ouput preemphasised signal<br>1 - previous | + | | outlets=0 <fmat: vector> - ouput preemphasised signal<br>1 <fmat: vector> - previous frame<br> |
}} | }} | ||
{{Module | | {{Module | | ||
| name=gbr.psy~ | | name=gbr.psy~ | ||
− | | brief= | + | | brief=pysch synchronous (YIN-based) signal slicing |
− | | descr= | + | | descr=Cuts incoming signal into elementary waveforms.Outputs vectors corresponding to two periods of the estimated frequency or fixed duration (256 points) when unvoiced. |
| arguments=none | | arguments=none | ||
− | | attributes=enable - enable/disable calculation and output | + | | attributes=enable - enable/disable calculation and output<br> |
− | | messages=threshold <num: pitch | + | | messages=threshold <num: pitch> [<num: noise>] - set pitch and noise tresholds<br>enable - enable/disable calculation and output<br> |
| inlets=0 - input signal to be analysed and cut into elemetary waveforms<br> | | inlets=0 - input signal to be analysed and cut into elemetary waveforms<br> | ||
− | | outlets=0 - elementary waveforms (2 periods)<br>1 - | + | | outlets=0 <fmat: vector> - elementary waveforms (2 periods)<br>1 <num: freq in Hz> - estimated frequency (0, when unvoiced)<br>2 <num: freq in H> - normaised YIN periodicity factor<br>3 <num: factor> (linear) energy<br> |
}} | }} | ||
{{Module | | {{Module | | ||
| name=gbr.resample | | name=gbr.resample | ||
− | | brief= | + | | brief=resampling |
− | | descr= | + | | descr=Resamples incoming vector in different modes:'cubic' (cubic interpolation), 'downmean' (downsampling by calculating the mean of a given number of values), 'downremove' (picks nearest value) |
− | | arguments=0 - | + | | arguments=0 <num: order> - init resampling order/increment (1.)<br> |
− | | attributes= | + | | attributes=out <fmat: output> - set output vector<br>mode <'cubic'|'downmean'|'downremove': mode> - set resampling mode<br> |
− | | messages= | + | | messages=out <fmat: output> - set output vector<br>mode <'cubic'|'downmean'|'downremove': mode> - set resampling mode<br> |
− | | inlets=0 - | + | | inlets=0 <fmat: vector> - input vector<br>1 <num: order> - set resampling order/increment (1.)<br> |
− | | outlets=0 <fmat> - | + | | outlets=0 <fmat: vector> - output vector<br> |
}} | }} | ||
{{Module | | {{Module | | ||
| name=gbr.slice~ | | name=gbr.slice~ | ||
− | | brief= | + | | brief=signal slicing |
− | | descr= | + | | descr=Cuts incoming signal into frames of given size with given period (hop size). |
− | | arguments=0 <num: size> - | + | | arguments=0 <num: size> - init frame size<br>1 <num: size> - init hop size<br> |
− | | attributes=unit <'msec'|'sec'|'samp': unit> - set time unit to msecs, secs or samples (default)<br>enable <'on'|'off'|'yes'|'no'|1|0: switch> - enable/disable calculation and output<br> | + | | attributes=unit <'msec'|'sec'|'samp': unit> - set time unit to msecs, secs or samples (default)<br>enable <'on'|'off'|'yes'|'no'|1|0: |
− | | messages=set - set | + | ... switch> - enable/disable calculation and output<br>period <num: size> - set hop size<br>size <num: size> - set frame size<br> |
− | | inlets=0 - input signal to be sliced into frames | + | | messages=set <num: frame> <num: hop> - set frame and hop size<br>unit <'msec'|'sec'|'samp': unit> - set time unit to msecs, secs or samples (default)<br>enable <'on'|'off'|'yes&#\ |
− | | outlets=0 - | + | ... 039;|'no'|1|0: switch> - enable/disable calculation and output<br>period <num: size> - set hop size<br>size <num: size> - set frame size<br> |
+ | | inlets=0 - input signal to be sliced into frames<br> | ||
+ | | outlets=0 <fmat: vector> - signal frames<br>1 <undefined> - no description<br> | ||
}} | }} | ||
{{Module | | {{Module | | ||
| name=gbr.tapin~ | | name=gbr.tapin~ | ||
− | | brief=write delay line | + | | brief=input tap for write delay line |
− | | descr=Simple input tap for write delay line | + | | descr=Simple input tap for write delay line defined by gbr.dline~. |
− | | arguments=0 - delay line ( | + | | arguments=0 <delayline: write> - init delay line (defined by gbr.drain~)<br>1 <num: delay> - delay time (in given unit)<br> |
− | | attributes=unit <'msec'|'sec'|'samp': unit> - set | + | | attributes=unit <'msec'|'sec'|'samp': unit> - set delay unit to msecs, secs or samples<br> |
− | | messages=set - set delay line<br>unit <'msec'|'sec'|'samp': unit> - set | + | | messages=set <delayline: write> - set delay line (defined by gbr.drain~)<br>unit <'msec'|'sec'|'samp': unit> - set delay unit to msecs, secs or samples<br> |
| inlets=0 - input signal written to delay line<br>1 - set delay time<br> | | inlets=0 - input signal written to delay line<br>1 - set delay time<br> | ||
| outlets=0 - zero output (for order-forcing)<br> | | outlets=0 - zero output (for order-forcing)<br> | ||
Line 300: | Line 389: | ||
{{Module | | {{Module | | ||
| name=gbr.tapout~ | | name=gbr.tapout~ | ||
− | | brief= | + | | brief=output tap for read delay line |
− | | descr=Simple | + | | descr=Simple output tap for read delay line defined by gbr.drain~. |
− | | arguments=0 - delay line ( | + | | arguments=0 <delayline: read> - init delay line (defined by gbr.dline~)<br>1 - delay time (in msec)<br> |
− | | attributes=unit <'msec'|'sec'|'samp': unit> - set | + | | attributes=unit <'msec'|'sec'|'samp': unit> - set delay unit to msecs, secs or samples<br>interp - 0|1|'off'|'on|'cubic'|'linear': |
− | | messages=set - set delay line<br>unit <'msec'|'sec'|'samp': unit> - set | + | ... mode> - interpolation mode<br> |
− | | inlets=0 - | + | | messages=set <delayline: read> - set delay line (defined by gbr.dline~)<br>unit <'msec'|'sec'|'samp': unit> - set delay unit to msecs, secs or samples<br>interp - 0|1|'off'|'on|&\ |
+ | ... #039;cubic'|'linear': mode> - interpolation mode<br> | ||
+ | | inlets=0 - (order-forcing input)<br>1 <sig|num: delay> - delay time<br> | ||
| outlets=0 - delayed signal<br> | | outlets=0 - delayed signal<br> | ||
}} | }} | ||
Line 312: | Line 403: | ||
| name=gbr.timer~ | | name=gbr.timer~ | ||
| brief=gabor timer | | brief=gabor timer | ||
− | | descr=stop watch | + | | descr=stop watch in Gabor scheduling scheme |
| arguments=none | | arguments=none | ||
− | | attributes= | + | | attributes=unit <'msec'|'sec'|'samp'|'hz'|: unit> - set timer unit to msecs, secs, samples or Hz<br> |
− | | messages=bang - | + | | messages=bang - report time since last bang<br>unit <'msec'|'sec'|'samp'|'hz'|: unit> - set timer unit to msecs, secs, samples or Hz<br> |
| inlets=0 - messages only<br> | | inlets=0 - messages only<br> | ||
− | | outlets=0 - | + | | outlets=0 <num: time> - time in given unit<br> |
}} | }} | ||
{{Module | | {{Module | | ||
| name=gbr.trace | | name=gbr.trace | ||
+ | | brief=(to be documented) | ||
+ | | descr=(to be documented) | ||
+ | | arguments=0 <num: max> - init maximum number of peaks<br> | ||
+ | | attributes=maxpasses - (to be documented)<br>absamp - (to be documented)<br>absfreq - (to be documented)<br>relfreq - (to be documented)<br>max - (to be documented)<br> | ||
+ | | messages=clear - (to be documented)<br>maxpasses - (to be documented)<br>absamp - (to be documented)<br>absfreq - (to be documented)<br>relfreq - (to be documented)<br>max - (to be documented)<br> | ||
+ | | inlets=0 <fmat: partials> - vector of partials<br> | ||
+ | | outlets=0 <fmat: partials> - vector of traced partials (with index)<br> | ||
+ | }} | ||
+ | |||
+ | {{Module | | ||
+ | | name=gbr.unwrap | ||
| brief= | | brief= | ||
| descr= | | descr= | ||
− | | arguments=0 - | + | | arguments=0 - init range<br> |
− | | attributes= | + | | attributes=none |
− | | messages= | + | | messages=range - set unwrap range<br> |
| inlets=0 - messages only<br> | | inlets=0 - messages only<br> | ||
| outlets=0 - undefined<br> | | outlets=0 - undefined<br> | ||
Line 334: | Line 436: | ||
| name=gbr.wind= | | name=gbr.wind= | ||
| brief=apply a window to an incoming frame, grain or wave | | brief=apply a window to an incoming frame, grain or wave | ||
− | | descr=Applies a chosen (and parametrized) window to the incomming fmat (column by column).The user can chose among various window types | + | | descr=Applies a chosen (and parametrized) window to the incomming fmat (column by column).The user can chose among various window types (see help patch). |
− | | arguments=init window | + | | arguments=<sym: function> [<any: parameters> ...] - init window function and parameters<br> |
| attributes=none | | attributes=none | ||
− | | messages=set - set window | + | | messages=set <sym: function> [<any: parameters> ...] - set window function and parameters<br> |
− | | inlets=0 - vector | + | | inlets=0 <fmat|fvec: vector> - input vector to be windowed<br>1 [<any: parameters> ...] - set window parameters<br> |
− | | outlets=0 - | + | | outlets=0 <fmat|fvec: vector> - output incoming vector with applied window<br> |
}} | }} | ||
Line 346: | Line 448: | ||
| brief= | | brief= | ||
| descr= | | descr= | ||
− | | arguments=0 - minimum frequency (lowest analysed frequency)<br>1 - YIN threshold (default 0. | + | | arguments=0 - minimum frequency (lowest analysed frequency) (default 50.)<br>1 - YIN threshold (default 0.68)<br> |
− | | attributes=threshold - YIN threshold ( | + | | attributes=specnyq <num: ny> - input vector maximum frequency (22050.), which is sr/2.<br>sr <num: sr> - input vector sample rate (44100.)<br>threshold <num: threshold> - YIN threshold (0.68)<br>minfreq <num: min freq in Hz> - minimum |
− | | messages=threshold - YIN threshold ( | + | ... frequency in Hz (lowest analysed frequency) (50.)<br> |
+ | | messages=specnyq <num: ny> - input vector maximum frequency (22050.), which is sr/2.<br>sr <num: sr> - input vector sample rate (44100.)<br>threshold <num: threshold> - YIN threshold (0.68)<br>minfreq <num: min freq in Hz> - minimum | ||
+ | ... frequency in Hz (lowest analysed frequency) (50.)<br> | ||
| inlets=0 - signal frame (fmat or fvec<br> | | inlets=0 - signal frame (fmat or fvec<br> | ||
− | | outlets=0 - frequency | + | | outlets=0 <num: freq in Hz> - estimated frequency<br>1 <num: energy> - energy factor<br>2 <num: perodicity> - periodicity factor<br>3 <num: ac1> - 2nd autocorrelation coefficient (ac1)<br>4 <fmat: acf> - vector of autocorrelation |
+ | ... coefficients<br> | ||
}} | }} |
Revision as of 13:32, 2 March 2008
Reference under construction...
ftm.copy | ' | |||||||||||
|
ftm.iter | ' | |||||||||||
|
ftm.mess | ' | |||||||||||
|
ftm.object | ' | |||||||||||
|
ftm.print | print to the console | |||||||||||
Prints any input (single values, lists, messages) to the console.
Evokes print method of FTM objects when incoming as single value. | ||||||||||||
|
gbr.addenv | additive synthesis: generate partials with a given envelope | |||||||||||
Adds partials with a spectral envolope (given as a vector or list) to an incoming spectrum using the FFT-1 technique.The output is typically connected to gbr.ifft (in real mode) or another gbr.addenv or gbr.addpartials module. | ||||||||||||
|
gbr.addpartials | additive synthesis: generate partials with given frequencies and amplitudes | |||||||||||
Adds partials (given as a vector or list) to an incoming spectrum using the FFT-1 technique.The output is typically connected to gbr.ifft (in real mode) or another gbr.addpartials or gbr.addenv module. Frequencies and amplitudes ... can be given by separated vectors with separated inputs (input format 'vec') or as a single matrix to the first inlet.The input format (attribute @format) determines the interpretation of the columns of the incoming matrix: 'fa' ... requires 2 columns with frequencies and amplitudes, 'ifa' requires 3 columns with partial indices, frequencies and amplitudes. | ||||||||||||
|
gbr.autox | auto correlation and similar | |||||||||||
Calculates autocorrelation, distance, quadratic distance, sum magnitude difference function and accumulated difference function (yin). | ||||||||||||
|
gbr.bands | calulate frequency bands on an incoming spectrum (or similar domain) | |||||||||||
Sums regions of the incoming vector to bands in different schemes:sum of values between given bounds or classical HTK or FC mel coefficients.Its input is typically connected to gbr.fft (in real mode). | ||||||||||||
|
gbr.bq | constant Q | |||||||||||
Calculates a constant Q transform on an incoming spectrum [J.Brown, M.Puckette 1992].Its input is typically connected to gbr.fft (in real mode). | ||||||||||||
|
gbr.copy | copy vector (fmat) out of a delay line or an fmat or fvec) | |||||||||||
Copies a grain (fmat vector) of a given duration out of a delay line at a given delay time and outputs an fmat reference.If the given delay time is less than the the duration the vector will be shortened | ||||||||||||
|
gbr.crossx | cross correlation and similar | |||||||||||
Calculates correlation, distance, quadratic distance and sum magnitude difference function. | ||||||||||||
|
gbr.dct | discrete cosine transform | |||||||||||
Calculates a DCT of the incoming vector. | ||||||||||||
|
gbr.dline~ | classical delay line | |||||||||||
Delay line to be used with gbr.copy and gbr.tapout~. | ||||||||||||
|
gbr.drain~ | forward delay line | |||||||||||
Delay line to write with different delays to be used with gbr.paste and gbr.tapin~. | ||||||||||||
|
gbr.fft | fast Fourier transform | |||||||||||
Calculates FFT on incoming vector. | ||||||||||||
|
gbr.fire~ | Gabor timing impulse generator | |||||||||||
Periodically outputs a given fmat or a bang within the Gabor scheduling scheme. | ||||||||||||
|
gbr.gen= | generate waveform/function | |||||||||||
Adds a given (and parametrised) waveform/function to an incomming vector.The user can chose among various waveforms/functions | ||||||||||||
|
gbr.harms | estimate harmonics from a given spectrum (or any other vector) | |||||||||||
Estimates frequencies (interpolated and scaled indices) and amplitudes of harmonics in an incoming vector.Harmonics are defined as peaks around the multiple of a given value (fundamental frequency) with a given tolerance.The
... estimation of harmonics in a spectrum works best when a logarthimic amplitude spectrum is provided as input. | ||||||||||||
|
gbr.ifft | inverse fast Fourier transform | |||||||||||
Calculates inverse FFT on incoming vector. | ||||||||||||
|
gbr.lifter | (to be documented) | |||||||||||
(to be documented) | ||||||||||||
|
gbr.lpc | linear prediction coefficients | |||||||||||
Calculates LPC coefficients from incoming sinal frame. | ||||||||||||
|
gbr.mask | partial masking using critical band width | |||||||||||
Calculates and applies masking to incoming vector of partials.The input format (attribute @format) determines the interpretation of the columns of the incoming matrix: 'fa' requires 2 columns with frequencies and amplitudes,
... 'ifa' requires 3 columns with partial indices, frequencies and amplitudes. | ||||||||||||
|
gbr.morph | (to be documented) | |||||||||||
(to be documented) | ||||||||||||
|
gbr.ola~ | overlap-add | |||||||||||
Performs the overlap-add of incoming vectors into a forward delayline.The vector will be shortened at the end of the delayline. | ||||||||||||
|
gbr.paste | paste a grain (fmat or fvec) into a drain | |||||||||||
Copies a vector into a drain with a given delay.The vector will be shortened at the end of the drain. | ||||||||||||
|
gbr.peaks | estimate peaks (partials) from a given spectrum (or any other vector) | |||||||||||
Estimates frequencies (interpolated and scaled indices) and amplitudes of peaks in an incoming vector.The estimation of partials in a spectrum works best when a logarthimic amplitude spectrum is provided as input. | ||||||||||||
|
gbr.preemphasis | (to be documented) | |||||||||||
(to be documented) | ||||||||||||
|
gbr.psy~ | pysch synchronous (YIN-based) signal slicing | |||||||||||
Cuts incoming signal into elementary waveforms.Outputs vectors corresponding to two periods of the estimated frequency or fixed duration (256 points) when unvoiced. | ||||||||||||
|
gbr.resample | resampling | |||||||||||
Resamples incoming vector in different modes:'cubic' (cubic interpolation), 'downmean' (downsampling by calculating the mean of a given number of values), 'downremove' (picks nearest value) | ||||||||||||
|
gbr.slice~ | signal slicing | |||||||||||
Cuts incoming signal into frames of given size with given period (hop size). | ||||||||||||
|
gbr.tapin~ | input tap for write delay line | |||||||||||
Simple input tap for write delay line defined by gbr.dline~. | ||||||||||||
|
gbr.tapout~ | output tap for read delay line | |||||||||||
Simple output tap for read delay line defined by gbr.drain~. | ||||||||||||
|
gbr.timer~ | gabor timer | |||||||||||
stop watch in Gabor scheduling scheme | ||||||||||||
|
gbr.trace | (to be documented) | |||||||||||
(to be documented) | ||||||||||||
|
gbr.unwrap | ' | |||||||||||
|
gbr.wind= | apply a window to an incoming frame, grain or wave | |||||||||||
Applies a chosen (and parametrized) window to the incomming fmat (column by column).The user can chose among various window types (see help patch). | ||||||||||||
|
gbr.yin | ' | |||||||||||
|