Marsyas  0.2
Data Structures | Enumerations | Functions
Marsyas Namespace Reference

Data Structures

class  AbsMax
 Calculate the maximum absolute value for each observation signal (per slice). More...
class  AbsSoundFileSink
 Abstract Interface for SoundFileSinks of various formats. More...
class  AbsSoundFileSource
 Abstract Interface for SoundFileSource of various formats. More...
class  AbsSoundFileSource2
 Abstract Interface for SoundFileSource of various formats. More...
class  AccentFilterBank
 Basic example on how to use controls efficiently in MarSystems. More...
class  Accumulator
 Accumulate result of multiple ticks. More...
class  AdditiveOsc
 Generates what is perceptually a saw wave. More...
class  ADRess
 Azimuth Discrimination and Resynthesis (ADRess) implementation, which takes a stereo input (i.e. input is expected to be the output of a parallel of two Spectrum MarSystems, one for each stereo channel), and outputs the phase vector and frequency dependent nulls matrix for each channel using the following format: More...
class  ADRessSpectrum
 Takes the output of the ADRess (i.e. the stereo azimuth-frequency maps) and outputs a single channel spectrum of the part of the freq-azimuth plane selected by the d and H controls. This can then be inverse transformed back into time domain for resynthesis purposes. More...
class  ADRessStereoSpectrum
 Takes the output of the ADRess (i.e. the panning-frequency maps) and outputs the panning coefficient for each spectral bin (N/2+1 bins). More...
class  AimBoxes
 'Box-cutting' routine to generate dense features More...
class  AimGammatone
 Slaney's gammatone filterbank. More...
class  AimHCL
 Halfwave rectification, compression and lowpass filtering. More...
class  AimHCL2
 Halfwave rectification, compression and lowpass filtering. More...
class  AimLocalMax
 Local maximum strobe criterion: decaying threshold with timeout. More...
class  AimPZFC
 Time-domain AimPZFC. More...
class  AimPZFC2
 Time-domain AimPZFC2. More...
class  AimSAI
 Stabilised auditory image. More...
class  AimSSI
 Size-shape image (aka the 'sscAI') More...
class  AimVQ
 Vector quantization for dense to sparse features. More...
class  AliasingOsc
 A simple aliasing oscillator. More...
class  AMDF
 Average Magnitude Difference Function. More...
class  ANN_node
 Single node used to build Artifical Neural Networks. More...
class  Annotator
 Annotate a feature vector/slice with a label. More...
class  APDelayOsc
 A non-aliasing analog oscillator algorithm. More...
class  ArffFileSink
 Writes slices to a file in (Weka) ARFF format. More...
class  AubioYin
 Pitch detection using the YIN algorithm. More...
class  AudioSink
 Real-time Audio source for Linux. More...
class  AudioSinkBlocking
 Real-time Audio source for Linux. More...
class  AudioSource
 Real-time audio source. More...
class  AudioSourceBlocking
 Real-time audio source. More...
class  AuFileSink
 SoundFileSink for .au (.snd) soundfiles. More...
class  AuFileSource
 SoundFileSource for .au (.snd) soundfiles. More...
class  AutoCorrelation
 Compute the generalized autocorrelation of input window. More...
class  AutoCorrelationFFT
 AutoCorrelation System based on FFT. More...
class  AveragingPattern
class  BaseAudioSink
 Interface for real-time audio sources. More...
class  BeatAgent
 Entity representing a given {period, phase} hypothesis regarding a train of beat positions paced by the following tempo. A set of initial agents are feeded by the initial hypothesis given by an initial tempo induction stage. Each BeatAgent is recursively evaluated in real-time, by a given score function (heuristics), around each predicted beat. According to the goodness-of-fit between each agent's prediction and the correspondent local maxima in the observed data (given by the onset detection function calculated by the Spectral Flux) the agent's current score is incremented or decremented, calling for the creation of new agents (children) when large discrepancies are observed. More...
class  BeatHistoFeatures
 Beat Histogram Features. More...
class  BeatHistogram
 BeatHistogram. More...
class  BeatHistogramFromPeaks
 BeatHistogramFromPeaks. More...
