Commit graph

40 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
ws
441164af0d fix #278132 Settings of fretboard diagrams are lost in palettes 2018-12-21 11:40:19 +01:00
ws
2ce05d0c11 preparations for using fractions instead of ticks in Segment() 2018-12-21 11:40:19 +01:00
Joachim Schmitz
ff292d98b2 eliminate debug artifacts 2018-12-18 14:55:54 +01:00
ws
a09bcb4bbb fix chord stem width for scaled staves 2018-12-03 12:41:51 +01:00
Joachim Schmitz
df4aa9b612 more pre-translation text fixes
removing some, correcting others, capitalization, pluralization,
commenting to aid translators, ec.
2018-11-24 22:28:34 +01:00
Dmitri Ovodok
55bef706b8 Add API for retrieving positions of elements in terms of fractions
Rename fpos -> rfrac
Merge Element::ftick with Element::afrac
2018-08-16 19:08:45 +03:00
Werner Schweer
1943bd1ff1 replace most static_cast in libmscore 2017-12-20 16:49:58 +01:00
Werner Schweer
ac3e8dbbc4 fix #180996: bad 2.xx import; compact inspector text panel 2017-03-13 10:25:00 +01:00
Werner Schweer
867f2582f6 move Segment::Type into SegmentType 2017-03-08 13:12:26 +01:00
Werner Schweer
90b1991912 replace Q_OBJECT with Q_GADGET for all Element based classes 2017-02-17 15:48:28 +01:00
Werner Schweer
cb7485f6f8 hide MStaff 2016-12-14 15:40:26 +01:00
Werner Schweer
6dd13e4074 hide MStaff elements 2016-12-14 15:40:26 +01:00
Werner Schweer
adc53ca904 update mtest 2016-12-03 14:09:58 +01:00
Werner Schweer
b502a5d377 implement framework for 'global insert' 2016-12-03 13:46:58 +01:00
Werner Schweer
67b8d0f52e fix nested tuplet handling in checkMeasure() 2016-11-29 16:50:50 +01:00
Werner Schweer
42b14fa114 fix performance regressions: slow loading files 2016-11-02 08:55:54 +01:00
lasconic
ea736ea364 add debug menu option to hightlight corrupted measures 2016-06-03 18:26:51 +02:00
ws
bbd802f8ae framework for partial relayout 2016-04-13 11:35:21 +02:00
ws
9ec1d02471 code cleanups & speed optimizations 2016-04-13 11:18:14 +02:00
ws
6f2cf4c2c1 fix build for gcc 5.2 2015-10-27 11:30:09 +01:00
Joachim Schmitz
9730ef6771 Fix 2 warnings on Mac reg. wrong format specifier 2015-04-29 17:00:23 +02:00
ws
787373aa97 fix #49836 Delete time signature corrupts key sginature 2015-03-09 18:31:49 +01:00
lasconic
ffdba00fd5 fix checkkey to handle different keys in different staves 2015-03-08 21:04:28 +01:00
lasconic
561cae3a88 fix JSON format of sanity check output. Escape line feeds. 2015-02-27 11:44:24 +01:00
lasconic
c068c2634a fix sanity check for complex tuplets 2015-02-26 13:12:09 +01:00
lasconic
5ca9c1c5bc fix typo 2015-02-24 17:35:52 +01:00
lasconic
53fc23e6ad add sanity check on file load 2015-02-24 16:54:47 +01:00
Marc Sabatella
c2881e247b add clef / keysig map check to measure insert tests 2015-02-23 13:52:41 -07:00
lasconic
924bcb94c6 add sanity check function 2015-02-23 12:00:56 +01:00
Joachim Schmitz
e6e7436177 move SegmentType to Segment::Type and make int again
needed to make it available to the plugin framework
and the memory saved is not worth the performance penalty
2014-06-26 11:57:39 +02:00
ws
e1b1246e0c make SegmentType an global enum class 2014-06-01 20:24:29 +02:00
Joachim Schmitz
5977488174 eliminating needless \n in qDebug() calls
searching for 'qDebug.*\\n\'
2014-03-25 14:59:32 +01:00
wschweer
ab6120f85e refactoring grace notes 2013-06-12 14:23:57 +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
317e39ad28 replace all subtype()/setSubtype() Element methods 2013-03-05 20:24:16 +01:00
Werner Schweer
e630a887fd for optimization replace some foreach loops 2012-12-06 12:46:05 +01:00
Werner Schweer
2e84a7ee70 fix enum script binding for SegmentType 2012-08-03 15:54:02 +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