From ftm
(8 intermediate revisions by the same user not shown) | |||
Line 22: | Line 22: | ||
* gbr.peaks ... Estimate peaks (partials) from a given spectrum (or any other vector) | * gbr.peaks ... Estimate peaks (partials) from a given spectrum (or any other vector) | ||
* gbr.preemphasis ... Simple first order difference filter | * gbr.preemphasis ... Simple first order difference filter | ||
− | * gbr.psy~ ... | + | * gbr.psy~ ... Pitch synchronous (YIN-based) signal slicing |
* gbr.resample ... Resampling | * gbr.resample ... Resampling | ||
+ | * gbr.schedule~ ... Delay/scheduler respecting Gabor timing | ||
* gbr.slice~ ... Signal slicing | * gbr.slice~ ... Signal slicing | ||
* gbr.tapin~ ... Input tap for write delay line | * gbr.tapin~ ... Input tap for write delay line | ||
Line 30: | Line 31: | ||
* gbr.trace ... Trace and index peaks | * gbr.trace ... Trace and index peaks | ||
* gbr.wind= ... Apply a window to an incoming frame, grain or wave | * gbr.wind= ... Apply a window to an incoming frame, grain or wave | ||
− | * gbr.yin ... | + | * gbr.yin ... Fundamental frequency estimation after de Cheveigne and Kawahara |
Line 41: | Line 42: | ||
| messages=postdoc - post external doc to console<br> | | messages=postdoc - post external doc to console<br> | ||
| inlets=1 <fmat: spectrum> - complex vector (only positive frequencies) to which to add the generated partials<br>2 <num|fmat|fvec|list: freq(s)> - fundamental frequency (num: for harmonics) or vector of partials frequencies<br>3 <num|fmat|fvec|list: spectral envelope> - spectral envelope (given values will be linearly interpolated)<br>4 <num|fmat|fvec|list: phase(s)> - phase (num: for all partials) or vector of phases for the given partials<br> | | inlets=1 <fmat: spectrum> - complex vector (only positive frequencies) to which to add the generated partials<br>2 <num|fmat|fvec|list: freq(s)> - fundamental frequency (num: for harmonics) or vector of partials frequencies<br>3 <num|fmat|fvec|list: spectral envelope> - spectral envelope (given values will be linearly interpolated)<br>4 <num|fmat|fvec|list: phase(s)> - phase (num: for all partials) or vector of phases for the given partials<br> | ||
− | | outlets=1 <fmat> - | + | | outlets=1 <fmat: spectrum> - output spectrum with added partials<br> |
}} | }} | ||
Line 52: | Line 53: | ||
| messages=postdoc - post external doc to console<br> | | messages=postdoc - post external doc to console<br> | ||
| inlets=1 <fmat: spectrum> - complex vector (only positive frequencies) to which to add the generated partials<br>2 <num|fmat|fvec|list: freq(s)> - set fundamental frequency (num: for harmonics) or vector of partials frequencies<br>3 <num|fmat|fvec|list: amp(s)> - set amplitude (num: for harmonics) or vector of partials amplitudes<br>4 <num|fmat|fvec|list: phase(s)> - set phase (num: for all partials) or vector of phases for the given partials<br> | | inlets=1 <fmat: spectrum> - complex vector (only positive frequencies) to which to add the generated partials<br>2 <num|fmat|fvec|list: freq(s)> - set fundamental frequency (num: for harmonics) or vector of partials frequencies<br>3 <num|fmat|fvec|list: amp(s)> - set amplitude (num: for harmonics) or vector of partials amplitudes<br>4 <num|fmat|fvec|list: phase(s)> - set phase (num: for all partials) or vector of phases for the given partials<br> | ||
− | | outlets=1 <fmat> - | + | | outlets=1 <fmat: spectrum> - output spectrum with added partials<br> |
}} | }} | ||
Line 70: | Line 71: | ||
| brief=FFT filter bands | | brief=FFT filter bands | ||
| descr=Calculate filter bands from FFT spectrum. | | descr=Calculate filter bands from FFT spectrum. | ||
− | | arguments=init input spectrum size and output bands | + | | arguments=<num: min> <num: max> | <num: insize> <num: outsize> - init bands boundaries or input spectrum size and number of output bands<br> |
− | | attributes=bands - set the bands | + | | attributes=bands <'bounds'|'mel'|'htkmel'|'fcmel': mode> - set the bands mode [bounds]<br>minfreq <num: min> - set the output minimum frequency in hz<br>maxfreq <num: max> - set the output maximum frequency in hz<br>scale <num: scale> - set the bands filter scale<br>integ <'sqrabs'|'abs': spec> - set the spectrum integration type [sqrabs]<br>domain <num: domain> - set domain of output bands (<= 0 sets to sr/2)<br>domscale <num: factor> - set scaling factor of output bands (overwrites domain and down) [1]<br>down <num: down> - set down sampling factor of incoming frames (overwrites domain and domscale)<br>out <fmat: out> - set output matrix<br> |
− | | messages=postdoc - post external doc to console<br>insize - set the input spectrum size<br>outsize - set the number of output bands<br>bounds - set band boundaries<br>getstate - get the internal weights matrix<br> | + | | messages=postdoc - post external doc to console<br>insize <num: insize> - set the input spectrum size<br>outsize <num: outsize> - set the number of output bands<br>bounds <list: boundaries> - set band boundaries<br>getstate - get the internal weights matrix<br> |
− | | inlets=1 - input spectrum<br> | + | | inlets=1 <fmat|fvec: input> - input spectrum<br> |
− | | outlets=1 - output bands<br>2 - internal weights matrix<br> | + | | outlets=1 <fmat: output> - output bands<br>2 <fmat: weights> - internal weights matrix<br> |
}} | }} | ||
Line 126: | Line 127: | ||
| descr=Delay line to be used with gbr.copy and gbr.tapout~. | | descr=Delay line to be used with gbr.copy and gbr.tapout~. | ||
| arguments=<sym: name> <num: size in given unit> - give name and size [none 100]<br> | | arguments=<sym: name> <num: size in given unit> - give name and size [none 100]<br> | ||
− | | attributes=scope <'local'|'global'> - set delayline name scope ['global']<br>unit <'msec'|'sec'|'samp': unit> - set time unit to msecs, secs or samples ['msec']<br> | + | | attributes=scope <'local'|'global': scope> - set delayline name scope ['global']<br>unit <'msec'|'sec'|'samp': unit> - set time unit to msecs, secs or samples ['msec']<br> |
| messages=postdoc - post external doc to console<br>clear - zero delay line<br>freeze <'0'|'1': freeze>] - enable/disable delay line freeze<br> | | messages=postdoc - post external doc to console<br>clear - zero delay line<br>freeze <'0'|'1': freeze>] - enable/disable delay line freeze<br> | ||
| inlets=1 - write signal into delay line<br> | | inlets=1 - write signal into delay line<br> | ||
Line 137: | Line 138: | ||
| descr=Delay line to write with different delays to be used with gbr.paste and gbr.tapin~. | | descr=Delay line to write with different delays to be used with gbr.paste and gbr.tapin~. | ||
| arguments=<sym: name> <num: size in given unit> - give name and size [none 100]<br> | | arguments=<sym: name> <num: size in given unit> - give name and size [none 100]<br> | ||
− | | attributes=scope <'local'|'global'> - set delayline name scope ['global']<br>unit <'msec'|'sec'|'samp': unit> - set time unit to msecs, secs or samples ['msec']<br> | + | | attributes=scope <'local'|'global': scope> - set delayline name scope ['global']<br>unit <'msec'|'sec'|'samp': unit> - set time unit to msecs, secs or samples ['msec']<br> |
| messages=postdoc - post external doc to console<br>clear - clear delay line<br> | | messages=postdoc - post external doc to console<br>clear - clear delay line<br> | ||
− | | inlets=1 - | + | | inlets=1 - messages only<br> |
| outlets=1 - sum delay line output<br> | | outlets=1 - sum delay line output<br> | ||
}} | }} | ||
Line 169: | Line 170: | ||
| brief=Generate waveform/function | | brief=Generate waveform/function | ||
| descr=Adds a given (and parametrised) waveform/function to an incomming vector. The user can chose among various waveforms/functions | | descr=Adds a given (and parametrised) waveform/function to an incomming vector. The user can chose among various waveforms/functions | ||
− | | arguments=<'cosine'|'sine': function> | + | | arguments=<'cosine'|'sine': function> <list: parameters> - generator function and parameters ['cosine']<br> |
| attributes=none | | attributes=none | ||
− | | messages=postdoc - post external doc to console<br>set <'cosine'|'sine': function> | + | | messages=postdoc - post external doc to console<br>set <'cosine'|'sine': function> <list: parameters> - set generator function and parameters<br> |
− | | inlets=1 <fmat|fvec: vector> - input vector to which the waveform/function will be added<br>2 | + | | inlets=1 <fmat|fvec: vector> - input vector to which the waveform/function will be added<br>2 <list: parameters> - set generator parameters<br> |
| outlets=1 <fmat|fvec: vector> - output incoming vector with added waveform/function<br> | | outlets=1 <fmat|fvec: vector> - output incoming vector with added waveform/function<br> | ||
}} | }} | ||
Line 203: | Line 204: | ||
| descr=Cepstral liftering (HTK and Auditory Toolbox styles) | | descr=Cepstral liftering (HTK and Auditory Toolbox styles) | ||
| arguments=1 <num: size> - size of input vector [13]<br>2 <num: factor> - filtering factor [0]<br> | | arguments=1 <num: size> - size of input vector [13]<br>2 <num: factor> - filtering factor [0]<br> | ||
− | | attributes=inv < | + | | attributes=inv <bool: switch> - enable/disable the inverse liftering mode [0]<br>mode <'exp'|'sin': mode> - set liftering type: exponential (Auditory Toolbox-like) or sinusoidal (HTK-like) ['exp']<br>out <fmat: output> - set output vector<br> |
| messages=postdoc - post external doc to console<br>insize <num: size> - size of input vector<br>factor <num: factor> - set filtering factor<br>getstate - get internal weights matrix<br> | | messages=postdoc - post external doc to console<br>insize <num: size> - size of input vector<br>factor <num: factor> - set filtering factor<br>getstate - get internal weights matrix<br> | ||
| inlets=1 <fmat|fvec: vector> - cepstrum vector<br> | | inlets=1 <fmat|fvec: vector> - cepstrum vector<br> | ||
Line 214: | Line 215: | ||
| descr=Calculates LPC coefficients from incoming sinal frame. | | descr=Calculates LPC coefficients from incoming sinal frame. | ||
| arguments=1 <num: order> - LPC order [12]<br> | | arguments=1 <num: order> - LPC order [12]<br> | ||
− | | attributes=errasfloat < | + | | attributes=errasfloat <bool: switch> - enable/disable float number output [off]<br>out <fmat: output> - set output vector<br> |
| messages=postdoc - post external doc to console<br>order <num: order> - set LPC order<br> | | messages=postdoc - post external doc to console<br>order <num: order> - set LPC order<br> | ||
| inlets=1 <fmat|fvec: vector> - input vector<br> | | inlets=1 <fmat|fvec: vector> - input vector<br> | ||
Line 260: | Line 261: | ||
| attributes=interp <bool: switch> - enable/disable interpolation ['off']<br>unit <'msec'|'sec'|'samp': unit> - set time unit to msecs, secs or samples ['msec']<br> | | attributes=interp <bool: switch> - enable/disable interpolation ['off']<br>unit <'msec'|'sec'|'samp': unit> - set time unit to msecs, secs or samples ['msec']<br> | ||
| messages=postdoc - post external doc to console<br>set <delayline|fmat|fvec: destination> - set destination (write delay line, fmat or fvec)<br> | | messages=postdoc - post external doc to console<br>set <delayline|fmat|fvec: destination> - set destination (write delay line, fmat or fvec)<br> | ||
− | | inlets=1 <fmat|fvec: vector> - paste vector at given delay position<br>2 - set delay position<br> | + | | inlets=1 <fmat|fvec: vector> - paste vector at given delay position<br>2 <num: delay> - set delay position<br> |
| outlets=none | | outlets=none | ||
}} | }} | ||
Line 280: | Line 281: | ||
| descr=Simple first order difference filter | | descr=Simple first order difference filter | ||
| arguments=1 <num: factor> - filtering factor [0]<br> | | arguments=1 <num: factor> - filtering factor [0]<br> | ||
− | | attributes=out - set output | + | | attributes=out <fmat: out> - set output vector<br> |
| messages=postdoc - post external doc to console<br>factor <num: factor> - set filtering factor<br>getstate - get the previous sample<br>clear - clear any previous sample<br> | | messages=postdoc - post external doc to console<br>factor <num: factor> - set filtering factor<br>getstate - get the previous sample<br>clear - clear any previous sample<br> | ||
| inlets=1 <fmat|fvec: vector> - input signal<br> | | inlets=1 <fmat|fvec: vector> - input signal<br> | ||
Line 306: | Line 307: | ||
| inlets=1 <fmat: vector> - input vector<br>2 <num: order> - set resampling order/increment<br> | | inlets=1 <fmat: vector> - input vector<br>2 <num: order> - set resampling order/increment<br> | ||
| outlets=1 <fmat: vector> - output vector<br> | | outlets=1 <fmat: vector> - output vector<br> | ||
+ | }} | ||
+ | |||
+ | {{Module | | ||
+ | | name=gbr.schedule~ | ||
+ | | brief=Delay/scheduler respecting Gabor timing | ||
+ | | descr=Schedules matrices or bangs with given delay time. | ||
+ | | arguments=<num: delay> - delay time [0]<br> | ||
+ | | attributes=unit <'msec'|'sec'|'samp'|'hz'|'midi'|'midicent': unit> - set delay unit to msec, samples, etc ['msec']<br>delay <num: delay> - set delay [0]<br>out <fmat: out> - set output fmat<br> | ||
+ | | messages=postdoc - post external doc to console<br>bang - input bang<br>stop - stop scheduled events<br> | ||
+ | | inlets=1 <fmat: vector> - delay fmat<br>2 <num: delay> - set delay<br> | ||
+ | | outlets=1 - output fmat or bang<br> | ||
}} | }} | ||
Line 327: | Line 339: | ||
| messages=postdoc - post external doc to console<br>set <delayline: write> - set delay line (defined by gbr.drain~)<br> | | messages=postdoc - post external doc to console<br>set <delayline: write> - set delay line (defined by gbr.drain~)<br> | ||
| inlets=1 - input signal written to delay line<br>2 - set delay time<br> | | inlets=1 - input signal written to delay line<br>2 - set delay time<br> | ||
− | | outlets=1 - | + | | outlets=1 - signal outputundefined |
}} | }} | ||
Line 337: | Line 349: | ||
| attributes=interp - 0|1|'off'|'on|'cubic'|'linear': mode> - interpolation mode ['off']<br>unit <'msec'|'sec'|'samp': unit> - set delay unit to msecs, secs or samples ['msec']<br> | | attributes=interp - 0|1|'off'|'on|'cubic'|'linear': mode> - interpolation mode ['off']<br>unit <'msec'|'sec'|'samp': unit> - set delay unit to msecs, secs or samples ['msec']<br> | ||
| messages=postdoc - post external doc to console<br>set <delayline: read> - set delay line (defined by gbr.dline~)<br> | | messages=postdoc - post external doc to console<br>set <delayline: read> - set delay line (defined by gbr.dline~)<br> | ||
− | | inlets=1 - | + | | inlets=1 - messages only<br>2 <sig|num: delay> - delay time<br> |
| outlets=1 - delayed signal<br> | | outlets=1 - delayed signal<br> | ||
}} | }} | ||
Line 357: | Line 369: | ||
| descr=Trace peaks from frame to frame to associate indexes to the peaks | | descr=Trace peaks from frame to frame to associate indexes to the peaks | ||
| arguments=1 <num: max> - maximum number of peaks [200]<br> | | arguments=1 <num: max> - maximum number of peaks [200]<br> | ||
− | | attributes=max <num: maximum number of partials [200] | + | | attributes=max <num: max> - maximum number of partials [200]<br>relfreq <num: var> - allowed relative frequency variation for a peak to keep its index in cent > 0. (default: 20.)<br>absfreq <num: var> - allowed frequency variation for a peak to keep its index in Hz > 0. (default: 50.)<br>absamp <num: var> - allowed linear amplitude variation for a peak to keep its index > 0. (default: 0.5)<br>maxpasses <num: max> - maximum number of connection passes for the algorithm (default 4)<br> |
| messages=postdoc - post external doc to console<br>clear - reset (indexes start from 0, drops previous peaks set)<br> | | messages=postdoc - post external doc to console<br>clear - reset (indexes start from 0, drops previous peaks set)<br> | ||
| inlets=1 <fmat: partials> - vector of partials<br> | | inlets=1 <fmat: partials> - vector of partials<br> | ||
Line 367: | Line 379: | ||
| 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 (see help patch). | | 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=<sym: function> | + | | arguments=<sym: function> <list: parameters> - window function and parameters ['hann']<br> |
| attributes=none | | attributes=none | ||
− | | messages=postdoc - post external doc to console<br>set <sym: function> | + | | messages=postdoc - post external doc to console<br>set <sym: function> <list: parameters> - set window function and parameters<br> |
− | | inlets=1 <fmat|fvec: vector> - input vector to be windowed<br>2 | + | | inlets=1 <fmat|fvec: vector> - input vector to be windowed<br>2 <list: parameters> - set window parameters<br> |
| outlets=1 <fmat|fvec: vector> - output incoming vector with applied window<br> | | outlets=1 <fmat|fvec: vector> - output incoming vector with applied window<br> | ||
}} | }} | ||
Line 376: | Line 388: | ||
{{Module | | {{Module | | ||
| name=gbr.yin | | name=gbr.yin | ||
− | | brief= | + | | brief=Fundamental frequency estimation after de Cheveigne and Kawahara |
| descr=Estimates fundamental frequency and outputs energy, periodicity factor, and auto correlation coefficients. | | descr=Estimates fundamental frequency and outputs energy, periodicity factor, and auto correlation coefficients. | ||
| arguments=1 <num: min freq> - lowest estimated frequency in Hz [50.]<br>2 - quality/periodicity threshold [0.68]<br> | | arguments=1 <num: min freq> - lowest estimated frequency in Hz [50.]<br>2 - quality/periodicity threshold [0.68]<br> |
Latest revision as of 23:21, 3 May 2009
- gbr.addenv ... Additive synthesis: generate partials with a given envelope
- gbr.addpartials ... Additive synthesis: generate partials with given frequencies and amplitudes
- gbr.autox ... Auto correlation and similar
- gbr.bands ... FFT filter bands
- gbr.bq ... Constant Q
- gbr.copy ... Copy vector (fmat) out of a delay line or an fmat or fvec
- gbr.crossx ... Cross correlation and similar
- gbr.dct ... Discrete cosine transform
- gbr.dline~ ... Classical delay line
- gbr.drain~ ... Forward delay line
- gbr.fft ... Fast Fourier transform
- gbr.fire~ ... Gabor timing impulse generator
- gbr.gen= ... Generate waveform/function
- gbr.harms ... Estimate harmonics from a given spectrum (or any other vector)
- gbr.ifft ... Inverse fast Fourier transform
- gbr.lifter ... Cepstral liftering
- gbr.lpc ... Linear prediction coefficients
- gbr.mask ... Partial masking using critical band width
- gbr.morph ... Partials sets interpolation
- gbr.ola~ ... Overlap-add
- gbr.paste ... Paste a grain (fmat or fvec) into a drain
- gbr.peaks ... Estimate peaks (partials) from a given spectrum (or any other vector)
- gbr.preemphasis ... Simple first order difference filter
- gbr.psy~ ... Pitch synchronous (YIN-based) signal slicing
- gbr.resample ... Resampling
- gbr.schedule~ ... Delay/scheduler respecting Gabor timing
- gbr.slice~ ... Signal slicing
- gbr.tapin~ ... Input tap for write delay line
- gbr.tapout~ ... Output tap for read delay line
- gbr.timer~ ... Gabor timer
- gbr.trace ... Trace and index peaks
- gbr.wind= ... Apply a window to an incoming frame, grain or wave
- gbr.yin ... Fundamental frequency estimation after de Cheveigne and Kawahara
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 | FFT filter bands | |||||||||||
Calculate filter bands from FFT spectrum. | ||||||||||||
|
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 | Cepstral liftering | |||||||||||
Cepstral liftering (HTK and Auditory Toolbox styles) | ||||||||||||
|
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 | Partials sets interpolation | |||||||||||
Partials sets interpolation using indexes, frequencies and amplitudes | ||||||||||||
|
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 (positive frequencies) is provided as input. | ||||||||||||
|
gbr.preemphasis | Simple first order difference filter | |||||||||||
Simple first order difference filter | ||||||||||||
|
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.schedule~ | Delay/scheduler respecting Gabor timing | |||||||||||
Schedules matrices or bangs with given delay time. | ||||||||||||
|
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 | Trace and index peaks | |||||||||||
Trace peaks from frame to frame to associate indexes to the peaks | ||||||||||||
|
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 | Fundamental frequency estimation after de Cheveigne and Kawahara | |||||||||||
Estimates fundamental frequency and outputs energy, periodicity factor, and auto correlation coefficients. | ||||||||||||
|