class  BeatPhase
 Given a periodicity calculate best matching phase. More...
class  BeatReferee
 Central agency responsible for causally evaluating a pool of active BeatAgents around each beat prediction, and selecting the best one at each time ("frame" - tick), based on a given heuristics (score function) which affers the goodness-of-fit between each agent prediction and local maxima in the observed data (given by the onset detection function calculated by the Spectral Flux). More...
class  BeatTimesSink
 Outputs predicted beat times (in seconds or "frames"-ticks) and/or the median IBI (in BPMs). More...
class  BICchangeDetector
 detect changes between to succeeding segments using BIC More...
class  Biquad
 Filter a Signal. More...
class  BlitOsc
 A BLIT oscillator. More...
class  CARFAC
 Multiply input realvec with a fixed value. More...
class  Cartesian2Polar
 perform conversion of spectral values More...
class  Cascade
 Cascade of MarSystem objects. More...
class  Centroid
 Centroid of each time slice of observations. More...
class  Chroma
class  ChromaScale
class  ClassOutputSink
 ClassOutputSink. More...
class  Clip
 Clip. More...
class  Collection
 List of files. More...
class  CollectionFileSource
 CollectionFileSource abstracts a collections of soundfiles as a SoundFileSource. More...
class  Color
 Triplet of RGB values. More...
class  Combinator
 Basic example on how to use controls efficiently in MarSystems. More...
class  CommandLineOptions
 CommandLineOptions. More...
class  Communicator
 Abstract base class for communicator. More...
class  CompExp
 Multiply input realvec with CompExp. More...
class  Compressor
 Basic example on how to use controls efficiently in MarSystems. More...
class  Confidence
 Confidence calculates classification confidence. More...
class  ConstQFiltering
class  CrossCorrelation
 Computes the cross correlation of an input. More...
class  CsvFileSource
 Reads CSV (comma-separated values) text files. More...
class  Daub4
 Daubechies4 WaveletStep. More...
class  DCSource
 DCSource generates a constant signal (with configurable level) at the output. More...
class  Deinterleave
 Deinterleave i.e. Reorder input realvec along observations. More...
class  DeInterleaveSizecontrol
 Deinterleave i.e. Reorder input realvec. More...
class  Delay
 Delay. More...
class  DelaySamples
 Simple MarSystem that shifts samples back in time. More...
class  Delta
class  DeltaFirstOrderRegression
 Calculate simple time domain delta in first order regression fashion. More...
class  Differentiator
 Calculate the difference of successive input samples. More...
class  DownSampler
 Downsample the input signal by dropping samples. More...
class  DPWOsc
 Controls: More...
class  DTW
 Calculate Alignment from a SimilarityMatrix at input. More...
class  DTWWD
class  Energy
 compute the Energy of the input observations into one column More...
class  EnhADRess
 Azimuth Discrimination and Resynthesis (EnhADRess) implementation, which takes a stereo input (i.e. input is expected to be the output of a parallel of two Spectrum MarSystems, one for each stereo channel), and outputs the magnitudes, phases and panning indexes for N/2+1 bins, stacked vertically: More...
class  EnhADRessStereoSpectrum
 Takes the output of the enhADRess and outputs the panning coefficient for each spectral bin (N/2+1 bins). More...
class  Envelope
 Multiply input realvec by Value of Envelope. More...
class  ERB
 ERB Filterbank. More...
class  Esitar
 Update midi inpput using controls. Just through for dataflow. More...
class  EvEvent
 EvEvent. More...
class  EvEventDispatchComparator
 class for comparing dispatch times of events. required for insertion into the Heap. More...
class  EvExpr
 Expression Event evaluates the supplied expression when prompted by the scheduler. More...
class  EvGetUpd
 get a control value and use it to update another More...
class  EvValUpd
 update a MarSystem control value More...
class  Ex
 a convenience class that encapsulates an expression string and knows how to parse that string to an ExNode expression tree. More...
class  ExFile
 Convenience class for placing Ex and Rp expressions in a separate file to be read at parse time. Expressions are separated by declaring block headers: #::ExInit: #::ExExpr: #::RpInit: #::RpExpr: #::RpRate: More...
class  ExNode
 ExNode is the base class for an expression tree node. More...
