Numula icon indicating copy to clipboard operation
Numula copied to clipboard

Input notes

Open davidedelvento opened this issue 3 years ago • 4 comments

I was wondering if you have considered alternative options to input notes. The n() calls with all those strings are really tedious and error prone, in my super-tiny experiment.

It'd be fantastic if you could input MIDI files and/or LilyPond file format (or one of its output). Or even if that proves too complicated, perhaps an helper script could use those inputs and generate a (preliminary) list of strings to feed into the n() calls, after some editing/massaging. I know, the latter could be even more tedious than typing everything by hand, since if not carefully organized (and it's probably complicated/impossible to organize them from raw inputs) these strings would be a pain to edit...

davidedelvento avatar Oct 26 '22 12:10 davidedelvento

You can import MIDI files: https://github.com/davidpanderson/Numula/wiki/Importing-midi-files Please let me know if you find any problems with this.

The n() notation isn't so bad once you get used to it. It's important to put a bar number at the start of each line; this pinpoints rhythm errors and lets you locate things fast.

I developed the notation as I was entering the Beethoven example (op57.py) and it's optimized for that kind of music (tonal, piano 2 hands). It may not work well for other pieces; if you find this, please send me an example; maybe the notation could be extended to handle it better.

davidpanderson avatar Oct 26 '22 23:10 davidpanderson

Awesome. Somewhat I missed that.

FWIW the reason for asking this is that sometimes (especially with pianoteq) you have the midi recording already of stuff you played and may want to edit it with numula. Other times, you may have a score, e.g. from mutopia or lilypond and you want to pass it to numula. In either case, if you can spare the effort of getting the note right, you can dedicate more time/effort to making the nuances which is the main purpose, right?

Given what numula does and what lilypond does, I think you should try to make the two deeply interoperable, that would be awesome.

davidedelvento avatar Oct 27 '22 00:10 davidedelvento

I'm familiar with Lilypond. Given a piece expressed in Lilypond, you can export it was a MIDI file, then import that in Numula and apply nuance to it. If you're starting from scratch and don't need a typeset score, it's easier to express it in Numula's shorthand notation (which is much more powerful than Lilypond's).

davidpanderson avatar Oct 27 '22 09:10 davidpanderson

it's easier to express it in Numula's shorthand notation (which is much more powerful than Lilypond's).

So, are you going to support PDF output too? ROTFL

davidedelvento avatar Oct 27 '22 12:10 davidedelvento