Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 1.13 KB

README.md

File metadata and controls

22 lines (14 loc) · 1.13 KB

MiscellaneousMatlab

Odds and ends that may be of use...

breathTimes.m

MATLAB function for detecting the beginning and ending of inhalations during respiration, optimised for speech breathing.

Example usage

calculateAsynchrony.m

MATLAB function for calculating asynchrony (euclidean distance) between vectors of datapoints (e.g., time stamps, drum hits, linguistic annotations). Plots your pairings and produces a series of absolute distances between paired points, as determined by serial closest two-way matches. Optionally returns indices of unpaired values from each input vector.

Example usage

timeStamps2Vector.m

MATLAB function that accepts a vector of time stamps to be converted to a one-hot coded vector. Optionally resamples output vector to desired frequency.

genPinkNoise.m

MATLAB function to create pink noise.

onsetOffsetRamp.m

MATLAB function to add onset/offset volume ramping to beginning and ending of WAV.