view audio/monofile.m @ 6:0ce3c2070089

Removed duplicate code and fixed doc in timed_action.
author samer
date Mon, 14 Jan 2013 14:33:37 +0000
parents 672052bd81f8
children
line wrap: on
line source
% monofile - Return single channel version of signal in an audiofile
%
% NB using sndfile with channels=1 option results in clipping due to
% crappy implementation of Tritonus PCM2PCM converter.
function s=monofile(n), s=mixdown(sndfile(n));