Live data from Hacker News

Guitar chord karaoke with Vamp, Chordino, and FFmpeg (2022)

dylanbeattie.net

21–30 of 39 posts

Re: Guitar chord karaoke with Vamp, Chordino, and FFmpeg (2022)

#21

Excellent, also check out the https://alphatab.net library which would let you render guitar pro tracks for the video. Around 2013 I built a guitar tab synced to youtube video proof of concept thing and promptly let it rot, should have done more with it!

Soundslice (https://www.soundslice.com/) is a fully baked version of this idea. Tabs synced with videos, with a full notation/tab editor and tons of built-in music practice tools.

Re: Guitar chord karaoke with Vamp, Chordino, and FFmpeg (2022)

#23
Oh this is very nice, I hadn't seen it before. A few random thoughts:

- The Vamp Plugin Pack for Mac finally got an ARM/Intel universal build in its 2.0 release last year, so hopefully the caveat mentioned about the M1 Mac should no longer apply

- Most of the Vamp plugins in the Pack pre-date the pervasive use of deep learning in academia, and use classic AI or machine-learning methods with custom feature design and filtering/clustering/state models etc. (The associated papers can be an interesting read, because the methods are so explicitly tailored to the domain)

- Audacity as host only supports plugins that emit time labels as output - this obviously includes beats and chords, but there are other forms of analysis plugins can do if the host (e.g. Sonic Visualiser) supports them

- Besides the simple host in the Vamp SDK, there is another command-line Vamp host called Sonic Annotator (https://vamp-plugins.org/sonic-annotator/) which is even harder to use, equally poorly documented, and even more poorly maintained, but capable of some quite powerful batch analysis and supporting a wider range of audio file formats. Worth checking out if you're curious

(I'm the main author of the Vamp SDK and wrote bits of some of the plugins, so if you have other questions I may be able to help)

Re: Guitar chord karaoke with Vamp, Chordino, and FFmpeg (2022)

#24
post #5

What a cool thread! I like how you put the specifics of your workflow and especially details of the commands you used! Particularly with the vamp commands, because as you say, they are somewhat inscrutably named/documented. I started dabbling with vamp as well a couple years ago, but lost track of the project as my goals started ballooning. Although the code is still sitting (somewhere), waiting to be resuscitated. I…

> I think that's probably what chordify.com does [...] I don't think they are using chordino

I think they were initially using the Chordino chroma features (NNLS-Chroma) but a different chord language model "front end". Their page at https://chordify.net/pages/technology-algorithm-explained/ seems to imply they've since switched to a deep learning model (not surprisingly)

Re: Guitar chord karaoke with Vamp, Chordino, and FFmpeg (2022)

#25
Not sure if the author will eventually show up here, but I'm curious if they managed to get it working at scale and if they ran into other challenges?

One 'feature' that immediately came to mind for me is automatic transposing for use with a capo. Many hobby guitarists cannot play barre chords for an entire track, especially if they don't know it already. Transposing is already a thing for vocal karaoke and quite common. Some players may be skilled enough to transpose in their head to take advantage of the capo, but juggling the lyrics, instrument, and transposing at once is quite taxing mentally.

Cool project!

Re: Guitar chord karaoke with Vamp, Chordino, and FFmpeg (2022)

#27
post #11

Earlier quoted context omitted.

Probably either creating stems from karaoke multitracks (e.g. [0]) or using Spleeter [1] 5-stem mode [0] https://www.karaoke-version.com/ [1] https://github.com/deezer/spleeter

is there an ai model that can do this at the moment?

I'm using https://github.com/adefossez/demucs to split drums, bass, voice and "everything else".

Works pretty well for my personal/hobbyist use (quality also depends on genre and instruments used - synth stuff tends to bleed into voice a bit).

Re: Guitar chord karaoke with Vamp, Chordino, and FFmpeg (2022)

#28
post #11

Earlier quoted context omitted.

Probably either creating stems from karaoke multitracks (e.g. [0]) or using Spleeter [1] 5-stem mode [0] https://www.karaoke-version.com/ [1] https://github.com/deezer/spleeter

is there an ai model that can do this at the moment?

I've tried a few sites that show up in a search for ai stem separation. Some work pretty well for rock music.

If I recall correctly, https://vocalremover.org/ worked pretty well. Though, it's pretty limited in the free tier and only allows payment via patreon. I never tried the paid version because I don't have a patreon account and don't want one.

Re: Guitar chord karaoke with Vamp, Chordino, and FFmpeg (2022)

#30
post #11

Earlier quoted context omitted.

Probably either creating stems from karaoke multitracks (e.g. [0]) or using Spleeter [1] 5-stem mode [0] https://www.karaoke-version.com/ [1] https://github.com/deezer/spleeter

is there an ai model that can do this at the moment?

Try moises
Post reply on HN