From ftm
Line 4: | Line 4: | ||
| name=gbr.addenv | | name=gbr.addenv | ||
| brief=Additive synthesis: generate partials with a given envelope | | 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. | + | | 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=1 <num: max> - maximum number of partials [64]<br> | | arguments=1 <num: max> - maximum number of partials [64]<br> | ||
| attributes=noisy <bool: switch> - enable/disbale noisiness ['off']<br>coefs <num: coefs> - set number of FFT-1 spectral bin coefficients [8]<br> | | attributes=noisy <bool: switch> - enable/disbale noisiness ['off']<br>coefs <num: coefs> - set number of FFT-1 spectral bin coefficients [8]<br> | ||
Line 15: | Line 15: | ||
| name=gbr.addpartials | | name=gbr.addpartials | ||
| brief=Additive synthesis: generate partials with given frequencies and amplitudes | | brief=Additive synthesis: generate partials with given frequencies and amplitudes | ||
− | | 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. | + | | 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=1 <num: max> - maximum number of partials [64]<br> | | arguments=1 <num: max> - maximum number of partials [64]<br> | ||
| attributes=format <'vec'|'fa'|'ifa': format> - set input matrix/vector format ['vec']<br>noisy <bool: switch> - enable/disbale noisiness ['off']<br>coefs <num: num> - set number of FFT-1 spectral bin coefficients [8]<br> | | attributes=format <'vec'|'fa'|'ifa': format> - set input matrix/vector format ['vec']<br>noisy <bool: switch> - enable/disbale noisiness ['off']<br>coefs <num: num> - set number of FFT-1 spectral bin coefficients [8]<br> | ||
Line 26: | Line 26: | ||
| name=gbr.autox | | name=gbr.autox | ||
| brief=Auto correlation and similar | | brief=Auto correlation and similar | ||
− | | descr=Calculates autocorrelation, distance, quadratic distance, sum magnitude difference function and accumulated difference function (yin). | + | | descr=Calculates autocorrelation, distance, quadratic distance, sum magnitude difference function and accumulated difference function (yin). |
| arguments=1 <num: size> - calculation size [256]<br>2 <num: width> - window width [256]<br> | | arguments=1 <num: size> - calculation size [256]<br>2 <num: width> - window width [256]<br> | ||
| attributes=out <fmat: output> - set output vector<br>mode <'corr'|'dist'|'dist2'|'smdf'|'yin': mode> - set calculation mode ['corr']<br>scale <num: factor> - set scaling factor [1]<br> | | attributes=out <fmat: output> - set output vector<br>mode <'corr'|'dist'|'dist2'|'smdf'|'yin': mode> - set calculation mode ['corr']<br>scale <num: factor> - set scaling factor [1]<br> | ||
Line 37: | Line 37: | ||
| name=gbr.bands | | name=gbr.bands | ||
| brief=Calulate frequency bands (or integrate bands of a similar domain) | | brief=Calulate frequency bands (or integrate bands of a similar domain) | ||
− | | 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). | + | | 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=[<num: boundaries> ...] | <num: input size> <num: output size> - input spectrum size and output bands number, or boundaries<br> | | arguments=[<num: boundaries> ...] | <num: input size> <num: output size> - input spectrum size and output bands number, or boundaries<br> | ||
| attributes=out <fmat: output> - set output vector<br>integ <'sqrabs'|'abs': type> - set spectrum integration type (amplitude or power spectrum) ['sqrabs']<br>scale <num: factor> - set bands filter scale [1]<br>maxfreq <num: max freq> - set output maximum frequency [sr /2]<br>minfreq <num: min freq> - set output minimum frequency [0]<br>mode <'bounds'|'mel'|'htkmel'|'fcmel': mode> - set bands mode ['bounds']<br>down <num: factor> - down sampling factor of incoming frames (overwrites domain) [1]<br>domain <num: domain> - set domain of incoming vector (<= 0 sets to sr/2) [input size]<br> | | attributes=out <fmat: output> - set output vector<br>integ <'sqrabs'|'abs': type> - set spectrum integration type (amplitude or power spectrum) ['sqrabs']<br>scale <num: factor> - set bands filter scale [1]<br>maxfreq <num: max freq> - set output maximum frequency [sr /2]<br>minfreq <num: min freq> - set output minimum frequency [0]<br>mode <'bounds'|'mel'|'htkmel'|'fcmel': mode> - set bands mode ['bounds']<br>down <num: factor> - down sampling factor of incoming frames (overwrites domain) [1]<br>domain <num: domain> - set domain of incoming vector (<= 0 sets to sr/2) [input size]<br> | ||
Line 48: | Line 48: | ||
| name=gbr.bq | | name=gbr.bq | ||
| brief=Constant Q | | brief=Constant Q | ||
− | | 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). | + | | 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=<num: FFT size> <num: min freq> <num: channels per octave> <num: threshold> <num: number of channels> - filter kernel parameters<br> | | arguments=<num: FFT size> <num: min freq> <num: channels per octave> <num: threshold> <num: number of channels> - filter kernel parameters<br> | ||
| attributes=channels <num: channels> - set number of channels to calculate [all]<br> | | attributes=channels <num: channels> - set number of channels to calculate [all]<br> | ||
Line 59: | Line 59: | ||
| 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=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 | + | | 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=1 <delayline|fmat|fvec: source> - source reference<br>2 <num: duration> - grain duration [100]<br> | | arguments=1 <delayline|fmat|fvec: source> - source reference<br>2 <num: duration> - grain duration [100]<br> | ||
| attributes=out <fmat: output> - set output vector<br>unit <'msec'|'sec'|'samp': unit> - set time unit to msecs, secs or samples ['msec']<br> | | attributes=out <fmat: output> - set output vector<br>unit <'msec'|'sec'|'samp': unit> - set time unit to msecs, secs or samples ['msec']<br> | ||
Line 70: | Line 70: | ||
| name=gbr.crossx | | name=gbr.crossx | ||
| brief=Cross correlation and similar | | brief=Cross correlation and similar | ||
− | | descr=Calculates correlation, distance, quadratic distance and sum magnitude difference function. | + | | descr=Calculates correlation, distance, quadratic distance and sum magnitude difference function. |
| arguments=1 <num: size> - calculation size [256]<br>2 <num: width> - window width [256]<br>3 <fmat|fvec: vector> - right operand<br> | | arguments=1 <num: size> - calculation size [256]<br>2 <num: width> - window width [256]<br>3 <fmat|fvec: vector> - right operand<br> | ||
| attributes=out <fmat: output> - set output vector<br>mode <'corr'|'dist'|'dist2'|'smdf': mode> - set calculation mode<br>scale <num: factor> - set scaling factor [1]<br> | | attributes=out <fmat: output> - set output vector<br>mode <'corr'|'dist'|'dist2'|'smdf': mode> - set calculation mode<br>scale <num: factor> - set scaling factor [1]<br> | ||
Line 81: | Line 81: | ||
| name=gbr.dct | | name=gbr.dct | ||
| brief=Discrete cosine transform | | brief=Discrete cosine transform | ||
− | | descr=Calculates a DCT of the incoming vector. | + | | descr=Calculates a DCT of the incoming vector. |
| arguments=1 <num: input size> - size of input vector [40]<br>2 <num: output size> - number of DCT coefficients to be calculated [13]<br> | | arguments=1 <num: input size> - size of input vector [40]<br>2 <num: output size> - number of DCT coefficients to be calculated [13]<br> | ||
| attributes=out <fmat: output> - set output vector<br>mode <'slaney'|'htk'|fc'> - set discrete cosine transform mode ['slaney']<br> | | attributes=out <fmat: output> - set output vector<br>mode <'slaney'|'htk'|fc'> - set discrete cosine transform mode ['slaney']<br> | ||
Line 92: | Line 92: | ||
| name=gbr.dline~ | | name=gbr.dline~ | ||
| brief=Classical delay line | | brief=Classical delay line | ||
− | | 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=unit <'msec'|'sec'|'samp': unit> - set time unit to msecs, secs or samples ['msec']<br>scope <'local'|'global'> - set delayline name scope ['global']<br> | | attributes=unit <'msec'|'sec'|'samp': unit> - set time unit to msecs, secs or samples ['msec']<br>scope <'local'|'global'> - set delayline name scope ['global']<br> | ||
Line 103: | Line 103: | ||
| name=gbr.drain~ | | name=gbr.drain~ | ||
| brief=Forward delay line | | brief=Forward delay line | ||
− | | 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=unit <'msec'|'sec'|'samp': unit> - set time unit to msecs, secs or samples ['msec']<br>scope <'local'|'global'> - set delayline name scope ['global']<br> | | attributes=unit <'msec'|'sec'|'samp': unit> - set time unit to msecs, secs or samples ['msec']<br>scope <'local'|'global'> - set delayline name scope ['global']<br> | ||
Line 114: | Line 114: | ||
| name=gbr.fft | | name=gbr.fft | ||
| brief=Fast Fourier transform | | brief=Fast Fourier transform | ||
− | | descr=Calculates FFT on incoming vector. | + | | descr=Calculates FFT on incoming vector. |
| arguments=1 <num: size> - FFT size (rounded to the next power of 2) [512]<br> | | arguments=1 <num: size> - FFT size (rounded to the next power of 2) [512]<br> | ||
| attributes=out <fmat: output> - set output vector<br>mode <'auto'|'complex'|'real': mode> - FFT mode ['auto']<br>scale <num: factor> - scaling factor (0 --> 1 / FFT size) [1]<br> | | attributes=out <fmat: output> - set output vector<br>mode <'auto'|'complex'|'real': mode> - FFT mode ['auto']<br>scale <num: factor> - scaling factor (0 --> 1 / FFT size) [1]<br> | ||
Line 125: | Line 125: | ||
| name=gbr.fire~ | | name=gbr.fire~ | ||
| brief=Gabor timing impulse generator | | brief=Gabor timing impulse generator | ||
− | | descr=Periodically outputs a given fmat or a bang within the Gabor scheduling scheme. | + | | descr=Periodically outputs a given fmat or a bang within the Gabor scheduling scheme. |
| arguments=<num: period> [<fmat: vector>] - frequency/period and fmat to fire [0]<br> | | arguments=<num: period> [<fmat: vector>] - frequency/period and fmat to fire [0]<br> | ||
| attributes=out <fmat: out> - set output fmat<br>var <num: freq var> - set period variation (0...1) [0]<br>period <num: period> - set frequency/period [0]<br>unit <'hz'|'msec'|'sec'|'samp'|'midi'|'midicent': unit> - set frequency/period unit to Hz, msec or samples ['hz']<br> | | attributes=out <fmat: out> - set output fmat<br>var <num: freq var> - set period variation (0...1) [0]<br>period <num: period> - set frequency/period [0]<br>unit <'hz'|'msec'|'sec'|'samp'|'midi'|'midicent': unit> - set frequency/period unit to Hz, msec or samples ['hz']<br> | ||
Line 136: | Line 136: | ||
| name=gbr.gen= | | name=gbr.gen= | ||
| 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> [<any: parameters> ...] - generator function and parameters ['cosine']<br> | | arguments=<'cosine'|'sine': function> [<any: parameters> ...] - generator function and parameters ['cosine']<br> | ||
| attributes=none | | attributes=none | ||
Line 147: | Line 147: | ||
| name=gbr.harms | | name=gbr.harms | ||
| brief=Estimate harmonics from a given spectrum (or any other vector) | | brief=Estimate harmonics from a given spectrum (or any other vector) | ||
− | | 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 estimation of harmonics in a spectrum works best when a logarthimic amplitude spectrum is provided as input. | + | | 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 estimation of harmonics in a spectrum works best when a logarthimic amplitude spectrum is provided as input. |
| arguments=1 <num: max harms> - maximum number of harmonics to be estimated [16]<br>2 <num: freq> - fundamental frequency in Hz [10]<br>3 <num: factor> - allowed deviation factor from theoretic harmonic frequency (linear factor of f0) [1.0]<br> | | arguments=1 <num: max harms> - maximum number of harmonics to be estimated [16]<br>2 <num: freq> - fundamental frequency in Hz [10]<br>3 <num: factor> - allowed deviation factor from theoretic harmonic frequency (linear factor of f0) [1.0]<br> | ||
| attributes=down <num: down> - set down sampling factor of incoming frames (overwrites domain and scale) [1]<br>scale <num: factor> - set scaling factor of harmonics (overwrites domain and down)<br>domain <num: domain> - set domain of output peaks (<= 0 sets to sr/2) [sr/2]<br> | | attributes=down <num: down> - set down sampling factor of incoming frames (overwrites domain and scale) [1]<br>scale <num: factor> - set scaling factor of harmonics (overwrites domain and down)<br>domain <num: domain> - set domain of output peaks (<= 0 sets to sr/2) [sr/2]<br> | ||
Line 158: | Line 158: | ||
| name=gbr.ifft | | name=gbr.ifft | ||
| brief=Inverse fast Fourier transform | | brief=Inverse fast Fourier transform | ||
− | | descr=Calculates inverse FFT on incoming vector. | + | | descr=Calculates inverse FFT on incoming vector. |
| arguments=1 <num: size> - FFT size (rounded to the next power of 2) [512]<br> | | arguments=1 <num: size> - FFT size (rounded to the next power of 2) [512]<br> | ||
| attributes=out <fmat: output> - set output vector<br>mode <'auto'|'complex'|'real': mode> - FFT mode ['auto']<br>scale <num: factor> - scaling factor (0 --> 1 / FFT size) [1]<br> | | attributes=out <fmat: output> - set output vector<br>mode <'auto'|'complex'|'real': mode> - FFT mode ['auto']<br>scale <num: factor> - scaling factor (0 --> 1 / FFT size) [1]<br> | ||
Line 191: | Line 191: | ||
| name=gbr.mask | | name=gbr.mask | ||
| brief=Partial masking using critical band width | | brief=Partial masking using critical band width | ||
− | | 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. | + | | 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=out <fmat: output> - set output vector<br>format - 'fa'|'ifa': input format> - set input matrix format ['fa']<br> | | attributes=out <fmat: output> - set output vector<br>format - 'fa'|'ifa': input format> - set input matrix format ['fa']<br> | ||
Line 213: | Line 213: | ||
| name=gbr.ola~ | | name=gbr.ola~ | ||
| brief=Overlap-add | | brief=Overlap-add | ||
− | | descr=Performs the overlap-add of incoming vectors into a forward delayline.The vector will be shortened at the end of the delayline. | + | | 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: channels> - number of output channels [1]<br>2 <num: size> - buffer size [100]<br>3 <num: delay> - delay position [0]<br>4 <num: channel> - output channel (0 switches off) [1]<br> | | arguments=1 <num: channels> - number of output channels [1]<br>2 <num: size> - buffer size [100]<br>3 <num: delay> - delay position [0]<br>4 <num: channel> - output channel (0 switches off) [1]<br> | ||
| attributes=unit <'msec'|'sec'|'samp': unit> - set time unit to msecs, secs or samples ['msec']<br>interp <bool: switch> - enable/disable interpolation ['off']<br> | | attributes=unit <'msec'|'sec'|'samp': unit> - set time unit to msecs, secs or samples ['msec']<br>interp <bool: switch> - enable/disable interpolation ['off']<br> | ||
Line 224: | Line 224: | ||
| 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=Copies a vector into a drain with a given delay.The vector will be shortened at the end of the drain. | + | | descr=Copies a vector into a drain with a given delay. The vector will be shortened at the end of the drain. |
| arguments=1 <delayline|fmat|fvec: destination> - destination (write delay line or fmat)<br>2 <num: delay> - delay position [0]<br> | | arguments=1 <delayline|fmat|fvec: destination> - destination (write delay line or fmat)<br>2 <num: delay> - delay position [0]<br> | ||
| attributes=unit <'msec'|'sec'|'samp': unit> - set time unit to msecs, secs or samples ['msec']<br>interp <bool: switch> - enable/disable interpolation ['off']<br> | | attributes=unit <'msec'|'sec'|'samp': unit> - set time unit to msecs, secs or samples ['msec']<br>interp <bool: switch> - enable/disable interpolation ['off']<br> | ||
Line 235: | Line 235: | ||
| name=gbr.peaks | | name=gbr.peaks | ||
| brief=Estimate peaks (partials) from a given spectrum (or any other vector) | | brief=Estimate peaks (partials) from a given spectrum (or any other vector) | ||
− | | 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 (positive frequencies) is provided as input. | + | | 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 (positive frequencies) is provided as input. |
| arguments=1 <num: max peaks> - maximum number of peaks to be estimated [16]<br> | | arguments=1 <num: max peaks> - maximum number of peaks to be estimated [16]<br> | ||
| attributes=range <min: boundary> <max: boundary> - band where to search for peaks<br>keep <'lowest'|'strongest': mode> - keep first or strongest peaks ['lowest']<br>down <num: down> - set down sampling factor of incoming frames (overwrites domain and scale) [1]<br>scale <num: factor> - set scaling factor of output peaks (overwrites domain and down)<br>domain <num: domain> - set domain of output peaks (<= 0 sets to sr/2) [sr/2]<br> | | attributes=range <min: boundary> <max: boundary> - band where to search for peaks<br>keep <'lowest'|'strongest': mode> - keep first or strongest peaks ['lowest']<br>down <num: down> - set down sampling factor of incoming frames (overwrites domain and scale) [1]<br>scale <num: factor> - set scaling factor of output peaks (overwrites domain and down)<br>domain <num: domain> - set domain of output peaks (<= 0 sets to sr/2) [sr/2]<br> | ||
Line 257: | Line 257: | ||
| name=gbr.psy~ | | name=gbr.psy~ | ||
| brief=Pysch synchronous (YIN-based) signal slicing | | brief=Pysch synchronous (YIN-based) signal slicing | ||
− | | descr=Cuts incoming signal into elementary waveforms.Outputs vectors corresponding to two periods of the estimated frequency or fixed duration (256 points) when unvoiced. | + | | 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=threshold <num: pitch> [<num: noise>] - set pitch and noise quality treshold [0.6838 0.4523]<br>enable <bool: switch> - enable/disable calculation and output ['on']<br> | | attributes=threshold <num: pitch> [<num: noise>] - set pitch and noise quality treshold [0.6838 0.4523]<br>enable <bool: switch> - enable/disable calculation and output ['on']<br> | ||
Line 334: | Line 334: | ||
| 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 (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> [<any: parameters> ...] - window function and parameters ['hann']<br> | | arguments=<sym: function> [<any: parameters> ...] - window function and parameters ['hann']<br> | ||
| attributes=none | | attributes=none |
Revision as of 21:54, 2 March 2008
This reference is completely valid from FTM & Co 2.3.2.
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 (or integrate bands of a 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 (positive frequencies) 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.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 | Fundamentatal frequency estimation after de Cheveigné and Kawahara | |||||||||||
Estimates fundamental frequency and outputs energy, periodicity factor, and auto correlation coefficients. | ||||||||||||
|