#include <MarSystem.h>
Inherited by AbsMax, AbsSoundFileSink, AbsSoundFileSource, AbsSoundFileSource2, AccentFilterBank, Accumulator, ADRess, ADRessSpectrum, ADRessStereoSpectrum, ADSR, AimBoxes, AimGammatone, AimHCL, AimHCL2, AimLocalMax, AimPZFC, AimPZFC2, AimSAI, AimSSI, AimVQ, AMDF, ANN_node, Annotator, ArffFileSink, AubioYin, AudioSink, AudioSinkBlocking, AudioSource, AudioSourceBlocking, AutoCorrelation, AutoCorrelationFFT, AveragingPattern, BaseAudioSink, BeatAgent, BeatHistoFeatures, BeatHistogram, BeatHistogramFromPeaks, BeatPhase, BeatReferee, BeatTimesSink, BICchangeDetector, Biquad, CARFAC, Cartesian2Polar, Cascade, Centroid, Chroma, ChromaScale, ClassificationReport, ClassOutputSink, Clip, Combinator, CompExp, Compressor, Confidence, ConstQFiltering, CrossCorrelation, CsvFileSource, Daub4, DCSource, Deinterleave, DeInterleaveSizecontrol, Delay, DelaySamples, Delta, DeltaFirstOrderRegression, Differentiator, DownSampler, DTW, DTWWD, EnhADRess, EnhADRessStereoSpectrum, Envelope, ERB, Esitar, F0Analysis, Fanin, Fanout, FanOutIn, Filter, FlowCutSource, FlowThru, Flux, FM, FMeasure, FullWaveRectifier, Gain, GaussianClassifier, GMMClassifier, HalfWaveRectifier, HarmonicEnhancer, HarmonicStrength, HWPS, Inject, InvSpectrum, KNNClassifier, Krumhansl_key_finder, Kurtosis, Limiter, LPC, LPCC, LSP, LyonAgc, LyonChannelDiff, LyonPassiveEar, LyonZeroOutPreEmph, MarFileSink, MarSystemTemplateAdvanced, MarSystemTemplateBasic, MarSystemTemplateMedium, MatchBassModel, MathPower, MaxArgMax, MaxMin, McAulayQuatieri, Mean, MeanAbsoluteDeviation, MeddisHairCell, Median, MedianFilter, Memory, MemorySource, Metric, Metric2, MFCC, MidiFileSynthSource, MidiInput, MidiOutput, MinArgMin, MixToMono, Mono2Stereo, Negative, NoiseGate, NoiseSource, Norm, Normalize, NormalizeAbs, NormCut, NormMatrix, NormMaxMin, OnePole, OneRClassifier, OnsetTimes, OrcaSnip, OverlapAdd, Panorama, Parallel, ParallelMatrixWeight, PatchMatrix, PCA, Peak2Rms, PeakClusterSelect, PeakConvert, PeakConvert2, PeakDistanceHorizontality, PeakEnhancer, Peaker, PeakerAdaptive, PeakerOnset, PeakFeatureSelect, PeakInObservation, PeakLabeler, PeakMask, PeakPeriods2BPM, PeakRatio, PeakResidual, PeakSynthFFT, PeakSynthOsc, PeakSynthOscBank, PeakViewMerge, PeakViewSink, PeakViewSource, PhaseLock, PhiSEMFilter, PhiSEMSource, Pitch2Chroma, PitchDiff, PlotSink, Plucked, Polar2Cartesian, Power, PowerSpectrum, PowerToAverageRatio, Product, PvConvert, PvConvolve, PvFold, PvMultiResolution, PvOscBank, PvOverlapadd, PvUnconvert, PWMSource, RadioDrumInput, RBF, RealvecSink, RealvecSource, Reassign, Reciprocal, RemoveObservations, Resample, ResampleBezier, ResampleLinear, ResampleNearestNeighbour, ResampleSinc, Reverse, Rms, Rolloff, RunningAutocorrelation, RunningStatistics, SCF, Selector, SelfSimilarityMatrix, SeneffEar, Series, SFM, Shifter, ShiftInput, ShiftOutput, Shredder, Signum, SilenceRemove, SimilarityMatrix, SimulMaskingFft, SineSource, Skewness, SliceDelta, SliceShuffle, SMO, SNR, SOM, SoundFileSink, SoundFileSource, SoundFileSource2, SoundFileSourceHopper, SpectralFlatnessAllBands, SpectralSNR, SpectralTransformations, Spectrum, Spectrum2ACMChroma, Spectrum2Chroma, Spectrum2Mel, Square, StandardDeviation, StereoSpectrum, StereoSpectrumFeatures, StereoSpectrumSources, StretchLinear, Subtract, SubtractMean, Sum, SVMClassifier, TempoHypotheses, TimeFreqPeakConnectivity, TimelineLabeler, TimeStretch, Transposer, Unfold, UpdatingBassModel, Vibrato, ViconFileSource, WaveletBands, WaveletPyramid, WaveletStep, WekaSink, WekaSource, WHaSp, Windowing, Yin, ZeroCrossings, and ZeroRClassifier.
Public Member Functions | |
| bool | linkControl (std::string cname1, std::string cname2, bool update=true) |
| Link controls. | |
| virtual std::istream & | put (std::istream &is) |
| The opposite of toString() and put() above, read in the parameters for a system. | |
| virtual std::ostream & | put_html (std::ostream &o) |
| Output the MarSystem as an HTML document with nested lists. | |
| bool | setControl (std::string cname, MarControlPtr newcontrol) |
| set controls (does not call update()) | |
| void | setMATLABscript (std::string script) |
| MATLAB scripting. | |
| virtual void | setName (std::string name) |
| Naming methods. | |
| bool | updControl (MarControlPtr control, MarControlPtr newcontrol, bool upd=true) |
| Update controls. | |
Protected Member Functions | |
| std::string | getControlRelativePath (std::string cname) const |
| control paths | |
| MarSystem & | operator= (const MarSystem &) |
| Assignment operator (should never be called!) [!]. | |
Protected Attributes | |
| std::string | absPath_ |
| mrs_natural | c |
| observation and time index //[!] | |
|
std::map< std::string, MarControlPtr > | controls_ |
| Controls. | |
| mrs_natural | count_ |
| scheduling purposes | |
| bool | isUpdating_ |
| value which is added to inStabilizingDelay to produce onStabilizingDelay. Defaults to 0. | |
| std::vector< MarSystem * > | marsystems_ |
| children | |
| std::string | name_ |
| Name of instance. | |
| MarSystem * | parent_ |
| Parent MarSystem (if in a composite, otherwise it's NULL). | |
| std::string | prefix_ |
| /type_/name_/ | |
| std::string | type_ |
| Type of MarSystem. | |
Friends | |
|
marsyas_EXPORT friend std::ostream & | operator<< (std::ostream &, MarSystem &) |
| the usual stream IO | |
|
marsyas_EXPORT friend std::istream & | operator>> (std::istream &, MarSystem &) |
| controls serialization methods | |
Abstract base class for any type of system. Basically a MarSystem takes as input a vector of float numbers (realvec) and produces a new vector (possibly with different dimensionality). Different types of computation can be used. MarSystems are the core processing blocks of Marsyas including transformations like FFT, Filter as well as feature extractors like Spectral Centroid.
Controls: (these are inherited by all MarSystems)
Definition at line 86 of file MarSystem.h.
std::string absPath_ [protected] |
/parent0Type/parent0Name/.../parentNType/parentNName/type_/name_/ in case this MarSystem is part of a composite this is the absolute path to it
Definition at line 114 of file MarSystem.h.
Referenced by MarSystem::getControlRelativePath(), and MarSystem::setName().
bool isUpdating_ [protected] |
value which is added to inStabilizingDelay to produce onStabilizingDelay. Defaults to 0.
is true while inside update() -> used for children to check if an update came from their parent
Definition at line 179 of file MarSystem.h.
1.5.6