comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:cc4b1211e677
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{:})