Commit graph

16 commits

Author SHA1 Message Date
Igor Korsukov
68b3415c47 fixed some issues from PVS-Studio report (step1) 2020-03-20 12:18:07 +02:00
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
Werner Schweer
1f243b5ffc update global insert: combine tuplets 2016-12-06 09:36:02 +01:00
Werner Schweer
b502a5d377 implement framework for 'global insert' 2016-12-03 13:46:58 +01:00
Werner Schweer
dfe4c7b433 in Range(): allow tuplets to be split in the middle 2016-11-28 17:25:37 +01:00
ws
4196bd1ca9 fix #38341 2014-11-13 11:53:42 +01:00
ws
65af8f7bb9 fix #24759 2014-05-14 19:19:39 +02:00
Marc Sabatella
eec88fd4c2 fix #24350: markings lost after timesig change
Annotations were completely lost, spanners placed incorrectly.  Also,
repeat measure symbol caused hang.  These are fixed.  Key signatures
still can get messed up, at least until reload.  And barline styles are
lost even when they coincide.
2014-01-20 18:49:20 -07:00
ws
48965a09c5 fix regressions 2013-06-19 16:25:29 +02:00
ws
a7904c31f5 refactoring spanner, part I 2013-06-10 11:03:34 +02:00
ws
9ebabcc2e5 add namespace Ms 2013-05-13 19:43:59 +02:00
ws
220db94494 reorganize synthesizer; add zita1 reverb 2013-04-03 12:50:21 +02:00
ws
b4e0f7ba4a fix Range() read/write 2013-01-18 14:42:11 +01:00
ws
eb2f71a679 replace some qt container with hand crafted single linked list 2013-01-03 16:56:56 +01:00
Werner Schweer
ed875e56cc fix for 'insert timesig' with regression test 2012-06-26 14:41:49 +02:00
Werner Schweer
1f9ccfcdce add libmscore
git-subtree-dir: libmscore
git-subtree-mainline: 412ca45401
git-subtree-split: 6047361bd0
2012-05-26 14:54:47 +02:00