News for hackers. Stuff that matters.
Re:Show HN: MTXT – Music Text Format by 1313ed01 on Thursday December 04, 2025 @07:44AM (#46147027)
I like the idea overall. Looks like something that would be fun to combine with music programming languages (SuperCollider/Of etc).

Not so sure how human-friendly the fractional beats are? Is that something that people more into music than I am are comfortable with? I would have expected something like MIDIs "24 ticks per quarter note" instead. And a format like bar.beat.tick. Maybe just because that is what I am used to.

Re:Show HN: MTXT – Music Text Format by bonzini on Thursday December 04, 2025 @09:37AM (#46148108)
It should be fine, but fractions (or both fractions and decimals) would be preferable in order to express triplets (3 over 2, effectively a duration of 0.3333...)
Re:Show HN: MTXT – Music Text Format by daninet on Thursday December 04, 2025 @10:20AM (#46148624)
The library has MIT license, I would be more than happy to see people use it in different synths.

I'm planning to add support for math formulas in beat numbers, something like: "15+/3+/4" = 15.58333

Re:Show HN: MTXT – Music Text Format by soperj on Thursday December 04, 2025 @11:19AM (#46149293)
> "15+/3+/4"

Can you explain how to read that? 15 plus divided by 3 plus divided by 4?

Re:Show HN: MTXT – Music Text Format by daninet on Thursday December 04, 2025 @11:21AM (#46149328)
It's a shorthand for 15 + (1/3) + (1/4), but I'm still not settled on the syntax.