summaryrefslogtreecommitdiff
path: root/AlsaSeq.hs
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2015-12-11 10:10:57 -0500
committerAndrew Cady <d@jerkface.net>2015-12-11 10:17:29 -0500
commit44ffb5c2fd9d65368df7b6e9172ff3e258bf4169 (patch)
tree9bd166fcd6f4a439efff86111cd597bda2fa16e1 /AlsaSeq.hs
parentc012a42e53c1bccd5e113fea5f616115f6f85835 (diff)
Lower midi resolution to 1ms.
Without this, the (several day-long) dumped.mid file ends up invalid (presumably because the largest relative time does not fit into the available number of bits). Arguably this is a bug in Codec.Midi, or anyway it's an undocumented limitation. The proper solution is probably somewhat complicated/convoluted: do a tempo change before and after very long time differences, when (or before) serializing the Midi data. There's little point in implementing that fix though, because this giant midi file is not practically useful anyway.
Diffstat (limited to 'AlsaSeq.hs')
0 files changed, 0 insertions, 0 deletions