class  ExNode_IterFor
 iterate over list and do something with each value in the list, not destroying old list More...
class  ExNode_IterIter
 iter : iterate over list and replace each element in original list More...
class  ExNode_IterMap
 map : iterate over list creating new list of same size without destroying original More...
class  ExNode_StringFor
 iterate over list and do something with each value in the list, not destroying old list, returns unit More...
class  ExNode_StringIter
 iter : iterate over list and replace each element in original list More...
class  ExNode_StringMap
class  Expr
 Expr encapsulates an evaluatable expression. Ex is a convenience class that encapsulates an expression string and can parse to a tree. Rp is the same as Ex but is interpreted as an expression for deciding on repetition. More...
class  ExRecord
 a symbol table node that symbolises a path component to a record. ie Real.cos(mrs_real) := ExRecord("Real",ExRecord("cos(mrs_real)")) A syntax is defined for adding functions as well as defining aliases to those functions. Adding and removing imports is also defined where an import is simply a shortcut that eliminates a portion of the start of the name. More...
class  ExRefCount
 convenient parent class for reference counted objects. More...
class  ExVal
 ExVal is the abstract value type for expression tree nodes. Every expression results in a ExVal of the basic types: string, natural, real, bool. More...
class  F0Analysis
 Compute F0s in input spectrum. More...
class  Fanin
 Fanin of MarSystem objects. More...
class  Fanout
 Fanout of MarSystem objects. More...
class  FanOutIn
 FanOutIn of MarSystem objects. More...
class  fft
 fft calculation. More...
class  FileName
 Various utilities. More...
class  Filter
 Filter a Signal. More...
class  FlowCutSource
 break the data flow consistency by entering a black hole in the network More...
class  FlowThru
 FlowThru of MarSystem objects. More...
class  Flux
 Flux calculate the flux between the current and prev. spectrum (e.g. output of PowerSpectrum) More...
class  FM
 FM synthesis source. More...
class  FMeasure
 Compute the FMeasure. More...
class  FullWaveRectifier
 Full wave rectification: take the absolute value of all samples. More...
class  Gain
 Multiply input realvec with a fixed value. More...
class  GaussianClassifier
 Single Gaussian multidimensional classifier. More...
class  GMMClassifier
 Single Gaussian multidimensional classifier. More...
class  GStreamerSource
 SoundFileSource which uses GStreamer to decode an input file. More...
class  HalfWaveRectifier
 Negative values are trimmed to zero, positive values are kept. More...
class  HarmonicEnhancer
 Used to strengthen harmonic peaks in Beat Histograms. More...
class  HarmonicStrength
 Calculates the relative strength of harmonics. More...
class  HWPS
 Calculates the Harmonic Wrapped Peak Similarity (HWPS) of input peaks. More...
class  Inject
 Inject a vector specified by the mrs_realvec/inject control into the datastream. More...
class  InvSpectrum
 Convert back the complex spectrum to time domain. More...
class  KNNClassifier
 Single KNN multidimensional classifier. More...
class  Krumhansl_key_finder
 Krumhansl-Schmuckler Key-Finding Algorithm. More...
class  Kurtosis
 Kurtosis. More...
class  Limiter
 Multiply input realvec with Limiter. More...
class  LPC
 Compute Warped LPC coefficients, Pitch and Power [STILL UNDER TESTING!]. More...
class  LPCC
 Convert LPC coefficients to Cepstrum coefficients. More...
class  LSP
 Compute Linear Spectral Pair (LSP) coefficients Takes the output of ::LPC() and calculates the corresponding LSP values. See the LPC class implementation. More...
class  LyonAgc
 Automatic Gain control specific for Lyon's Passive Ear. More...
class  LyonChannelDiff
 Channel Difference specific for Lyon's Passive Ear. More...
class  LyonPassiveEar
 Lyon filterbank. More...
class  LyonZeroOutPreEmph
 set the first two filter channels (preemphasis) to zero More...
class  MarControl
 MarControlPtr is a smart pointer wrapper for MarControl. MarControl is the control class containing a name, type and value. Created by lfpt@inescporto.pt and lmartins@inescporto.pt. More...
