frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: YouTube Guitar Tab Parser

https://github.com/marcelpanse/youtube-guitar-tab-parser
43•neogenix•2h ago
I created a simple CLI that turns a YouTube guitar-lesson video into a PDF of the guitar tab.

There are services that transcribe music from Youtube videos into tabs, but they never work well enough for me. Instead I'm taking a simpler approach. It downloads the video, samples frames, uses Claude vision to locate the tab region, crops every frame to that region, de-duplicates the crops by the bar number printed on each line of the score, and stitches the distinct tab lines vertically into a PDF.

I didn't test it on a lot of different Youtube videos yet, so problem will arise for sure.

Comments

kiaansaraiya•2h ago
i've actually been looking for something like this for so long. all the online transcribers make me pay and i just wanna learn how play songs from a video. this is a great idea!
neogenix•2h ago
I had exactly the same issue. I'm learning to play guitar and don't want to pay 8,50 per tab. I simply want to learn something new and discard it. I noticed I'm learning faster if it's printed then on-screen.
rc5150•1h ago
learn by ear! It's free and you don't need youtube!
sublinear•1h ago
This is very true. Tabs can help in niche cases where the precision really matters, but most tabs are not that good unless written by the original artist (rare).

If I had spent my first year learning the instrument properly, I wouldn't have wasted the next decade after that fumbling around so much.

RyanOD•1h ago
This is absolutely true...but it takes a LOT of time. Fortunately, I first picked up a guitar when I was 13.

I can't imagine getting started with any instrument as an adult. Actually, I'm trying to improve my piano playing right now and it's nearly impossible.

adrianh•2h ago
I'm curious how it works for videos that contain moving tab (as in, the playhead stays in the center while the tab moves behind it). Seems like that sort of tab wouldn't work with this approach...?

Kudos from one of the Soundslice guys — we've been making web-based tab and sheet music stuff since 2012. :)

neogenix•2h ago
It wouldn't work for that type of video. As far as I've seen almost all tutorial videos on Youtube have a fixed tab bar though. I'm using it only for learning guitar (i'm a beginner).
mschulkind•1h ago
I don't have an answer, but wanted to say that I started using Soundslice about 9 months ago and I absolutely love it. It does exactly the part of transcribing that I want done for me and nothing more, which is basically none of it except the boring stuff.
adrianh•51m ago
Hey, great to hear! Thanks for taking the time to write that. :) Keep transcribing and playing music!
devin•48m ago
Care to sell me on it? How dose it compare to musescore?
worldsavior•2h ago
I don't know how exactly Claude vision works but isn't just using good old computer vision much cheaper?
neogenix•2h ago
Yes, for sure. You could probably train a specific vision model for this style of image parsing and run it on device for free. However, this was much easer to make :-)
Diogenesian•1h ago
Almost all those people charge for the PDFs. They know the PDF is more useful, that's why the video is free.

I don't think your software is (or should be) illegal. But it's a form of theft, and incredibly unethical. These people worked very hard on these tabs and don't make much money. You (and kiaansaraiya and neogenix) should be ashamed of yourselves. You don't deserve your guitar if you steal tabs from working musicians.

breaker-kind•1h ago
counterargument -- these people are making money off of transcribing other people's parts, with no profits shared with the composers.
Diogenesian•1h ago
That's a bad counterargument. Transcribing is transformative. Copying a video into a PDF is not.
almostjazz•1h ago
I'm not a lawyer but based on some googling it seems like the overwhelming consensus is that selling transcribed sheet music or tabs if you do not have permission from the copyright holder of the song is illegal.

https://www.thatgreatcomposer.com/blog/is-it-legal-to-transc...

https://law.stackexchange.com/questions/96352/dual-question-...

https://www.drumforum.org/threads/what-is-the-legal-basis-fo...

dieselgate•1h ago
Are there technical hurdles around just programmatically generating a tab from any song or audio recording itself?

This is interesting and all but seems to use computer vision rather than audio processing?

simonok•40m ago
Using computer vision to read the existing tab from the page would be more efficient and precise than trying to use audio processing to isolate individual notes from a single instrument in a potentially busy audio track. The existing tabs also nail down which string and fret is used for each note, which would be a difficult task for audio processing because there are multiple combinations of string and fret for any given note. For example, an open G can also be played on the 5th fret of the D string, or the 10th fret of the A string, or the 15th fret of the E string.
rc5150•1h ago
Give me a tool that scrapes tabs from Ultimate-Guitar and I'll be a happy camper :)
smalltorch•37m ago
This is one i could get behind. I mean, all the tabs are crowdsourced anyway so why can you throw up the paywall only after all the tabs are made.

I only need the clean tab and transposing would be nice.

TerminalTabs anyone?

bstsb•31m ago
as far as i remember only the Pro tabs are paywalled (the ones created professionally)? the community tabs are all freely available on web, and carry little restrictions on mobile
smalltorch•22m ago
Exactly why I can get behind a scrape here. They are already freely accessable.

I don't like having to switch to desktop mode to transpose though. They want you to get the app to do it on mobile which is enough of a reason to make a special program to do exactly what I want.

mrln•20m ago
Let me introduce you to freetar! It currently has issues due to cloudflare blocking, however I have already created a pull request that fixes this [0]. Given the code is pretty straightforward, turning it into a scraper shouldn't be too hard of a task!

Here's a working version: https://freetar.sievers.dev

[0] https://github.com/kmille/freetar/pull/90

XCSme•1h ago
I was excited to use it, as I really wanted something like this, then I realized it needs AI/Claude (?)

That sounds like it can get quite costly. Probably there are ways to do it without AI, I would rather manually annotate the tab area with a visual editor.

motoxpro•7m ago
How would you do this without SOME sort of vision/audio model? Are you saying just not an LLM?
cwt137•1h ago
It would be nice to have a link to an example YT video to see what exactly the AI is trying to locate on the screen.
shermantanktop•19m ago
I learned this one:

https://m.youtube.com/watch?v=07N4VVSmYLU&list=RD07N4VVSmYLU...

…exactly the way you described. Pause, screenshot, adjust color/contrast, assemble in a pdf. Super annoying.

akramachamarei•1h ago
As an occasional amateur music transcriber I'd say the goal of transcription is not transformation. If I'm transforming, I've failed :)

Inevitably the transcriber makes decisions in how to deviate from the reference recording, be it omission of instruments, microchanges in tempo and pitch or articulation. In theory a good transcription is an exact graphical representation of the abstract sonic intent of the artist.

Of course, if you are combining voices, changing chords, it approaches an arrangement which is a more creative endeavor.

rc5150•1h ago
"you don't deserve your guitar if you steal tabs from working musicians"

the same "working" musicians who didn't write the music they're making tabs for, didn't get any permission from the original artists, and in many cases aren't actually playing/tabbing the parts as originally written.

A "working" musician is someone who doesn't monetize someone else's work, regardless of how super hard it must be to write a PDF.

I'd say someone should take your guitar away but I'd bet money you're not doing anything groundbreaking with it anyway.

earthnail•1h ago
But then the solution is to just ignore these musicians.

But if you do find that they made something valuable that you can’t find elsewhere, then you should compensate them for that. Because yes, it is a lot of work.

asdff•20m ago
There are examples on github from the beforetimes (preai). I made my own little version with a basic ui in python a couple years ago. Works pretty good. Best to pull the powertab or guitar pro tab versions though and open in tuxguitar.

Here is what I was cribbing from with my own version. Seems they updated it since.

https://github.com/jabbey1/UGDownloader

Economic Possibilities for our Grandchildren (1931)

https://fermatslibrary.com/s/economic-possibilities-for-our-grandchildren
1•mustaphah•4m ago•0 comments

In Federal Prisons, Some Guards Use Fear and Violence to Stifle Complaints

https://www.themarshallproject.org/2026/07/13/california-federal-prison-abuse
2•Jimmc414•6m ago•0 comments

Tab. – a public ledger for tracking money friends owe you

https://thetab.io
2•concentric•7m ago•0 comments

LAPD Regularly Pulled over Innocent People Plate Readers Flagged Cars as Stolen

https://www.404media.co/lapd-regularly-pulled-over-innocent-people-because-license-plate-readers-...
2•Jimmc414•7m ago•1 comments

Dressed to Kill: Fashion Throughout Bond Eras

https://dressed-to-kill.vercel.app/
2•atlasunshrugged•8m ago•1 comments

Musk's Starlink Socks Customers with $1500 'High Demand' Surcharge

https://www.techdirt.com/2026/07/13/musks-starlink-socks-customers-with-1500-high-demand-surcharge/
2•lemonberry•9m ago•0 comments

Ask HN: What are your personal websites?

3•basilikum•10m ago•1 comments

BYD surpasses Tesla in global race; 'do-or-die' crisis in China's market

https://www.scmp.com/business/china-evs/article/3359708/byd-surpasses-tesla-global-race-do-or-die...
3•breve•11m ago•0 comments

The pelican benchmark is saturated so we made 9 models draw a MacBook Pro in SVG

https://playcode.io/blog/macbook-svg-benchmark
2•ianberdin•12m ago•0 comments

ORA – AI coding agent that blocks its own commits if security scan fails

https://auremcto.com/
2•tjsandhu•14m ago•0 comments

Michigan says diarrhea outbreak may be linked to lettuce, salad greens

https://www.cnn.com/2026/07/13/health/cyclospora-parasite-diarrhea-outbreak-increase
2•Bender•15m ago•0 comments

Israel's Operation to Cultivate Ahmadinejad

https://www.nytimes.com/2026/07/13/us/politics/israel-mahmoud-ahmadinejad-iran.html
2•u1hcw9nx•16m ago•1 comments

Manifest Man

https://www.thenewcritic.com/p/manifest-man
2•ekluger•18m ago•0 comments

Lobste.rs is now running on SQLite

https://lobste.rs/s/ko1ji1
12•abetusk•23m ago•0 comments

Forgein – portable context layer for AI tools, native MCP server (MIT CLI)

https://app.forgein.ai
2•shadowmodder•24m ago•0 comments

Which Professional Credentials Actually Matter?

https://corvi.careers/blog/which-certifications-matter-by-job-family/
4•sp1982•28m ago•0 comments

What your dog's vet bill says about America's health care system (2016)

https://www.cbsnews.com/news/what-your-dogs-vet-bill-says-about-americas-healthcare/
2•paulpauper•29m ago•0 comments

The American suburbs are better than you think

https://www.noahpinion.blog/p/the-american-suburbs-are-better-than
4•paulpauper•30m ago•0 comments

Ask HN: How do you troubleshoot desktop Linux crashes/freezes?

2•Curiositry•33m ago•0 comments

Wyoming's 'Explosive Diarrhea' Cases Double, Linked to Travel Outside of U.S.

https://cowboystatedaily.com/2026/07/13/wyomings-explosive-diarrhea-cases-double-linked-to-travel...
4•Bender•34m ago•1 comments

Show HN: Nihonpost – I parsed Japan Post's KEN_ALL.CSV so you don't have to

https://github.com/Thiya11/nihonpost
3•kitsunechaos•40m ago•0 comments

Ask HN: AI Agent and harness containerization/security recommendations

2•dv35z•40m ago•0 comments

Why 'Asia's cleanest village' bans tourists on Sundays

https://www.bbc.com/travel/article/20260625-why-asias-cleanest-village-bans-tourists-on-sundays
4•gmays•40m ago•0 comments

Trump Shrinks Grand Staircase-Escalante and Bears Ears National Monuments

https://www.sltrib.com/news/environment/2026/07/13/president-trump-shrinks-bears-ears/
3•almog•41m ago•0 comments

Four awful new privacy-eroding features from Meta in a month

https://manualdousuario.net/en/meta-instagram-ai-facial-recognition/
5•rpgbr•43m ago•0 comments

Show HN: I built a one-prompt hackathon platform, free entry, sponsored prizes

https://1shotchallenge.ai
4•lucasmartinic•45m ago•0 comments

" We care deeply about your privacy and respect customer choice"

https://twitter.com/spacexai/status/2076692402442846289
4•telotortium•46m ago•0 comments

Show HN: A reproducible harness for catching agent-eval cheating

https://github.com/sebuzdugan/agent-eval-harness
2•sebuzdugan•47m ago•0 comments

Show HN: Raftig – Plant Breeding X Naval Combat Roguelike

https://raftig.seldoncortex.com/
2•EstanislaoStan•48m ago•0 comments

Karios AI Agent Carzy

https://github.com/adnqcr7-code/kairosv2
2•kairos_agent•55m ago•0 comments