comparison Problems/generateAudioDenoiseProblem.m @ 128:8e660fd14774 ivand_dev

Feature 186
author Ivan Damnjanovic lnx <ivan.damnjanovic@eecs.qmul.ac.uk>
date Mon, 13 Jun 2011 14:55:45 +0100
parents 0211faef9add
children f42aa8bcb82f
comparison
equal deleted inserted replaced
126:db5a7fe1a404 128:8e660fd14774
1 function data=generateAudioDenoiseProblem(au, trainnum, blocksize, dictsize, overlap, sigma, gain, maxval, initdict); 1 function data=generateAudioDenoiseProblem(au, trainnum, blocksize, dictsize, overlap, sigma, gain, maxval, initdict);
2 %%% Audio Denoising Problem 2 %% Audio Denoising Problem - needs revision, not yet finalised
3 %
4 % Centre for Digital Music, Queen Mary, University of London.
5 % This file copyright 2010 Ivan Damnjanovic.
6 %
7 % This program is free software; you can redistribute it and/or
8 % modify it under the terms of the GNU General Public License as
9 % published by the Free Software Foundation; either version 2 of the
10 % License, or (at your option) any later version. See the file
11 % COPYING included with this distribution for more information.
12 %
13 %
14 % 3 %
15 % generateAudioDenoiseProblem is part of the SMALLbox and generate a 4 % generateAudioDenoiseProblem is part of the SMALLbox and generate a
16 % problem for comaprison of Dictionary Learning/Sparse Representation 5 % problem for comaprison of Dictionary Learning/Sparse Representation
17 % techniques in audio denoising scenario. It is based on KSVD image 6 % techniques in audio denoising scenario. It is based on KSVD image
18 % denoise demo by Ron Rubinstein (see bellow). 7 % denoise demo by Ron Rubinstein (see bellow).
22 % blocksize - 1D frame size (eg 512) 11 % blocksize - 1D frame size (eg 512)
23 % dictsize - number of atoms to be trained 12 % dictsize - number of atoms to be trained
24 % overlap - ammount of overlaping frames between 0 and 1 13 % overlap - ammount of overlaping frames between 0 and 1
25 % 14 %
26 15
27 16 % Centre for Digital Music, Queen Mary, University of London.
17 % This file copyright 2010 Ivan Damnjanovic.
18 %
19 % This program is free software; you can redistribute it and/or
20 % modify it under the terms of the GNU General Public License as
21 % published by the Free Software Foundation; either version 2 of the
22 % License, or (at your option) any later version. See the file
23 % COPYING included with this distribution for more information.
24 %%
28 disp(' '); 25 disp(' ');
29 disp(' ********** Denoising Problem **********'); 26 disp(' ********** Denoising Problem **********');
30 disp(' '); 27 disp(' ');
31 disp(' This function reads an audio, adds random Gaussian noise,'); 28 disp(' This function reads an audio, adds random Gaussian noise,');
32 disp(' that can be later denoised by using dictionary learning techniques.'); 29 disp(' that can be later denoised by using dictionary learning techniques.');