class  MarControlManager
 MarControlManager handle controls creation. More...
class  MarControlValue
 Generic class for Marsyas control values Created by lfpt@inescporto.pt and lmartins@inescporto.pt. More...
class  MarFileSink
 Text output sink. More...
class  marohtml
 generate xml representing a MarSystem More...
class  marojson
 generate json representing a MarSystem and its controls More...
class  marostring
 abstract class for Marsyas Network string representation generators More...
class  marosvg
 generate svg representing a MarSystem More...
class  maroxml
 generate xml representing a MarSystem More...
class  MarSystem
 MarSystem transforms a realvec. More...
class  MarSystemManager
 MarSystemManager of MarSystem objects. More...
class  MarSystemTemplateAdvanced
 Advanced example on how to use composite ad custom controls efficiently in MarSystems. More...
class  MarSystemTemplateBasic
 Basic example on how to use controls efficiently in MarSystems. More...
class  MarSystemTemplateMedium
 Basic example on how to use controls efficiently in MarSystems. More...
class  MatchBassModel
class  MathPower
 each output = pow(input, x). Supports decimal exponents (i.e. taking the nth root). More...
class  MaxArgMax
 Calculate k maximums and their positions. More...
class  MaxMin
 Calculate the maximum and minimum values for each observation signal (per slice). More...
class  McAulayQuatieri
 Performs McAulay-Quatieri frame-to-frame peak matching. More...
class  Mean
 Mean calculate the mean of each row of observations. More...
class  MeanAbsoluteDeviation
 Calculates the mean absolute deviation. More...
class  MeddisHairCell
 MeddisHairCell for auditory models. More...
class  Median
 Median calculate the median of each row of observations. More...
class  MedianFilter
 Apply median filter on input vector. More...
class  Memory
 Memory output the past memSize input observations. More...
class  MemorySource
 DOCME. More...
class  Metric
 Computes metrics (e.g. euclidean, mahalanobis, cosine, etc) between two realvecs. More...
class  MFCC
 MFCC Mel-Frequency Cepstral Coefficients. Takes as input the N/2+1 spectrum Magnitude points output by PowerSpectrum. More...
class  MidiFileSynthSource
 Reads a MIDI file and synthesizes audio (needs MATLAB and the MIDI Toolbox) More...
class  MidiInput
 Update midi inpput using controls. Just through for dataflow. More...
class  MidiOutput
 Control of MahaDeviBot Commands via Midi Controls. More...
class  MinArgMin
 Calculate k minimums and their positions. More...
class  MixToMono
 Mix the input channels (observations rows) into one output observation channel. More...
class  Mono2Stereo
 Convert mono to stereo by copying. More...
class  MP3FileSink
 MP3FileSink for .MP3 soundfiles. More...
class  MP3FileSource
 MP3FileSource read mp3 files using libmad. More...
class  MrsLog
 Logging Class. More...
class  Negative
 Toggle the sign of the input samples. More...
class  NoiseGate
 Multiply input realvec with NoiseGate. More...
class  NoiseSource
 Creates noise. More...
class  Norm
 Normalize each observation channel separately per slice. More...
class  Normalize
 Normalize my mapping min/max range to user specified range. More...
class  NormalizeAbs
 Normalize each observation channel by absolute value. More...
class  NormCut
 Computes the Normalized Cut for an input similarity matrix. More...
class  NormMatrix
 Normalize the input data slice as a whole. More...
class  NormMaxMin
 Normalize by mapping min/max range to user specified range. More...
class  NumericLib
 Assorted Numerical Routines. More...
class  OggFileSource
 OggFileSource read ogg files using vorbisfile. More...
class  OnePole
 Simple one-pole digital filter. More...
class  OnsetTimes
 Retrieves M first beat times (phases, in "frames"-ticks), retrieved from peaks from an onset function. More...
class  OrcaSnip
 Multiply input realvec with OrcaSnip. More...
class  OverlapAdd
 OverlapAdd. More...
class  Panorama
 Amplitude Panning to move single broadband source to an azimuth angle. More...
class  Parallel
 Parallel composite of MarSystem objects. More...
class  ParallelMatrixWeight
 Basic example on how to use controls efficiently in MarSystems. More...
