Ask HN: Guitar tabs online

  • I know you guys probably won't reveal any proprietary information - but I'm so damn curious how this works. So I'm going to go out on a limb and try to guess how this works, and maybe extract some more specific information.

    1) Recognizing the musical notes. From here (http://www.owlnet.rice.edu/~elec301/Projects02/realTime/301P...): "Fourier analysis allows us to decompose any such pressure function into a sum of sinusoids. Therefore, any sound can be represented as a sum of sinusoids. If the sound has a pressure function that is aperiodic with respect to time, decomposition into sinusoids is quite complicated. However, if the sound is periodic with respect to time, it can be easily decomposed and transferred to the frequency domain using a computer and the Fast Fourier Transform." And since each note has a unique frequency/octave associated with it, it could be easily identified via a frequency to note database.

    2) Recognizing the time-measure of the song (i.e., whether the song is 4/4 or 3/5), since this is required to do straight-forward Fourier transform and also perhaps to mark chord changes. I'm guessing this is either done by simple analysis of any periodic and consistent rises in the sound frequency of the song. Or perhaps, this is done via the same Fourier transform analysis of the sound waves and mapping out where the peaks fall.

    3) Recognizing the chords; once you have figured out the notes and beat measure. The rest follows pretty easily, you have a chord database of all of the note-triads to chords and map out the chords accordingly. But the challenge there is, what if you have a rhythm guitar going at the same time while there's a solo? How do you map which notes to which guitar. Perhaps, the instruments are recorded onto different channels and you group on notes according on the degree to which they pan to the left, to the right, etc.

    4) Separating out the instruments from one another; Maybe grouping notes via panning is not enough. Perhaps, you need to do some timbre analysis to group the notes that sound like a guitar vs. notes that sound like a bass guitar. Since each instrument has a distinct harmonics and overtone. You guys have some type of classification algorithm that classifies what portion of the sound belongs to what timbre of the instrument.

    Any comments/response is appreciated.

  • Here's an older HN link covering the same product: http://news.ycombinator.com/item?id=638053

    There's some further information as to how it's achieved in the comments, as well as link to the academic paper the product is based on.

  • Wow, that's some impressive signal processing you've got going there.

    How accurate is it ?

    Possible other output channel (if you got this far) would be automated mp3 to midi transcription.

  • Hmmm, it's taking longer than I'd like to get a confirmation email, so I'll have to try later.

    I'd love it if you added bass tabs. I don't expect the market is large enough to justify it, but I thought I'd ask.

  • The link on the referenced page (http://chords.fm/online/web/) to "Chords! for WinAMP" yields an error:

    We can't find page you have requested.

  • Clickable link http://chords.fm/online/web/

  • Can you figure out a way to port to guitar hero and keep things enjoyable? That would be excellent.

  • this seems like a great idea, I am going to try it when I get home. :) Another thing that interests me, is the composing of the chords completely automated?

  • We are overloaded. Queue right now is 8 - 12 hours.

  • http error when submitting?