Mercurial > hg > smallbox
diff Problems/generateAudioDeclippingProblem.m @ 140:31d2864dfdd4 ivand_dev
Audio Impainting additional constraints with cvx added
author | Ivan Damnjanovic lnx <ivan.damnjanovic@eecs.qmul.ac.uk> |
---|---|
date | Mon, 25 Jul 2011 17:27:05 +0100 |
parents | 9207d56c5547 |
children | b14209313ba4 |
line wrap: on
line diff
--- a/Problems/generateAudioDeclippingProblem.m Thu Jul 21 16:37:14 2011 +0100 +++ b/Problems/generateAudioDeclippingProblem.m Mon Jul 25 17:27:05 2011 +0100 @@ -1,26 +1,18 @@ function data = generateAudioDeclippingProblem(soundfile, clippingLevel, windowSize, overlap, wa, ws, wd, Dict_fun, redundancyFactor) %% Generate Audio Declipping Problem % -% CHANGE!!!generateAMT_Learning_Problem is a part of the SMALLbox and generates -% a problem that can be used for comparison of Dictionary Learning/Sparse -% Representation techniques in automatic music transcription scenario. -% The function prompts a user for an audio file (mid, wav, mat) reads it -% and generates a spectrogram given fft size (default nfft=4096), analysis -% window size (windowSize=2822), and analysis window overlap (overlap = -% 0.5). -% -% The output of the function is stucture with following fields: -% b - matrix with magnitudes of the spectrogram -% f - vector of frequencies at wihch spectrogram is computed -% windowSize - analysis window size -% overlap - analysis window overlap -% fs - sampling frequency -% m - number of frequenciy points in spectrogram -% n - number of time points in the spectrogram -% p - number of dictionary elements to be learned (eg 88 for piano) -% notesOriginal - notes of the original audio to be used for -% comparison (if midi of the original exists) -% name - name of the audio file to transcribe +% generateAudioDeclippingProblem is part of the SMALLbox [1] and generates +% Audio declipping is a problem proposed in Audio Inpaining Toolbox and +% in [2]. +% +% [1] I. Damnjanovic, M. E. P. Davies, and M. P. Plumbley "SMALLbox - an +% evaluation framework for sparse representations and dictionary +% learning algorithms," V. Vigneron et al. (Eds.): LVA/ICA 2010, +% Springer-Verlag, Berlin, Germany, LNCS 6365, pp. 418-425 +% [2] A. Adler, V. Emiya, M. G. Jafari, M. Elad, R. Gribonval, and M. D. +% Plumbley, “Audio Inpainting,” submitted to IEEE Trans. Audio, Speech, +% and Lang. Proc., 2011, http://hal.inria.fr/inria-00577079/en/. + % Centre for Digital Music, Queen Mary, University of London. % This file copyright 2011 Ivan Damnjanovic.