diff --git a/README.md b/README.md index d433ff5..84987db 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,15 @@ # [Ma.p.l.e] -Maple (matching pursuit linear expansion) is an experimental framework for sound processing based on time/frequency decomposition and dictionary learning. +*Maple* (matching pursuit linear expansion) is an experimental framework for sound processing based on time/frequency decomposition and dictionary learning. +An interesting effect that Maple can do is sound hybridisation. Here you are some examples: + +- [Original sound (Vox)](samples/Vox.wav) +- [Vox and clarinet](generation/Vox_clarinet.wav) +- [Vox and door noises](generation/Vox_doors.wav) +- [Vox and kitchen noises (onsets)](generation/Vox_kitchen_onsets.wav) +- [Vox and orchestra (onsets)](generation/Vox_orchestra_onsets.wav) +- [Vox and various instruments (onsets)](generation/Vox_various_instr_onsets.wav) For more information, please contact the author at carmine.emanuele.cella@gmail.com diff --git a/generation/Vox_clarinet.wav b/generation/Vox_clarinet.wav index 51679e6..18cebc2 100644 Binary files a/generation/Vox_clarinet.wav and b/generation/Vox_clarinet.wav differ diff --git a/generation/Vox_horn.wav b/generation/Vox_horn.wav deleted file mode 100644 index 6a613f1..0000000 Binary files a/generation/Vox_horn.wav and /dev/null differ diff --git a/generation/Vox_kitchen_onsets.wav b/generation/Vox_kitchen_onsets.wav new file mode 100644 index 0000000..a1d411f Binary files /dev/null and b/generation/Vox_kitchen_onsets.wav differ diff --git a/generation/Vox_orchestra.wav b/generation/Vox_orchestra.wav deleted file mode 100644 index 80d0c75..0000000 Binary files a/generation/Vox_orchestra.wav and /dev/null differ diff --git a/generation/Vox_orchestra_onsets.wav b/generation/Vox_orchestra_onsets.wav new file mode 100644 index 0000000..028a63b Binary files /dev/null and b/generation/Vox_orchestra_onsets.wav differ diff --git a/generation/Vox_orchestra_segments.wav b/generation/Vox_orchestra_segments.wav deleted file mode 100644 index 6763d6e..0000000 Binary files a/generation/Vox_orchestra_segments.wav and /dev/null differ diff --git a/generation/Vox_various_instr_onsets.wav b/generation/Vox_various_instr_onsets.wav index ad92b31..c07ac53 100644 Binary files a/generation/Vox_various_instr_onsets.wav and b/generation/Vox_various_instr_onsets.wav differ diff --git a/src/params.txt b/src/params.txt index cfb38d6..0a6fed7 100644 --- a/src/params.txt +++ b/src/params.txt @@ -6,12 +6,12 @@ ; for onsets and frames you need to specify the folder containing the samples (only mono files 16 bit) ; for onsets you need to specify also the threshold (0-1) and the timegate (sec.) for the segmentation ;dictionary onsets ../../dict .4 .01 -;dictionary frames ../../dict -dictionary onsets ../../dict2 .2 .01 -;dictionary frames ../../dict2 +;dictionary onsets ../../dict/Kitchen .2 .1 +;dictionary onsets ../../dict/orchestra .2 .1 +;dictionary frames ../../dict/orchestra ;dictionary frames /Users/Carmine/Projects/Media/Datasets/TinySOL/Winds/ClBb ;dictionary frames /Users/Carmine/Projects/Media/Datasets/TinySOL/Brass/Hn -;dictionary onsets /Users/Carmine/Projects/Media/Sounds/Samples/instruments .2 .01 +dictionary onsets /Users/Carmine/Projects/Media/Sounds/Samples/instruments .2 .01 ;dictionary frames /Users/Carmine/Projects/Media/Sounds/Samples/instruments ;dictionary gabor ;dictionary gammatone @@ -38,7 +38,7 @@ freq_limit 17000 ; use 40-120 components for dictionaries 'gabor' and 'gammatone' ; use 1-6 components for dictionaries 'frames' and 'onsets' ; use 4-8 overlap factor -components 10 +components 2 overlap 4 ; pitch shift and time stretch