class  PatchMatrix
 Linear Combine Each input channel (i.e. observation) with each other channel the weights for the combinations can be provided through the weights control: each column of the weights control contains the weight for the input channel (i.e. row) with the same number indexwise. Sets of weight for each channel are expected to be found within same channel of the weights control. A constant vector can also be provided in the consts control to set the offset for each channel respectively. More...
class  PCA
 Perform Principal Component Analysis. More...
class  Peak2Rms
 Peak to Rms ratio for time domain signals. More...
class  PeakClusterSelect
 Downsample the number of clusters according to cluster density (most dense 'numClustersToKeep' clusters retained) More...
class  PeakConvert
 PeakConvert. More...
class  PeakConvert2
 PeakConvert2. More...
class  PeakDistanceHorizontality
 compute a weight depending on how "horizontal" the distance between two peak entries is More...
class  PeakEnhancer
 Enhance peaks that are harmonic. More...
class  Peaker
 Pick peaks out of signal. More...
class  PeakerAdaptive
 Pick peaks out of signal. More...
class  PeakerOnset
 Detects if input contains a onset point. More...
class  PeakFeatureSelect
 This MarSystem takes a realvec with peak information (using peakView) and allows to select which peak features should be sent to the output. Used for similarity computations on peaks. More...
class  PeakInObservation
 Compute peaks in observation vector. More...
class  PeakLabeler
 Assigns clustering labels to the "pkGroup" feature of the input peak realvec, based on the information received at the mrs_realvec/labels control. More...
class  PeakMask
 Basic example on how to use controls efficiently in MarSystems. More...
class  PeakPeriods2BPM
 PeakPeriods2BPM: convert peaks to beats per minute. This block should have as input a vector with the peak amplitudes in its pair indexes and the peak arguments (in frames) in its odd indexes. It was created to convert the input given by "MaxArgMax" which outputs the chosen number of peaks in the referred form. More...
class  PeakRatio
 Incorporates the ratio of the higest peak to minimal/average peak of each observation samplewise to the output vector. More...
class  PeakResidual
 Compute the Signal-to-Noise Ratio (input: obs1:noisy signal, obs2:original signal) Controls: More...
class  PeakSynthFFT
 perform amplitude modification of Power Spectrum using Peaks Info More...
class  PeakSynthOsc
 PeakSynthOsc. More...
class  PeakSynthOscBank
 PeakSynthOscBank. More...
class  peakView
 Helper class for accessing peaks in a realvec. More...
class  PeakViewMerge
 This MarSystem receives two stacked realvecs peak information (using peakView) and merges them. More...
class  PeakViewSink
 This MarSystem accumulates realvecs with peak information (using peakView) arriving at its input and when receiving a "done" control trigger, saves the peak data to the specified file in .peak format. More...
class  PeakViewSource
 MarSystem to read .peak files and at each tick output the peaks in each frame. More...
class  PhaseLock
 Retrieves the N best {period, phase} hypotheses by affering the phase more suited to each period (by correlating each of the N*M hypotheses with the onset detection function within the initial induction window). Besides, it tries to infer the correct metre (duple or triple) by atributing the correspondent hierarchical set of initial scores, normalized in accordance to the weigth imposed by the time of the initial induction window. It supports ground-truth mode which inputs the first two beats retrieved from a ground-truth beat times annotation file, for initially assigning (only) one agent with the ground-truth period and phase. More...
class  Pitch2Chroma
 Transform pitch to chroma. More...
class  PitchDiff
 Difference between detected and expected pitch. More...
class  PlotSink
 Text output sink Output input data at each tick to sequence numbered text files, to Marsyas messages (default = stdout), and as a MATLAB plot if MATLAB engine is being used. More...
class  Plucked
 Multiply input realvec with gain. More...
class  Polar2Cartesian
 perform conversion of spectral values More...
class  Power
 compute the RMS Power of the input observations into one column More...
class  PowerSpectrum
 PowerSpectrum computes the magnitude/power of the complex spectrum. More...
class  PowerToAverageRatio
 PowerToAverageRatio (or Power-to-Average Ratio) of a window. More...
class  Product
 Product. More...
class  PvConvert
 PvConvert. More...
class  PvConvolve
 PvConvolve. More...
class  PvFold
 PvFold. More...
class  PvMultiResolution
 Switches between short and long windows in multiresolution phasevocoder. More...
class  PvOscBank
 PvOscBank. More...
class  PvOverlapadd
 PvOverlapadd. More...
class  PvUnconvert
 PvUnconvert. More...
class  PWMSource
 PWMSource generates a PWM wave which outputs ones and zeros. More...
class  QGMMModel
 Quasi-GMM Model. More...
class  RadioDrumInput
 Special MIDIInput to address the radio drum control structure. More...
class  RawFileSource
 SoundFileSource for .raw wavetable files. More...
class  RBF
 Radial Basis Functions. More...
class  realvec
 Vector of mrs_real values. More...
class  RealvecSource
class  Reassign
 Used to strengthen harmonic peaks in Beat Histograms. More...
class  Reciprocal
 Reciprocal. More...
class  RemoveObservations
 Removes observations outside a given range. More...
class  Repeat
 encapsulates repetition information for scheduled events More...
class  Resample
 resamples all observations using a piecewise cubic bezier polynomial for interpolation between samples More...
class  ResampleBezier
 resamples all observations using a piecewise cubic bezier polynomial for interpolation between samples More...
class  ResampleLinear
 Stretch samples using linear interpolation. More...
class  ResampleNearestNeighbour
 Stretch samples using the samples' nearest neighbours. More...
class  ResampleSinc
 resamples all observations using a sum of sinc functions wheareas each point is modeled by a sinc function with the given points amplitude, that is set to zero after the 5th zero crossing More...
class  Reverse
 Reverse the input samples (i.e. first samples become last and vice-versa) More...
class  Rms
 Rms energy of realvec. More...
class  Rolloff
 Rolloff of each time slice of observations. More...
class  Rp
 Rp works in a similar way to Ex except that the single parameter constructor is an expression that must evaluate to a boolean that determines if the event is to repeat while the two parameter constructor must be a boolean expression (if true then repeat) and an expression that evaluates to a string that specifies when the event is to repeat with respect to the current time and in a representation of time that is known to the timer (ie '1s' on sample count timer). More...
class  RunningAutocorrelation
 Running calculation (across slices) of the autocorrelation values. More...
class  RunningStatistics
 Gathers the running average, variance, standard deviation, etc. More...
class  Scheduler
 Scheduler schedules things. More...
class  Selector
 Select different observations from input data. More...
class  SelfSimilarityMatrix
 Calculate Similarity Matrix of a set of feature vectors at input. More...
class  SeneffEar
 SeneffEar auditory model. More...
class  Series
 Series of MarSystem objects. 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  Shredder
 Split the output of an accumulator. More...
class  Signum
 Compute sign of input vector: output vector is 1 for strictly positive observations, 0 for the rest. More...
class  SilenceRemove
 Blocks tick()s if the output is silent. More...
class  SimilarityMatrix
class  SimulMaskingFft
 Return only the power spectrum components above the masking threshold. More...
class  SineSource
 SineSource generate a sine wave. More...
class  Skewness
 Skewness computes the skewness of the input. More...
class  SliceDelta
 Takes the difference (delta) between successive input slices. More...
class  SliceShuffle
 Shuffle the incoming slices randomly. More...
class  SMO
 Support Vector Machine similar to the Weka implementation. More...
class  SNR
 Compute SNR and variations. More...
class  SOM
 Self-organizing map. More...
class  SoundFileSink
 Interface for sound file sinks. More...
class  SoundFileSource
 Interface for sound file sources. More...
class  SoundFileSource2
 Interface for sound file sources. More...
class  SoundFileSourceHopper
 Generates slices from a sound file source in a sliding window fashion with hopping. More...
class  SpectralCentroidBandNorm
 Basic example on how to use controls efficiently in MarSystems. More...
class  SpectralFlatnessAllBands
 Calculates a single spectral flatness value. More...
class  SpectralSNR
 SpectralSNR computes a frequency domain signal-to-noise ratio. Takes as input two stacked PowerSpectrums. More...
