SignalUtils Unit

Functions

NameDescription
AdvanceCircularBufferAdvance the read position of circular buffer.
AlignStringAlign string by inserting space.
AmpltToDbConvert amplitude to decibels in place.
AmpltToLogConvert amplitude to logarithmic scale.
ArBurgModified covariance method for autoregressive parameter estimation.
ArBurgSpectrumComputes a frequency spectrum with the autoregressive Burg method.
ArCovarianceCovariance method for autoregressive parameter estimation.
ArCovarianceSpectrumComputes a frequency spectrum with the autoregressive "covariance" method.
ArMCovarianceModified covariance method for autoregressive parameter estimation.
ArMCovarianceSpectrumComputes a frequency spectrum with the autoregressive "modified covariance" method.
ArYuleWalkerYule-Walker (autocorrelation) autoregressive parameter estimation.
ArYuleWalkerSpectrumComputes a frequency spectrum with the autoregressive Yule-Walker method.
BandFlipFlip the frequency band.
Bartlett (2)Bartlett window.
BesselI0Zeroth-order modified Bessel function of the first kind.
BiSpectrumCompute a part of the bispectrum.
BiSpectrumVertCompute a part of the bispectrum.
Blackman (2)Blackman window.
BlackmanExact (2)Exact blackman window.
BlackmanHarris (2)Blackman-Harris window.
BlackmanOptimalOptimal Blackman window.
ChebyshevChebyshev's window.
CircularBufferCopy data to a circular buffer.
CircularFrequencyAdjust frequency in radians to fall in range between 0 and 0.5.
CircularPhaseAdjust Phase in radians to range between 0 and 2*Pi.
ColoredNoiseFIRComputes FIR filter with desired noise/signal coloring response.
ConjExtend (2)Conjugate extend a frequency spectrum.
ConsistentParameterFilter (2)Param can be boolean.
ConsistentParameterInitInitialize a "consistent parameter" filter.
CosineTapperedCosine tappered window.
CplxCepstrumCompute complex cepstrum.
CplxCepstrumInvCompute the inverse complex cepstrum.
Crest (2)Returns crest factor, for complex data.
CZT (4)Computes the chirp z-transform.
CZTInitInitializes the chirp z-transform.
DCCrossingCount (2)Return the total count of zero crossings within Src starting at index to Index+Len.
DcFilter (3)State parameter holds the filter state.
DelayFilterFilter data with an integer delay filter.
DelayFreeFree a delay filter.
DelayInitInitialize an integer delay filter.
DemultiplexDemultiplex a channel.
DifferentiateDifferentiate the signal.
DistinctCDF (2)Returns a measure for the probability that x belongs to the normal distribution with Mean and StdDev.
EnvelopeDetectorFast envelope detector.
ExpAverageFilter (4)Filter data with an exponential average filter.
ExponentWindowExponential window.
FindNearestReturn the index of the nearest value.
FirFilter (4)Filter data with a FIR filter.
FirFreeFree a FIR filter.
FirImpulse (2)Design a FIR filter with rectangular window.
FirInitInitialize a FIR filter.
FirInitRealFilter data with a FIR filter.
FlatTop (2)Flat-top window.
FractionalFirImpulseDesign an oversampled FIR filter with rectangular window.
FractionalImpulseDesign a fractional delay allpass FIR filter.
FractionalKaiser (2)Fractional Kaiser window.
FractionalKaiserImpulseDesign an oversampled FIR filter with a Kaiser window.
FrequencyResponseCompute the frequency response.
FrequencyResponseSAnalog (s-domain) complex frequency response of a rational transfer function.
Goertz (4)The Discrete Fourier transformation (DFT) for vector of frequencies.
GoertzTwo (2)The Discrete Fourier transformation (DFT) for given two frequencies.
GroupDelayComputes the group delay of IIR filters.
GroupDelay2
Hamming (2)Hamming window.
Hanning (2)Hanning (raised-cosine) window.
HilbertApplies hilbert transform to Src.
IirFilter (7)Filter data with an IIR filter.
IirFreeFree an IIR filter.
IirInit (2)Initialize an IIR filter.
IirInitBQInitialize an IIR filter with second order sections.
InitCircularBufferInitialize a circular buffer.
IntegrateIntegrate signal.
InverseFilterComputes FIR filter from specified frequency spectrum.
Kaiser (2)Kaiser window.
KaiserBetaFirKaiser beta for a FIR filter with a given ripple.
KaiserBetaWindowReturns beta parameter for frequency analysis with the Kaiser window.
KaiserBetaWindowAttReturns beta parameter for frequency analysis with the Kaiser window.
KaiserFirLengthEstimate the length of a windowed FIR filter.
KaiserImpulseDesign a FIR filter with a Kaiser window.
LogRampCompute a logarithmic ramp.
MaximumCountReturn the number of peaks.
MedianFilter (4)Filter data with a median filter.
MedianFreeFree a median filter.
MedianInitInitialize a median filter.
MinimumCountReturn the number of minimums.
MonitorCircularBufferMonitor the circular buffer.
MovingAverageFilterFilter data with a moving average filter.
MovingAverageImpulseDesign an impulse response of a moving average filter.
MultiplexMultiplex a channel.
MusicalNotePitch (2)Returns musical note pitch, the octave and pitch error in Hz.
MusicalNotePitchToStrReturns string representation of TMusicalNotePitch.
MusicalScaleInitInitializes MusicalScale according to Pitch standard and required octave count.
NearestDCCrossingFind the nearest DC crossing.
NearestMaximum (2)Find the nearest peak.
NearestMean
NearestMinimumFind the nearest minumum.
NearestZeroCrossingFind the nearest zero crossing.
NextDCCrossingLocate the next DC crossing.
NextMaximumLocate the next maximum.
NextMinimumLocate the next minimum.
NextZeroCrossingLocate the next zero crossing.
NotchFilterDesign a second-order IIR notch (band-reject) filter.
Peak (2)Find the maximum deviation from the aMean for complex data.
PeekCircularBufferGet the number of available samples within the circular buffer.
PhaseUnwrapUnwrap the phase of the phase spectrum.
PhaseWrapAdd phase lag to the unwrapped phase.
ReadFromCircularBufferCopy data from circular buffer.
RealCepstrumCompute the real cepstrum.
RemoveDC (4)In-place version of the RemoveDC method.
ResetCircularBufferReset circular buffer.
ResizeCircularBufferResize the circular buffer.
RmsOfSpectrumCompute RMS of a frequency band from the frequency spectrum.
RunningAverage (2)Compute running average on TMtx data.
SampleAndDecayFilterFilter data with a sample-and-decay filter.
SampleAndHoldFilterFilter data with a sample-and-hold filter.
SavGolayFilterSavitzky-Golay FIR smoothing filter.
SavGolayImpulse (2)Design a Savitzky-Golay polynomial smoothing filter.
SignalFormatDescriptionReturns description of the signal.
SignalWindow (2)Apply a time window function to the signal.
SignalWindowToStringConvert a TSignalWindowType to a string.
SortConj (2)Conjugate sort complex values.
SpectrumTypeToStringConvert a TSpectrumType type to a string.
SquareTone (2)Generate a square wave function.
SquareToneInitInitialize the generation of a square tone.
StdDev (3)Return standard deviation in aResult.
Tone (2)Generate a sine function.
ToneInitInitialize the generation of a sine function.
TriangleToneGenerate a triangle function.
TriangleToneInitInitialize the generation of a triangle function.
WritePositionCircularBufferGet the index in the buffer where the next block of data will be written.
WriteToCircularBufferCopy data to circular buffer.
ZeroCrossingCountReturn the number of zero crossings.

