Mercurial > hg > camir-ismir2012
view toolboxes/MIRtoolbox1.3.2/MIRToolbox/mirsave.m @ 0:cc4b1211e677 tip
initial commit to HG from
Changeset:
646 (e263d8a21543) added further path and more save "camirversion.m"
author | Daniel Wolff |
---|---|
date | Fri, 19 Aug 2016 13:07:06 +0200 |
parents | |
children |
line wrap: on
line source
function mirsave(d,varargin) % mirsave(d) saves temporal data d in a file. % If d is a miraudio object, the waveform is directly saved. % mirenvelope data is sonified using modulated white noise. % mirpitch data is sonified using sinusoids. % (cf. User's Manual for more details). % The file(s) name is based on the original file name(s), adding '.mir' % before the standard extension of the file. % mirsave(d,f) specifies the file names. % If d contains one single audio sequence, d is saved in a file % named f. % If d contains multiple audio sequences, each sequence is saved % in a file whose name is the concatenation of the original % name and f. % If f ends with '.wav', the file is saved in WAV format (by % default). % If f ends with '.au', the file is saved in AU format. % mirsave(d,f,'SeparateChannels') save each separate channel in a % different file. mirsave(miraudio(d),varargin{:})