Live data from Hacker News

Show HN: Get the guitar chords from your Spotify playlists

spotifychords.luca.gg

41–50 of 83 posts

Re: Show HN: Get the guitar chords from your Spotify playlists

#41
post #19

You would think getting the notes and converting them to chords, and tablature, would be one of those "exactly suited for neural nets" type of problem. If you want the chords to "Here comes the sun," you can find dozens of hits, but try something slightly obscure and they are hard to come by. (People with great ears have no idea what I am talking about.)

Thus propagating the NN "If all you have is a hammer" trend. I don't quite know the nuance of music theory, but could you not get away with traditional Fourier analysis? You just need to decompose the song into its constituent frequency "bins" right?

No, at the very least you also need to do the instrument separation, e.g. bass might match guitar chord root note at one moment, and do something entirely different half a second later, and of course in a coherent song all the different instruments will merge in the same frequency bins, either directly or with their overtones. Also, for certain instruments and effects on e.g. guitar amps the strongest peaks of Fourier transform for the instrument output may not necessarily match the notes that are actually being played.

Re: Show HN: Get the guitar chords from your Spotify playlists

#42
post #27
post #17

Earlier quoted context omitted.

I've worked on this problem for some time on a personal project, and I'm pretty convinced you can basically solve this problem without deep learning or AI techniques, and instead use non-negative matrix factorization[0] as a bank of note templates (from their spectrograms). I have a fairly well working proof of concept and the approach is supported by the literature. [0]: https://en.wikipedia.org/wiki/Non-negative_ma…

As an amateur musician I see this as a missing holy grail killer app. I'd love to have it just to pull the chords out of some of my own old recordings that I can't figure out how to repeat. If anyone knows of any apps (even prototypes) that can do this, please provide links.

Ableton Live has a Audio to Midi [1] feature that works pretty well to extract notes from audio. Melodyne [2] is a very powerful tool to mess around with notes in general.

There's also some open source projects out there, such as aubio [3] and Omnizart [4].

[1] https://www.ableton.com/en/manual/converting-audio-to-midi/

[2] https://www.celemony.com/en/melodyne/what-is-melodyne

[3] https://aubio.readthedocs.io/en/latest/cli.html#aubionotes

[4] https://music-and-culture-technology-lab.github.io/omnizart-...

Re: Show HN: Get the guitar chords from your Spotify playlists

#43
post #8

Earlier quoted context omitted.

Seriously ultimate guitar just effed over so many people who put time and effort into spreading guitar chords. That and their site is covered in so much ad content.

I have contributed many tabs to guitar archives over the years. Some are available via Ultimate Guitar. How am I being ‘effed over’? I might be, but I haven’t spotted how.

It's classic tragedy of the commons - most of ultimateguitar and other sites have just scraped 'content' off the good old spirit of the early web all the way back to newsgroups then put a paywall and ads all over it.

still beats pre internet though when you'd buy an expensive book of sheet music with first position camp fire chord diagrams and a piano arrangement written out by someone who appeared to have little feel for the actual recorded music.

Without inversions, suspended chords, added base notes etc most chord naming isn't much use, tabbed out diagrams for guitar and keyboard are really helpful along with all the wonderful youtube content from jamesjames, late night lessons etc

Re: Show HN: Get the guitar chords from your Spotify playlists

#44
post #3

Against my better judgement I actually logged in with Spotify, only to find that it just didn't work. I'm not really sure what I was expecting anyway. There used to be a great trade in guitar chords online, but then lots of small sites got taken down and ultimategyitar tried to put a big shitty paywall around years and years of high quality content made by volunteers and often scraped from other sites.

I learned to play guitar back in the 90s when the OLGA was still a thing. UG sucks for precisely the reasons you mention. I suppose the trade-off is that now all the great folks who were making nice tab content are on YT, but still, if you'r business model is making money off aggregating a bunch of content people created in the early 00s because the love of it, then that's hyper lame. I still use UG if I am in a hurr…

Heh...a guy I knew in college got a meeting with admin when he thought it would be cool to host an OLGA mirror on his university web storage around 1995 or 1996.

