Marsyas
0.6.0-alpha
|
These are simple building blocks for processing data. For a list of all processing blocks, see Processing. More...
Data Structures | |
class | Deinterleave |
Reorder input along observations. More... | |
class | DeInterleaveSizecontrol |
Reorder input observations. More... | |
class | Delay |
Delay. More... | |
class | Differentiator |
Calculate the difference of successive input samples. More... | |
class | DownSampler |
Downsample the input signal by dropping samples. More... | |
class | Gain |
Multiply input realvec with a fixed value. More... | |
class | HalfWaveRectifier |
Negative values are trimmed to zero, positive values are kept. More... | |
class | Memory |
Collects and outputs N past input samples. More... | |
class | Mono2Stereo |
Convert mono to stereo by copying. More... | |
class | Negative |
Toggle the sign of the input samples. More... | |
class | OnsetTimes |
Retrieves M first beat times (phases, in "frames"-ticks), retrieved from peaks from an onset function. More... | |
class | OverlapAdd |
OverlapAdd. More... | |
class | Product |
Multiplies observations together. Used for ring modulation. More... | |
class | Ratio |
Ratio of observations to first observation. More... | |
class | Reverse |
Reverse the input samples (i.e. first samples become last and vice-versa) More... | |
class | Shifter |
Shifts the input and outputs the original and shifted version. More... | |
class | ShiftInput |
Apply sliding window with certain hop size and window size. More... | |
class | ShiftOutput |
Pass on N amount of samples from the input vector. More... | |
class | Signum |
Compute sign of input vector: output vector is 1 for strictly positive observations, 0 for the rest. More... | |
class | SimulMaskingFft |
Return only the power spectrum components above the masking threshold. More... | |
class | Square |
Squares input samples. More... | |
class | Subtract |
Subtracts one observation from another. More... | |
class | Sum |
Sum the input rows of observations into one row. More... | |
class | Transposer |
Switches samples and observations. More... | |
class | Unfold |
Unfold two-dimensional realvec into one-dimensional realvec. More... | |
class | Windowing |
Apply a windowing function (envelope) to the input signal. More... | |
Functions | |
void | windowingFillBartlett (realvec &envelope) |
Bartlett window function (triangle window with zero endpoints). | |
void | windowingFillBlackman (realvec &envelope, mrs_real alpha=0.16) |
Blackman window function. | |
void | windowingFillBlackmanHarris (realvec &envelope) |
Blackman-Harris window function. | |
void | windowingFillCosine (realvec &envelope) |
Cosine (aka sine) window function. | |
void | windowingFillGaussian (realvec &envelope, mrs_real sigma) |
Gaussian window function. | |
void | windowingFillHamming (realvec &envelope) |
Hamming window function. | |
void | windowingFillHanning (realvec &envelope) |
Hanning window function. | |
void | windowingFillRaisedCosine (realvec &envelope, mrs_real alpha, mrs_real beta) |
Helper function for generating a raised cosine window function. | |
void | windowingFillTriangle (realvec &envelope) |
Triangle window function (non zero endpoints). |
These are simple building blocks for processing data. For a list of all processing blocks, see Processing.
void windowingFillBartlett | ( | realvec & | envelope | ) |
Bartlett window function (triangle window with zero endpoints).
Definition at line 281 of file Windowing.cpp.
void windowingFillBlackmanHarris | ( | realvec & | envelope | ) |
void windowingFillCosine | ( | realvec & | envelope | ) |
Cosine (aka sine) window function.
Definition at line 354 of file Windowing.cpp.
Gaussian window function.
Definition at line 297 of file Windowing.cpp.
void Marsyas::windowingFillHamming | ( | realvec & | envelope | ) | [inline] |
Hamming window function.
Definition at line 90 of file Windowing.h.
void Marsyas::windowingFillHanning | ( | realvec & | envelope | ) | [inline] |
Hanning window function.
Definition at line 105 of file Windowing.h.
Helper function for generating a raised cosine window function.
A raised cosine window is of the form
windowingFillRaisedCosine() fills a given realvec with the values for increasing values of
(note that the realvec is handled as a one dimensional array). The
is determined by the size of the realvec.
envelope | a pre-allocated realvec |
alpha | the ![]() |
beta | the ![]() |
Definition at line 243 of file Windowing.cpp.
void windowingFillTriangle | ( | realvec & | envelope | ) |