comparison toolboxes/MIRtoolbox1.3.2/MIRToolbox/mirsave.m @ 0:e9a9cd732c1e tip

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:e9a9cd732c1e
1 function mirsave(d,varargin)
2 % mirsave(d) saves temporal data d in a file.
3 % If d is a miraudio object, the waveform is directly saved.
4 % mirenvelope data is sonified using modulated white noise.
5 % mirpitch data is sonified using sinusoids.
6 % (cf. User's Manual for more details).
7 % The file(s) name is based on the original file name(s), adding '.mir'
8 % before the standard extension of the file.
9 % mirsave(d,f) specifies the file names.
10 % If d contains one single audio sequence, d is saved in a file
11 % named f.
12 % If d contains multiple audio sequences, each sequence is saved
13 % in a file whose name is the concatenation of the original
14 % name and f.
15 % If f ends with '.wav', the file is saved in WAV format (by
16 % default).
17 % If f ends with '.au', the file is saved in AU format.
18 % mirsave(d,f,'SeparateChannels') save each separate channel in a
19 % different file.
20
21
22 mirsave(miraudio(d),varargin{:})