Commit graph

28 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
Joachim Schmitz
a4c491bd2a fix #281028, fix #280842, fix #280470, fix #281369 and some more text fixes
* Change sharps, flats and naturals to their unicode counterparts
* Fix #281028: remove superfluos double spaces
* Add missing "the"
* Fix #280842: change [Tablature] to (Tablature) for instruments
* fix #280470: Inconsistent reference to menu entry navigation
* Translate MusicXML import error message prefix
see https://musescore.org/en/node/281133
* Improve message on importing pre-3.0 scores
and also enabling it for pre-2.0 scores
* Fix #281369: Ottava bassa shows as "8vb", while 15ma and 22ma is used
for alta and bassa
see also PR #4547
Clefs were having the same issue, so changed those too
* Improve one text in Preferences > I/O and remove another
as that is no longer true
* Yet another ellipsis
2019-01-11 15:15:25 +01:00
Joachim Schmitz
ff292d98b2 eliminate debug artifacts 2018-12-18 14:55:54 +01:00
mirabilos
65cd276439
remove RCS IDs from (almost) all files
they do not make any sense, nor do they get updated, if the
source code is kept in git
2018-11-02 23:53:21 +01:00
Joachim Schmitz
632f830f5f Fix #275218: fix MSVC compiler warnings
* Warnings C4304, C4804 and C4838.
* Warnings C4065 and most C4702 (all but two).
* Warnings C4701.
* Warnings C4244.
* Warnings C4457.
* Warnings C4459.
* Some warnings C4456, due to nested `foreach` loops.
2018-08-14 10:03:49 +02:00
Leon Vinken
d0c5ef59c2 refactor MusicXMLParserPass[12]::note(), MusicXMLParserPass2::notations() and ExportMusicXml::chord() 2018-02-14 19:24:07 +01:00
Leon Vinken
161639f719 fix #175226 - [MusicXML import] add instrument-sound to MIDI mapping 2017-03-07 21:48:45 +01:00
lasconic
03237ee332 fix read114 test for accidentals, remove old unused accidentals and replace by naturals. Order accidentals like SMuFL. Add a couple more accidentals. 2016-09-29 15:17:51 +02:00
ws
01952574e3 add tests for scripting interface 2015-04-03 18:24:12 +02:00
ws
e9222d1b45 move enums Accidental::Role and ::Type 2015-04-03 18:24:12 +02:00
Leon Vinken
485c90cc56 use map of instrument changes to create multi-instrument parts 2015-01-18 22:12:17 +01:00
Leon Vinken
e74e5f4ca2 maintain map of instrument changes when reading MusicXML part 2015-01-18 22:12:17 +01:00
Leon Vinken
6608ffc60f #33546: import microtonal accidentals in non traditional key signatures 2014-12-21 15:49:16 +01:00
Leon Vinken
1ca06b7184 #33546: move convertAccidental() to musicxmlsupport.cpp 2014-12-21 15:49:15 +01:00
Leon Vinken
2a05d99731 #33546: export key-accidental 2014-12-21 15:49:15 +01:00
ws
76eb9ebfb0 use char for some enums 2014-05-07 18:09:01 +02:00
ws
e534cccef8 bug fixes for concert pitch switch 2014-04-09 16:09:21 +02:00
Joachim Schmitz
7c3d869ddd many (f)printf to qDebug 2014-03-22 10:40:59 +01:00
ws
a155186190 add ScoreFont to Symbol class; extend master palette symbols dialog; misc cleanups 2013-11-25 15:02:55 +01:00
Leon Vinken
b7c082ec1d fix #21932 2013-10-27 16:11:31 +01:00
ws
835ef3d5b6 fix #23164 2013-10-14 15:35:00 +02:00
ws
9ebabcc2e5 add namespace Ms 2013-05-13 19:43:59 +02:00
ws
8210fb81ee more inspector cleanups; add measure property Measure Number Mode to allow adding/removing measure numbers on top of style rules 2013-03-08 12:55:12 +01:00
Leon Vinken
fd85015af1 MusicXML import refactoring 2013-02-16 21:52:49 +01:00
ws
8fbfa094b1 enable musicxml support, move needed xml functions to musicxml code 2013-01-17 11:33:11 +01:00
ws
bf1cbe2aa0 use QXmlStreamReader for xml parsing 2013-01-11 18:10:18 +01:00
Leon Vinken
28b0eba599 fix #15006 2012-12-21 22:43:27 +01:00
Werner Schweer
412ca45401 Initial commit 2012-05-26 14:49:10 +02:00