Mercurial > hg > smallbox
comparison examples/AudioInpainting/Audio_Declipping_Example.m @ 243:1fbd28dfb99e unlocbox
setup file
| author | bmailhe |
|---|---|
| date | Wed, 29 Aug 2012 10:39:14 +0100 |
| parents | 8b3c71bb44eb |
| children |
comparison
equal
deleted
inserted
replaced
| 231:b1db9e090542 | 243:1fbd28dfb99e |
|---|---|
| 47 SMALL.solver(4) = SMALL_init_solver('ompbox', 'omp2Gabor', '', 0); | 47 SMALL.solver(4) = SMALL_init_solver('ompbox', 'omp2Gabor', '', 0); |
| 48 SMALL.solver(4).add_constraints = 1; | 48 SMALL.solver(4).add_constraints = 1; |
| 49 | 49 |
| 50 % Defining the Problem structure | 50 % Defining the Problem structure |
| 51 | 51 |
| 52 SMALL.Problem = generateAudioDeclippingProblem('male01_8kHz', 0.6, 256, 0.5, @wRect, @wSine, @wRect, @Gabor_Dictionary, 2); | 52 SMALL.Problem = generateAudioDeclippingProblem('male01_8kHz', 0.1, 256, 0.5, @wRect, @wSine, @wRect, @Gabor_Dictionary, 2); |
| 53 | 53 |
| 54 for idxSolver = 1:4 | 54 for idxSolver = 1:4 |
| 55 | 55 |
| 56 fprintf('\nStarting Audio Declipping of %s... \n', SMALL.Problem.name); | 56 fprintf('\nStarting Audio Declipping of %s... \n', SMALL.Problem.name); |
| 57 fprintf('\nClipping level %s... \n', SMALL.Problem.clippingLevel); | 57 fprintf('\nClipping level %s... \n', SMALL.Problem.clippingLevel); |