class  Spectrum
 Compute the complex spectrum of input window. More...
class  Spectrum2ACMChroma
 Transform an (amplitude) spectrum to a chroma profile. More...
class  Spectrum2Chroma
 Convert spectrum magnitude (e.g. output from PowerSpectrum MarSystem) into a Chroma vector representation. More...
class  Spectrum2Mel
 Convert spectrum magnitude (e.g. output from PowerSpectrum MarSystem) into Mel frequency scale. More...
class  Square
 Square the input samples. More...
class  statistics
 Assorted Stastical Routines Routines for computing Nth moments around a mean (such as std, skewness, and kurtosis). More...
class  StereoSpectrum
 StereoSpectrum computes the panning index for each spectrum bin of a stereo input (i.e. input is expected to be the output of a parallel of two Spectrum MarSystems, one for each stereo channel). More...
class  StereoSpectrumFeatures
 StereoSpectrumFeatures capture panning information. More...
class  StereoSpectrumSources
 StereoSpectrumSources estimates the number of sources placed into different stereo positions. More...
class  StkError
 STK error handling class. More...
class  StretchLinear
 Stretch samples using linear interpolation. More...
class  Subtract
 Basic example on how to use controls efficiently in MarSystems. More...
class  SubtractMean
 Subtract the mean of each observation channel. More...
class  Sum
 Sum the input rows of observations into one row. More...
class  SVMClassifier
 SVM classifier based on libsvm. More...
class  Talk
 Message handler. More...
class  TempoHypotheses
 Organizes a NN x 3 matrix given NN = N x M raw {period, phase, periodSalience} hypotheses. (if no periods were retrieved some manually defined periods will be assumed) More...
class  TimeFreqPeakConnectivity
 uses dynamic programming to create a (symmetric) distance matrix between the series of peaks at the inputs More...
class  TimeLine
 TimeLine is a list of TimeRegions. More...
class  TimelineLabeler
 A MarSystem that loads a TimeLine object with label info corresponding to an audio file, where at each timeline region a class or label is assigned. Can be used for training a classifier, using the different labeled regions of the signal as ground truth. More...
class  TimeStretch
 TimeStretch input realvec by factor. More...
class  TmControlValue
 TmControlValue is a simple parameter passing mechanism for updtimer. More...
class  TmParam
 TmParam associates a name with a value and is used for setting parameters of timers. More...
class  TmRealTime
 TmRealTime reads the getlocaltime() function, system clock to get the current number of microseconds. More...
class  TmSampleCount
 TmSampleCount reads the insamples information to advance the timer. More...
class  TmTime
 TmTime. More...
class  TmTimer
 Base timer class must be overriden to create new concrete timers. More...
class  TmTimerManager
 TmTimerManager. More...
class  TmVirtualTime
 TmVirtualTime reads the insamples information to advance the timer. More...
class  Transcriber
 A collection of functions which simplify transcription (detecting onsets via pitch and amplitudes, calculating notes, etc). More...
class  TranscriberExtract
 A collection of functions which simplify transcription (pitch extraction, amplitude extraction, etc). More...
class  Transposer
 switches samples and observations, i.e. transposes the output realvec (inSamples -> onObservations, onSamples -> inObservations) More...
class  TriangularFilterBank
 Triangular FilterBank Takes as input the N/2+1 spectrum Magnitude points output by PowerSpectrum. For example it can be used to compute a Mel-scale or Constant-Q filterbank. More...
class  Unfold
 Take a two-dimesional realvec and unfold it to make a one-dimensional realvec. More...
class  UpdatingBassModel
class  Upsample
 Upsample input realvec by integer factor using chosen interpolation. Frame size is also increased by the same factor. More...
class  Vibrato
 Apply vibrato using time-varying delay. More...
class  ViconFileSource
 ViconFileSource for exported VICON .txt files. More...
class  WaveguideOsc
 Generates a sine wave. More...
class  WaveletBands
 Calculate time-domain wavelet-based bands. More...
class  WaveletPyramid
 Pyramid wavelet algorithm. More...
class  WaveletStep
 One step of Discrete Wavelet Transform (DWT) More...
class  WavFileSink
 WavFileSink for .wav soundfiles. More...
class  WavFileSource
 SoundFileSource for .wav soundfiles. More...
class  WavFileSource2
 SoundFileSource for .wav soundfiles. More...
class  WekaSink
 Output sink (text) in WEKA (ARFF) format. More...
class  WHaSp
 Calculate Wrapped Harmonically Spectrum (WHaSp) More...
class  Whitening
 Changes a spectrum so that all bins have the same phase, but magnitude equal to 1. More...
class  Windowing
 Apply a windowing function (envelope) to the input signal. More...
class  Yin
 Pitch detection using the YIN algorithm. More...
class  ZeroCrossings
 Time-domain ZeroCrossings. More...
class  ZeroRClassifier
 Single ZeroR multidimensional classifier. More...

Enumerations

enum  { ,
  tmcv_real, tmcv_natural, tmcv_string, tmcv_bool,
  tmcv_vec, tmcv_marsystem
}

Functions

std::string btos (bool b)
 convert a boolean to a string
std::string dtos (double d)
 convert a double to a string
std::string dtos (float d)
 convert a float to a string
unsigned int ex_string_to_typeid (std::string tp)
 convert a marsyas type name to Ex type number
std::string ex_typeid_to_string (unsigned int tp)
 convert an ex type id to a marsyas type string
std::string ltos (long l)
 convert a long to a string
mrs_string obsNamesAddPrefix (mrs_string observationNames, mrs_string prefix)
 Helper function for adding a prefix to each of the observation names.
std::vector< mrs_string > obsNamesSplit (mrs_string observationNames)
 Helper function for splitting an observation name string.
long stol (std::string n)
 convert a string to a long (integer)
std::vector< mrs_string > stringSplit (mrs_string input, mrs_string delimiter)
 Helper function for splitting a string.
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).

Detailed Description

Adding new Timers: New timers are added by first making them... Basically, a map is created from "TimerName"=>TimerConstructorObject. This makes it possible to use a map for fast access to specific timers and it prevents having to instantiate each Timer type. The constructor object simply wraps the new operator so that it constructs objects only when requested. 1. Add the timer's include file. 2. Wrap the object using the macro: TimerCreateWrapper(TmSomeTimerName); 3. Register the timer in the map: in function TmTimerManager::addTimers() add the line registerTimer(TmSomeTimerName);


Enumeration Type Documentation

anonymous enum
Enumerator:
tmcv_real 

null type

tmcv_natural 

real type

tmcv_string 

natural type

tmcv_bool 

string type

tmcv_vec 

bool type

tmcv_marsystem 

realvec type marsystem type

Definition at line 42 of file TmControlValue.h.


Function Documentation

std::string btos ( bool  b)

convert a boolean to a string

Parameters:
ba boolean value to convert
Returns:
string representing the supplied parameter, "true" or "false"

Definition at line 57 of file ExCommon.cpp.

std::string dtos ( double  d)

convert a double to a string

Parameters:
da double value to convert
Returns:
string representing the supplied parameter

Definition at line 32 of file ExCommon.cpp.

std::string dtos ( float  d)

convert a float to a string

Parameters:
da float value to convert
Returns:
string representing the supplied parameter

Definition at line 41 of file ExCommon.cpp.

unsigned int Marsyas::ex_string_to_typeid ( std::string  tp)

convert a marsyas type name to Ex type number

Parameters:
tpa marsyas type string, ie "mrs_string"
Returns:
integer corresponding to the type as defined in the file ExCommon.h

Definition at line 6 of file ExCommon.cpp.

std::string Marsyas::ex_typeid_to_string ( unsigned int  tp)

convert an ex type id to a marsyas type string

Parameters:
tpex type id, see file ExCommon.h
Returns:
marsyas type name corresponding to the input parameter

Definition at line 19 of file ExCommon.cpp.

std::string ltos ( long  l)

convert a long to a string

Parameters:
da long value to convert
Returns:
string representing the supplied parameter

Definition at line 49 of file ExCommon.cpp.

mrs_natural stol ( std::string  n)

convert a string to a long (integer)

Parameters:
na string representing an integer
Returns:
a long value corresponding to the input string

Definition at line 63 of file ExCommon.cpp.