Re: Show HN: Get the guitar chords from your Spotify playlists

#45
post #3

Against my better judgement I actually logged in with Spotify, only to find that it just didn't work. I'm not really sure what I was expecting anyway. There used to be a great trade in guitar chords online, but then lots of small sites got taken down and ultimategyitar tried to put a big shitty paywall around years and years of high quality content made by volunteers and often scraped from other sites.

As an alternative, I use cifraclub.com.br for many years, and enjoy the interface and the overall quality of the chords (not affiliated with them).

It's not in English, but you should be able to figure out where's the search bar and use it without much effort.

Re: Show HN: Get the guitar chords from your Spotify playlists

#46

UltimateGuitar is so pushy with their ads and subscriptions, it's a crime. Neat shortcut though. Thanks for the effort.

uBlock + some extra style blocks works pretty well to make it go away IME. The extra style blocks will remove the fake overlays with videos that they add, or the tight padding, etc.

Re: Show HN: Get the guitar chords from your Spotify playlists

#47
post #3

Against my better judgement I actually logged in with Spotify, only to find that it just didn't work. I'm not really sure what I was expecting anyway. There used to be a great trade in guitar chords online, but then lots of small sites got taken down and ultimategyitar tried to put a big shitty paywall around years and years of high quality content made by volunteers and often scraped from other sites.

I actually run a guitar chord website, www.guitarparty.com, that provides chords for songs, but also some additional functionality such as PDF books, transposing songs etc for subscribers. But the content is free although you have to tolerate a few Google ads. We're mostly local to Iceland but there are always some users and subscribers from around the world. We once attempted to go the legal route globally and make…

Does your site or any other allow a user to click notes on a fretboard and have the app deduce the chord from the positions? I know a lot of chords the names of which I have forgotten, and don't have the theory chops to work it out myself

Re: Show HN: Get the guitar chords from your Spotify playlists

#48
post #22
post #19

Earlier quoted context omitted.

Thus propagating the NN "If all you have is a hammer" trend. I don't quite know the nuance of music theory, but could you not get away with traditional Fourier analysis? You just need to decompose the song into its constituent frequency "bins" right?

The trouble with analysing "notes" in a composition (or even just with a polyphonic instrument) is the pesky harmonics. The timbre of different instruments produce harmonics that happen to be the fundamental frequencies of other notes.

Would it be possible to eke out the harmonics by saying (for 'x' type of guitar tuned in 'y' way with 'z' effect, harmonics look like this). Like if the fundamental frequency is f, then the whole note looks like 0db at f and -5db at 2f and -10db at 3f or something. Then, when you're looking at the frequency domain, you start from the lower notes and say "hmm, looks like there's a fundamental at f, are the expected harmonics there"? If yes, that's the note, if no, it's something else.

Re: Show HN: Get the guitar chords from your Spotify playlists

#49

Earlier quoted context omitted.

I actually run a guitar chord website, www.guitarparty.com, that provides chords for songs, but also some additional functionality such as PDF books, transposing songs etc for subscribers. But the content is free although you have to tolerate a few Google ads. We're mostly local to Iceland but there are always some users and subscribers from around the world. We once attempted to go the legal route globally and make…

Does your site or any other allow a user to click notes on a fretboard and have the app deduce the chord from the positions? I know a lot of chords the names of which I have forgotten, and don't have the theory chops to work it out myself

Heres one https://jguitar.com/chordname

Re: Show HN: Get the guitar chords from your Spotify playlists

#50
post #26

You would think getting the notes and converting them to chords, and tablature, would be one of those "exactly suited for neural nets" type of problem. If you want the chords to "Here comes the sun," you can find dozens of hits, but try something slightly obscure and they are hard to come by. (People with great ears have no idea what I am talking about.)

Ubisoft has a new version of rocksmith coming out and plans to build most of their library on this technology.

Wait, really? I would think they would use some kind of canonical source for the tabs they've licensed. Maybe I expect too much.
Post reply on HN