[Csnd] rank similarity of two soundfiles
Date | 2019-12-04 16:27 |
From | Da'ud Vyd |
Subject | [Csnd] rank similarity of two soundfiles |
Does anyone know a Csound, Python, or Windows commandline tool that will rank the similarity of two soundfiles? I'm interested in timbre comparison. I'll play the same short MIDI file to render single track audio files with different virtual instruments. Some
tools detect notes and then compare the musical structure. Those tools might see all the audio files as identical. I need something that will rank an electric piano as closer to a piano than to a violin.
|
Date | 2019-12-04 18:14 |
From | Richard Knight |
Subject | Re: [Csnd] rank similarity of two soundfiles |
This is an area that really interests me - I'm not aware of anything for Csound natively at the moment, but I'm (somewhat slowly) working towards writing/porting some of these to Csound.
Aubio with python bindings (maybe only handles feature extraction, similarity may need to be handled with something else)
Musly is a c/c++ lib and has some command line examples
On Wed, 4 Dec 2019 16:27:49 +0000, Da'ud Vyd wrote:
|
Date | 2019-12-04 18:17 |
From | Da'ud Vyd |
Subject | Re: [Csnd] rank similarity of two soundfiles |
Thanks Richard. I looked at Essentia, but the Python bindings don't work on Windows. I think using MFCC in librosa might be my best bet. I'm going to start with the instructions in this jupyter notebook:
From: A discussion list for users of Csound <CSOUND@LISTSERV.HEANET.IE> on behalf of Richard Knight <richard@1BPM.NET>
Sent: Wednesday, December 4, 2019 6:14 PM To: CSOUND@LISTSERV.HEANET.IE <CSOUND@LISTSERV.HEANET.IE> Subject: Re: [Csnd] rank similarity of two soundfiles This is an area that really interests me - I'm not aware of anything for Csound natively at the moment, but I'm (somewhat slowly) working towards writing/porting some of these to Csound.
Aubio with python bindings (maybe only handles feature extraction, similarity may need to be handled with something else)
Musly is a c/c++ lib and has some command line examples
On Wed, 4 Dec 2019 16:27:49 +0000, Da'ud Vyd wrote:
|
Date | 2019-12-04 18:26 |
From | Richard Knight |
Subject | Re: [Csnd] rank similarity of two soundfiles |
That's a shame about the Essentia bindings. I've not actually tried librosa but it does look quite straightforwards - would be interested to hear how it goes.
On Wed, 4 Dec 2019 18:17:57 +0000, Da'ud Vyd wrote:
-- http://rk.1bpm.net/ |