Richard Bown wrote:
> Chris Cannam wrote:
> Oh ok, so what does that mean? You don't have to fill with rests?
No, you still have to fill with rests. Well, you don't _have_ to
fill with rests, but if you want any chance of notation working
right then you should. If everything's working right, then filling
with rests should make no difference at all to how the file saves,
loads, plays, or displays in the matrix view.
> Have a look at that method I mentioned in rosegardenguidoc and see
> if I'm doing anything wrong.
I think you should be filling with rests to absTime, not to
absTime + duration.
Even so, if everything was working right, then filling with rests
to completely the wrong duration should make no difference to the
way the file plays after saving and loading, so long as the note
events had the right time and duration. This almost certainly
does indicate a bug in saving, so if you just do the test that _I_
mentioned and send me the MIDI file...?
>>I can load glazunov.rg
>>and save it to MIDI, although the results look pretty weird when
>>loaded back in again
Mmm, timing division was still based on tempo and therefore came out
as 151, which made for some pretty wacky notation when it was loaded
back in again. Fixed, I think. We could do with implementing
key signature events in export though.