Project: MP3respectr
Subproject: MFR
Date: 20141120
Autor: zvezdochiot <zvezdochiot@users.sourceforge.net>
Lowering the harmful effects of mp3 encoders on the sound with the filtration loop.
Produced by applying the inverse of the median filter in the linear space R
and a median filter directly in the energy space R2
normal sharpen
R mp3 ===mf(-1)==> ~mp3
wav |
______^________________|_____
| |
| V
R2 wav2 <==mf(1)== ~mp32
Depends:
octave, sox, bash
USAGE:
1) WORKDIR:
$ ls -1
mp3rsmfd.m
mp3rsmf.m
mp3rsmfr2nq.m
mp3rsmfr2q.m
mp3rsmfr.m
mp3rsmfrq.m
mp3rsmfsa.m
mp3rsmfs.m
mp3rsmfso.m
mp3rsnorm.m
mp3rsr2r.m # trasfer the sound from R2 to R
mp3rsrr2.m # trasfer the sound from R to R2
README.txt
test.mp3 # Veda-2013-single-Nezryachiy.mp3
2) EXAMPLE:
$ sox -S test.mp3 test.mp3.wav
$ octave
octave:1> [wmp3, FS, BPS] = wavread ("test.mp3.wav");
octave:2> wmp3=mp3rsmfrq(wmp3);
octave:3> wavwrite (wmp3, FS, BPS, "test.mfr.wav");
octave:4> [wmp3, FS, BPS] = wavread ("test.mp3.wav");
octave:5> wmp3=mp3rsmfr2q(wmp3);
octave:6> wavwrite (wmp3, FS, BPS, "test.mfr2.wav");
octave:7> [wmp3, FS, BPS] = wavread ("test.mp3.wav");
octave:8> wmp3=mp3rsmfr2nq(wmp3);
octave:9> wavwrite (wmp3, FS, BPS, "test.mfr2n.wav");
octave:10> quit
3) ANALISE:
$ bash sox-spectrogram-1.sh test.mp3
$ bash sox-spectrogram-1.sh test.mfr.wav
$ bash sox-spectrogram-1.sh test.mfr2.wav
$ bash sox-spectrogram-1.sh test.mfr2n.wav