Skip to content

alexisdmacintyre/MiscellaneousMatlab

Repository files navigation

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.

About

Odds and ends that may be of use...

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages