Hacker Newsnew | past | comments | ask | show | jobs | submit | titzer's commentslogin

Yeah, I work in programming languages and always liked the idea of notation do-overs. But after getting more into music these days, I've returned to learning and appreciating musical notation. For better or for worse, it is the standard way of writing music. If you want to get serious at music, you need to know it.

There's a lot to hate about musical score, but the A-G notes and sharps and flats aren't all that bad once you realize that everything is based on the 7 note diatonic scale. In C major, it's just the names of the letters with no sharps or flats. On the piano, C major is just the white keys, which will get you pretty far--tons of songs are in C major. You have to remember B-C and E-F are the short intervals, and memorize the 2-2-1-2-2-2-1 semitone pattern, but after that, a lot follows. Then minor is just starting a different note in this pattern, as are all the other modes. There are other scales too, but this one main pattern is going to cover 98% of all music you run across.

There's a huge amount of stuff that gets unlocked when you just give up fighting the standard and instead learn to go with it. Music is a language, and the way we write it down is maybe a little suboptimal, but then again, the "optimal" way to write it down has a maximum on how much better it could possibly be.

I do have a beef with the notation for rhythm, because as it is, the standard musical notation is just a shorthand form for fitting more music horizontally. For computer-based music, I find it a lot easier to follow a display where horizontal length is proportional to time. We've got infinite screen space, so no need to compress anymore.


This is a great domain for vibe-coding your own apps. I put together a combined music notation / ear trainer app as a single HTML app: https://htmlpreview.github.io/?https://github.com/titzer/Rif...

I've been working on a voice trainer that uses DSP to analyze a signal and do real-time pitch tracking: https://htmlpreview.github.io/?https://github.com/titzer/Rif...

The latter I've been using to suck just a tiny bit less at singing.


Very nice!

My wish list for UX / features:

For the Note Quiz, it was not immediately obvious to me what I need to do - i.e., pick from one of the four what were answer choices. Consider adding some instructions for newbies like me.

I got 90% right for the Note quiz. On Key Quiz, I won't even get 20%. :-) Either way, it would help to have a "Teach" mode also, not just Quiz/evaluate mode. This may show me two keys/chords/sequences side-by-side along with the answers (and prioritizing the cases that I tend to get wrong). I could then hear those repeatedly at will to learn to distinguish.

For the pitch tracking, I wish for a view that is not centered on a waveform but on the instrument. My goal is to improve my voice to sing the right notes/sequence, not the entire time history of it. So a long/moving waveform is less helpful.

A simple view for notes training could be a horizontal piano roll (seeing it like a piano in the front of me) showing a red mark on the piano roll itself for the note / frequency I am singing.

For note sequences and transitions, the same view could show (vertical) waveforms like you have in the Note Quiz (three notes lasting for some three seconds) comparing the desired vs. the actual.

Thanks!

PS: Are you planning to add some FOSS license?


All interesting suggestions. I might add a toggle for horizontal mode, but would probably retain both modes to not lose functionality. For my other apps I have forks of each version, with the idea that if it changes radically from one version to the next, one can always go back to a live copy of the old version.

I pushed an Apache 2.0 license. Feel free to clone the GitHub repo and throw Claude at it. It might surprise you how well it can add features to a single file HTML; it can work out basically how the entire thing works without needing to read any docs. So by all means, vibe code a fork :)


Lovely!

I have been wishing to make an app like this for years. I have Sing-and-See, Ear Master, etc., but none seems to get the UX right (for me).

Will play around with vibe-coding when there's opportunity. Thanks for adding the license!


Amazing, I just used the ear training one to hum a tune and then find the notes to play it

I guess nuclear weapons were just inevitable the moment the first quarks were assembled into a proton, right?

if it can be used to murder people it will be.

the only reason we dont have antimatter weapons or gravity guns is because we haven't figured out how.


We have international treaties that ban biological and chemical weapons. Other weapons that are regulated include anti-personnel mines, cluster bombs, and blinding lasers. Expanding bullets are banned in military uses as are incendiary weapons against civilian targets.

That's the state today. Throughout history there's been a long negotiation about what weapons have been allowed in combat.


Unlike most places in Europe, America has never had a revolution where they deposed the ruling class and those with political power. Americans tell themselves they live in a free country with a government run by the people. It is increasingly obvious that that is a lie.

we regularly depose those with political power. In elections.

And the wealthy die or stop participating within around 30 yrs of becoming wealthy normally. And compete themselves across idiology. Soros, Koch, Musk and Moskowitz all have very different packages of political beliefs they advocate vs each other


I always point this out too. They had a war of independence, the main goal of which was so the elite slave owning class wouldn't have to pay tax. Yet they call it a revolution.

They have never had an actual revolution akin to French revolution and the July revolution.


except the courts are somewhat functional, and the law has a lot of pro-privacy and pro-consumer basis. It is not so simple as "lie" but, the clay feet of the idol are showing today.

I still can't believe they killed iTunes. I used to have my entire digital music library in iTunes. Most of that was music I had ripped myself from CD, but I had a handful of albums I bought of iTunes and even some TV shows. When they wholesale abandoned iTunes and deleted from Mac OS in favor of...whatever Apple Music is, I knew I'd never trust them again.

I searched for some decent mp3 players for a while, and even used AIMP for a while, but nowadays I think I'll just vibe code my own with my own interface and rely on the local file system and folder mounts to do the job. I really love this new era where I can just use AI to build a custom thing for myself and forget about all the predatory crap out there, especially from the OS vendors. I don't need streaming, I don't want it. I would have kept buying albums off iTunes, but since it sucks so much I'll just buy it on CD, thanks.


You can turn off the cloud service in Apple Music and still use it with your local tracks and music downloaded from the iTunes Music Store (which still exists).

I did this for most of last year. I had all local music in Apple Music, disabled the cloud stuff, and synced it all to my iPhone by plugging it in with a cable, as if it was an old iPod. It all still worked.


Yes, but I have a big pet peeve about the offline experience.

In iOS Music, tapping the artist name on a song launches the artist’s cloud Apple Music page —- even if you’ve hidden paid Apple Music.

Disabling cellular data for the Music app fixes this by showing an album view of the downloaded music from the artist. However, the cloud version is unavoidable on WiFi. It’s a small but annoying example of how Apple made the classic experience worse to push their subscription product.


Turning off the cloud service just does the syncing thing right? What about turning off the Apple Music service so that the only thing visible is your local content? That's what pisses me off the most.

That's what I meant by cloud services. It hides the Apple Music part so it defaults to your local stuff.

Thought if I remember correctly, search was still showing it, which was a little annoying. But it depends on how much you search.

I'm currently using the service right now, so I can't really check if anything has changed since last year when I was doing it.


I've only ever used Apple Music with local content. On iOS the only indication to me that non-local content is even possible is the radio tab at the bottom of the screen.

On MacOS I think it opens to the online home page, but I use it so infrequently I'm not sure. I pretty much only use it to buy music from iTunes.


VLC on iPhone has served me more reliably than Apple Music.

I've recently tried syncing local content to my phone, but to find that content on the phone is difficult. The phone really wants to show me Apple Music stuff. I have to Library->Downloaded->Songs. Going to Artists or Albums just shows me "Download Music to Listen Offline". I really just don't want to spend the time I previously spent on my iTunes library all over again. I was really just trying to quick&dirty add content. They've made this unnecessarily difficult and I despise them for it.

Just go to the Library tab in the phone app. That's where your own stuff is located.

I have over 8000 songs synced to my phone, 100% from local files on my computer.

I never activate the "library sync" BS that Apple tries to force on you, because historically it has replaced your copies with incorrect or "remastered" (AKA dynamically compressed to hell) versions from Apple servers.

I've even caught it switching "library sync" on without permission during an update.


Please re-read what I wrote. I know where the local stuff is. It doesn't fix the glitch that app is

That's not reflected by your comment, which I read and directly replied to:

"to find that content on the phone is difficult"

How? You tap Library, then Songs. There's all your music.


I don't know what you're doing differently then. When I open the Music App, it goes straight to my Library. The only items in there are songs I've synced to my phone. I've never seen anything else or known it to behave differently.

Sadly it doesn't quite go away even when you've turned everything off: https://davids.town/dear-apple-please-fix-ios-music

Yep, I've been importing CDs to Apple Music (which I buy from my local music store) and adding them to my Android phone for personal listening. It's a great way to spend money on music in a way that supports local businesses!

You can, but basically every menu assumes Apple Music as a service, and its worse with each version.

You can technically still buy albums, but you can really tell its only there because it was forgotten about.


Buy albums from Bandcamp. You can download them in multiple different formats and the artist gets one of the best cuts

Fool me once.

The Music app reads the same library and has the same core music-oriented functions as iTunes. Is the interface what you're missing?

My main complaints are that it’s clearly store and subscription first, local music and playlists a distant second. Still works however.

I don't really understand what you mean - yes, it is designed for Apple Music, a tab for browsing for new music, etc.

But it still has library views for songs, albums, artists, and playlists. That's the whole thing. Additional tabs to support modern music streaming don't devalue those tabs.


On the phone it always defaults to searching the online store/music, instead of the local songs.

The Mac app version is less annoying in that way as it seems to vaguely remember what you were looking at.


There's great hand crafted library managers/players out there like https://www.strawberrymusicplayer.org etc.

Why vibe code anything? VLC would fit the bill. Even quicktime.

It's mostly that I want my own list management, key combinations, navigation, etc. Once the entire UI is my oyster, I realized I don't have to settle for how someone else decided to lay out the menus, etc. 25 years ago I would just learn all the key combos and be set, but 12 major iterations later, few to zero of those UI skills and muscle memory state has survived. So now, I can do my own and no one can take it away from me :)

I strongly recommend going this route (speaking from experience).

It is shockingly easy to build an opinionated UI for these things in a web browser. You need to implement m3u generation (or use a js web player), and some sort of hierarchical hyperlink based nav that matches your muscle memory. You should be able to use an existing service to grab cover art and metadata for newly ripped disks (unless those services disappeared over the years).

If you want to use a native GUI/TUI toolkit, I’d be shocked if an LLM had any trouble laying it out after a few rounds of refinement. (It definitely will not have any trouble doing this for web stuff.)


I've been vibe coding some music tools and after some researching let Claude get going with imgui (https://github.com/ocornut/imgui) to build a tool I use for local authoring. It's pretty pixel-dense and looks alright to me. It runs on MacOS and Linux, which is enough for my needs now. Claude has been pretty decent at getting audio stuff going on MacOS and can even tap into various accelerators in MacOS libraries. It's had no problems loading and playing mp3s and m4as, which is the majority of my collection. I'll probably prototype an music manager off of that. It'd be great if it works out for Android as well.

I absolutely love vlc

The iOS app is such a permanently buggy mess that I eventually had to bail after years of use with persistent issues that wouldn’t get fixed, and new bugs popping up. It can play hyper obscure formats, but the basic UI functions are very unstable


I constantly have trouble with VLC (long standing bugs, where it gets confused and fails to play audio after dvd menu clicks, etc).

I’ve had mixed luck getting llm’s to configure mpv (which involved writing lua or something for basic functionality!), but there are audio sync issues with it.

I miss the days when something like totem would just work and default to playing with deinterlacing and audio set correctly.

Configuring VLC is like solving a 200 variable boolean satisfiability problem or something. Also, the workarounds for core bugs come and go over time, so Reddit suggests toggling removed settings.


I think you must have very different needs if VLC is a substitute for iTunes/Music. For me, iTunes/Music is a music catalog app for managing my 9000+ MP3s with artists, album covers, playlisted based on various criteria, etc... where as VLC is an app for playing back single media files.

I manage my 9000+ MP3s with the filesystem. It has all the cover art, it's organized any way I want, and has playlists based on any criteria I want. Then I use any music player I want, and can drop the files onto any device I want.

What filesystem manages in multiple ways? Or are you using symlinks so you have one collection by artist, another by album, another by genre, another by year, etc...

I won’t say vlc is my favorite UI but it does all of this.

That's the difference? I still use the Music app and it still behaves exactly as it did before they renamed it. I do not subscrbe to Apple Music. I still have my entire digital music libray in iTunes/Music and it functions as it always did.

Check out Swinsian.

It is basically old iTunes with some UI improvements and modern features built around somebody who has their own library to manage. Been around for a long time.

It’s great software that I’m willing to pay for in today’s world for sure.


While I’m not sure Apple Music is the music app we deserved, iTunes had become this gigantic everything-but-the-kitchen-sink kind of monstrosity and I think it was the right call to split it up.

Worse, the fun, here’s your music collection as a wall of cover images didn’t sit well with consumers who just wanted, I don’t know, get fed music and not curate themselves and I guess that’s how we ended up with mediocre.


I had an OO perl replacement for iTunes back in the day (to learn OO perl, mostly). It had a web frontend, and also handled ripping and cd metadata with “insert disk, up arrow enter”. It failed to eject the disk iff there was a problem with the rip / transcode / metadata. I had 3-4 CDROMs in a desktop for parallelism.

Maybe I should have an LLM port to rust. It was under a thousand lines of code.


`bless` your heart

Yeah but then no rust comment...

Easy as [mpg]123


iTunes and iPhoto both. Given how good the tools are getting, and how much existing sample code is available, it seems likely someone will do a good job of reincarnating them in the near future. Apple broke the apps I used most on the Mac and then they added the bubblicious design crime UI, no thanks.

I found a WinAmp clone, written in Swift and AppKit, in the App Store yesterday. It was a month old, and from the description (ex. "No Electron, no bloat." and "No telemetry, no tracking, no accounts") it was almost certainly vibe coded. All the things it was saying were things I like, but written in a very AI way.

I think this is going to finally bring about the year of the open source desktop.

I’ll happily install that if I can see the source code, read it all in a sitting, and it is not terrible.

(Note that, in this model, if I want to futz with key bindings or other UI tweaks, I can just ask an LLM to change it. No configuration UI required! Just like evilwm.)


> I still can't believe they killed iTunes. I used to have my entire digital music library in iTunes. Most of that was music I had ripped myself from CD ...

iTunes Match still exists, one of the handful of subs I pay for.


If you keep your media accessible through Plex or Jellyfin, I recommend checking Chromatix[1] out - simple and no frills

[1] https://chromatix.app/


Yeah, the smart playlists were awesome ("play unrated tracks I haven't heard in over a year, from albums I gave at least 3 stars") for those of us who went deep into curation. I miss it.

I still use smart playlists in Apple Music. Your comment seems to imply they removed that functionality?

To respect my folder structure and still have nice covers and playlists... - and playing all the usual formats… I use JRiver Media Center (99$) and FlacBox (iOS and MacOS).

Even worse when you're on Windows. What's the point of the cloud if it only works halfway decently on Mac.

Makes me feel like an idiot for doing something as outlandish as paying artists for their music.


iTunes didn't go anywhere.

Just about everything I watch or listen to is served from the same iTunes Library I've had for over 20 years. It's more important to me now than it has ever been.


The specification would matter more than the source it produces. Specify it right and share it with the world. Code is basically a winamp skin on the OS level.

vibe code your own, implement some kind of yt-downloader? torrent downloader,etc, maybe some album art. hm might make one myself.

Yt-dlp doesn't do metadata though, at least the way I hold it. So I end up with "unknown - Unknown - file title" or the like when they're playing.

Stuff designed to rip mp3 streams got this right.

I'm probably holding it wrong.


Add --embed-thumbnail --add-metadata

And then load up MusicBrainz Picard to tag it after-the-fact; I've found some cases, usually on more obscure music, where Youtube metadata was close to right but wrong on some details. But it had enough details to allow Picard to find the correct album, and then the file(s) was/were tagged correctly.

Yeah, used to rip online radios with a winamp plugin. it placed the songs in folders per day and got each song name right.

iTunes is the single worst most rage inducing software I have ever experienced. It is the only software that has brought myself and numerous family members to literal tears. Its concept of “syncing libraries” in the early iPhone era was so unbelievably broken.

I wish I believed in software hell because then I would be happy knowing that’s where iTunes existed.


iTunes was responsible for my moving from iPhone to Android. My first phone was an iPhone 3G. But I could not simply transfer .mp3 files onto it from Linux; I had to run iTunes to transfer music onto the iPhone, and that meant loading up a VM running Windows just to run iTunes. (And pass the USB slot into the VM, and set up file sharing... it was all doable, and not that hard, but it wasn't simple).

So my next phone was an Android phone. And I could just plug it into a USB slot, and it showed up as an attached drive, the same way a thumbdrive did. Simple file transfer, at last.

That was nearly twenty years ago, and I have never bought an iPhone or iPad since.


The Music app IS iTunes. They just renamed it and continued from there. I have all of my ripped music in there just like before; in fact, that's the ONLY music I have in my library.

So don't worry! The same trash UI is available to you... except now even worse, thanks to "Liquid Glass" and brain-dead decisions like moving the playback controls from the empty area at the top of the screen into the content-browser area... where they reside on a "transparent" bubble that overlaps other graphics and text.



> This is a hysterical era perpetuated by liars, cowards, imbeciles, craven boosters and the easily-fooled. Those excited about generative AI are either the victim or the perpetrator of a con centered around a technology to ingratiate at the highest cost possible.

Who writes like this? When you lead with "everyone who doesn't agree with me is a lying cheat coward imbecile" I think we should just turn the volume down on you to zero.

This is breakdown in dialog. If it leads like this then I I don't care how accurate the critical analysis to follow is. I didn't read the rest of the article and don't think anyone else should either out of sheer disdain for this argumentation style.


"I tell you, we are here on Earth to fart around and don't let anybody tell you any different."

— Kurt Vonnegut


You don't see pictures and videos directly on the site. It's text links and text comments and discussions. In the minimal sense of the word, even printed text is media, so it's technically true that HN is social media, but I think it's more like a news aggregator and discussion forum.

How does being text only make it not social media?

Good explanation at https://news.ycombinator.com/item?id=48445343


Because the people who think HN is social media and avoid social media aren't going to see this and respond. It's a selection bias.

> OP: The pedantry involved in that comparison is extremely tiresome.

Maybe take a rest from HN if pedantry is fatiguing?

Ads became the default business model of the web. When people started to get sick of blaring in-your-face blinking banners, it mutated into search ads and placement. The same thing happened to mobile apps and games, YouTube, Facebook, instagram, even Tik Tok. When it becomes too blatant then it embeds itself one level deeper as placements and endorsements.

It will never stop because the parasitic ads are the only thing holding up the edifice anymore. It's crazy to me because ultimately what holds up the economy is money changing hands for services, and ads aren't that. So ads are fundamentally driving people to spend money elsewhere. I just don't understand how the system holds up a multi-hundred billion dollar advertising parasite...everything would be cheaper if there were no ads.


According to Cory Doctorow, Proctor&Gamble - one of those giant corporations that each owns 20% of the food supply but doesn't use their own name as branding - cancelled $200m of online ad spend and saw no change in sales.

If more companies realise this, what happens?


Why not all of them?

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: