Commit graph

25 commits

Author SHA1 Message Date
ws
ec3be9a99a Replacd integer midi tick values by fractions.
- tick names a position on the time axis
- tick is always a Fraction()
- only Measure() and Segment() (and Tuplet?) have a tick value
- tick() for an generic element return only a sensible value if isMeasure() or isSegment() or isSegment(parent())

- "ticks" names a duration stored in a Fraction()
- the tick value for an Segment is relative to its measure

- rename "duration" to "ticks"
- rename afrac() to tick()
- rename rfrac() to rtick()
- rename some variables, changing "fraction" into "tick"
  (example: actualFraction() into actualTicks())

- Lyrics ticks are written as Fraction, on read if xmlreader sees a "/" it reads a fraction
  else midi ticks for backwards compatibility
2019-02-18 11:46:05 +01:00
anatoly-os
e7838feb7c update Articulations in mtest/importmidi source scores 2019-02-04 14:53:51 +02:00
ws
5fadc466bd fix #276978 crash during open .gpx file 2018-11-29 11:50:45 +01:00
Dmitri Ovodok
6b6b8bfab0 Convert most of test scores to the new format 2018-08-16 19:10:30 +03:00
Werner Schweer
d9d738dd79 update for keysig 2017-06-23 13:53:45 +02:00
Werner Schweer
9a9dedf774 change PageFormat to simple style values 2017-01-23 21:53:51 +01:00
Werner Schweer
0b1aea952f layout for movements 2017-01-05 11:28:45 +01:00
Werner Schweer
f7d96502c3 update layout, change handling of clefs, system header and trailer 2016-10-25 17:35:55 +02:00
lasconic
db9aeb7388 save 3.00 file in test mode 2016-09-23 22:30:24 +02:00
werner
b85cad9d83 replace ticks in mscore file by fraction 2016-07-07 16:20:29 +02:00
Joachim Schmitz
b6f3e9dcaa remove post 1.3 and pre-2.0 compatibility checks and tweaks
There's probably quite a bit more, but these are the most
obvious places.
Impoved the error mssage, with a hint where to get 2.0.
Most of the templates and sample scores had been created with a pre2.0
nightly version, so they have been resaved with 2.0.0. They'll most
probably need to get updated for 3.0 at some point again.
2016-05-13 06:55:03 +02:00
ws
62ccb7e071 cleanup instrument name handling 2015-04-13 17:12:53 +02:00
Andrey M. Tokarev
46faa2a24b Update mtest 2015-03-01 20:40:10 +03:00
Andrey M. Tokarev
e9e1d83ed1 Update mtest 2014-12-31 12:48:08 +03:00
ws
1c88f235a4 fix mtest 2014-12-16 14:32:50 +01:00
ws
cdfe487369 update mtest 2014-08-26 14:25:26 +02:00
Joachim Schmitz
85b2d3f86d fixing the regression test files in mtest 2014-05-12 18:54:52 +02:00
ws
ba8443453d update mtest 2014-04-30 13:39:16 +02:00
Andrey M. Tokarev
363534d6a0 Adapt importmidi tests: set measure numbers 2014-03-03 20:34:34 +04:00
Nicolas Froment
8b1af150f1 Merge pull request #683 from MarcSabatella/23011-change-channel
fix #23011: change channel broken
2014-02-20 20:12:57 +01:00
ws
be3d091697 update regression tests 2014-02-12 12:51:00 +01:00
Marc Sabatella
53b67dee6d fix tests
No longer save explicit "normal" channel name in imported scores.  Also
remove explicit "normal" channel name from Cymbal in instruments.xml.
2014-02-01 16:51:23 -07:00
ws
239ffd7456 change implementation of multi measure rests 2013-09-19 15:08:54 +02:00
Andrey M. Tokarev
a2b6fdbe6d Fix tests (add clef at the beginning of score) 2013-07-28 15:31:24 +04:00
Andrey M. Tokarev
ed696d3fa4 Test scores for tuplets and meter 2013-07-15 18:44:37 +04:00