Skip to content

Commit

Permalink
added examples
Browse files Browse the repository at this point in the history
  • Loading branch information
CarmineCella committed Mar 24, 2021
1 parent e6fc511 commit e798be4
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 6 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
Binary file modified generation/Vox_clarinet.wav
Binary file not shown.
Binary file removed generation/Vox_horn.wav
Binary file not shown.
Binary file added generation/Vox_kitchen_onsets.wav
Binary file not shown.
Binary file removed generation/Vox_orchestra.wav
Binary file not shown.
Binary file added generation/Vox_orchestra_onsets.wav
Binary file not shown.
Binary file removed generation/Vox_orchestra_segments.wav
Binary file not shown.
Binary file modified generation/Vox_various_instr_onsets.wav
Binary file not shown.
10 changes: 5 additions & 5 deletions src/params.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit e798be4

Please sign in to comment.