News for hackers. Stuff that matters.
Re:Show HN: Txt2musicxml – Converting simple text into beaut... by yoavm on Wednesday December 18, 2024 @07:21AM (#42449897)
I don't know much about chords, but I found it interesting that you've used Antlr for parsing this new syntax. Do you think it could have been done manually by just reading the incoming string, perhaps with some regexes and splits? Or would that be too complicated?
Re:Show HN: Txt2musicxml – Converting simple text into beaut... by noamikotamir on Wednesday December 18, 2024 @10:06AM (#42451005)
Perhaps it could be done. Chords have some structural meaning: chords fit in bars, which fit in lines, which fit in a sheet, a chord has a root, accidental, bass, suffix, etc. And an xml file has a tree structure. I felt like using regex to convert raw text into a tree structure, isn't the right tool for the job. Also, adding new features (for example, time-signature, chord durations) may be difficult to do with regex.
Re:Show HN: Txt2musicxml – Converting simple text into beaut... by rotemtam on Wednesday December 18, 2024 @11:05AM (#42451651)
I only trust chords that came from Oren Mustakis big PDF book for shira betzibur.

Anyways, who is here is the bogeret