truj / midica

A Music programming language. Translates source code into MIDI. Includes a player. Supports MIDI-Karaoke. Includes a MIDI analyzer.
https://www.midica.org/
Mozilla Public License 2.0
113 stars 13 forks source link

avoid corrupted chords in the alda exporter #62

Closed truj closed 4 years ago

truj commented 4 years ago

Some ALDA exports create a corrupt chord like this one:

french-horn-ch6:
    <d (quant 33) (vol 74) >c1./(vol 49) <c/

Cf. alda-lang/alda-core#78

It seems to be not only related to the song but also to the decompile configuration.

My guess: I think the decompiler tries to do something like this:

french-horn-ch6:
    <d (quant 33) (vol 74) >c1./(vol 49) <c/rLEN

...where LEN is a very small note length -- so small that it's ommitted.