Constants

NameTypeValueDescription
DspForMtxVecstring'DSP Master v6.4'

Product information string.

MaxFirLengthInteger10000

Maximum number of taps for FIR filters.

Records

NameDescription
TCircularBufferStateType used by circular buffering.
TConsistentParamFilter state type used by ConsistentParameter filter method.
TDiffStateType used by the numerical differentiation routine.
TFirStateFilter state used by FIR filtering methods.
TIirStateFilter state used by IIR filtering methods.
TIntegrateStateType used by the numerical integration routine.
TMedianStateType used by median filter.
TSampleAndHoldStateFilter state used by sample-and-hold filtering routines.
TSquareToneStateType used for square signal function generation.
TToneStateType used for sine function generation.
TTriangleStateType used for triangle tone generation.

Enumerations

NameDescription
TChannelStereo channel selection.
TFilterTypeDefines FIR filter types.
TFractionalImpulseSet of predefined FIR allpass filters suitable for fractional delay filtering. Filter specifications have been relaxed to allow variation of the amplitude in the stop band between 0 and 1 linear scale, but keeping the ripple specification in the passband. When unclear what to select, falp_60dB is recommended.
TGoertzPhaseCorrection
TMonitorModeDefines signal monitoring type.
TMusicalNotePitch
TRunningPhaseType used by the PhaseUnwrap procedure.
TSignalWindowModeWindow function definition.
TSignalWindowTypeWindow function definition. Specifies window function type to be applied to the signal prior to be passed to the FFT algorithm.
TSpectrumTypeDefines frequency spectrum types.
TWaveletDecompDefines the result type of wavelet decomposition.
TWaveletTypeDefines wavelet types.