SpHr_MLS [ /C=[c] /fs=[fs] ] order, destWaveName


Generates maximal-length sequence (MLS) for measuring periodic impulse responses.


Parameters

order  Sequence length in points. (2^Order)-1


destWaveName  Specification for destination wave to which MLS sequence is written.


Flags

/C[=c]

    Concatenate two identical sequences for circular convolution.

    /C=1: Same as no /C flagat all. Default option.

    /C=0: Sequences are not concatenated.

/fs [ = fs ]

    Sampling frequency (Hz), used to set the x-scaling of destWaveName.


Example

SpHr_MLS /fs=48000 15, MLS

// play and record MLS to get MLS_rec

Duplicate/O MLS_rec, impulse // MLS_rec is recording of MLS

Correlate/C MLS, impulse

Contact: Brian