Re:Show HN: Cloning a musical instrument from 16 seconds of ...
by not1ofU on Friday February 25, 2022 @04:52PM
(#30472793)
I dont think I understand what you mean, but, if I do, then you could look into using spleeter. It separates musical stems.
https://news.ycombinator.com/item?id=21431071
https://github.com/deezer/spleeter/wiki/2.-Getting-started#u...
Re:Show HN: Cloning a musical instrument from 16 seconds of ...
by willis936 on Friday February 25, 2022 @04:55PM
(#30472821)
The task I gave myself was to subtract out the drum beat (the song graciously gives the isolated loop before the instrument comes in), then mix/baseband the instrument to whatever frequency I wanted. If all went well I would make a complex FIR filter that I would pass tones into.
This model assumes the timbre is independent of the tone, but I can see now that this assumption is quite wrong and something more complicated (like this ML modeling) would be needed.
Re:Show HN: Cloning a musical instrument from 16 seconds of ...
by malka on Friday February 25, 2022 @07:25PM
(#30474108)
https://www.steinberg.net/fr/spectralayers/
This might help you?
Re:Show HN: Cloning a musical instrument from 16 seconds of ...
by squeaky-clean on Saturday February 26, 2022 @12:39AM
(#30475436)
That synth is extremely distorted post summing of the voices. (That whole album has so much distortion, it's lovely).
So not only is timbre not independent of frequency, summing multiple notes is also non-linear. The "beating" this causes is most obvious on the second chord to play. This beating is not consistent as the notes change, it's based on the difference in frequencies between the two notes being played.
https://imgur.com/kmtoMkd
It's pretty easy to filter out the drums since most of the energy is in other bands. Looking at the spectrum again I don't think a simple spectral replication will nail the sound right. It looks like there is some sort of beat phenomenon that isn't present at all center frequencies.