Commit graph

57 commits

Author SHA1 Message Date
luz.paz
f31624d746 fix various typos
* Found via `codespell -q 3 -S ./share/locale,./thirdparty -L ba,cann,clas,dur,foto,iff,nd,ois,ot,pres,possibile,snaped,strack,tage,te,uint,thru,valu`  
* Some revisions made per feedback given during review.
* Follow-up typos for review  
* Add revisions per feedback
2019-12-19 06:13:30 -05:00
Dmitri Ovodok
666f0f8925 fix #291342: fix a crash on playing an empty score 2019-06-26 11:00:14 +02:00
Dmitri Ovodok
1bf36a72ca Implement partial MIDI rendering of a score 2019-05-02 13:08:11 +03:00
Dmitri Ovodok
1ff6afe012 Refactor RepeatList, avoid extra updates of RepeatList 2019-05-02 13:08:11 +03: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
ws
33d1cd7fb4 rename StyleIdx -> Sid and P_ID -> Pid 2018-03-27 15:36:00 +02:00
Johan Temmerman
a67ae584b9 fix #270332: playRepeats replay copy was too greedy 2018-03-14 14:39:57 +01:00
Johan Temmerman
e5c42af290 fix #8604 follow up: re-enabled and actualized combined test 36
* fix searchVolta for measure by checking the tick() rather than no() to ensure measure is found in the correct section
 * fix crash if jumpToMeasure is found, but not yet in its final playThrough
2018-03-12 01:36:13 +01:00
Johan Temmerman
79d4227534 fix #148276 end Open Volta before next startRepeat as well
fix #269603 unwind followup especially with regards to DS having playRepeats enabled
2018-03-07 12:55:07 +01:00
luz.paz
dab3b5f056 Misc. typos follow up
Follow up to previous typo commit a8ac55c180
2018-02-19 19:30:12 -05:00
Johan Temmerman
e274a4167a fix #269378 Double Coda leads to not detecting 'final' playthrough after 2nd jump rewind logic 2018-02-16 09:26:44 +01:00
Johan Temmerman
dd2050e2f1 fix #8604, fix #4525, fix #6091, fix #48456, fix #148276, fix #230531, fix #267778: improve volta playback
unwindSection using RepeatList as how a human will notate the volta: using the n-th time a startRepeat is taken, also slightly modified the jump detection logic to have it check for jumps only upon the last passage of a measure
2018-02-07 11:21:59 +01:00
Werner Schweer
1943bd1ff1 replace most static_cast in libmscore 2017-12-20 16:49:58 +01:00
Werner Schweer
1d4c6b2f21 move Element::type() to ScoreElement 2017-01-18 14:16:33 +01:00
Werner Schweer
a95613ea8e add property 'play repeats' to jump elements 2016-10-13 15:51:56 +02:00
ws
3d8749ffe9 some regression fixes, code cleanups 2016-04-13 11:08:01 +02:00
Eric Fontaine
11362dbe35 Fix #65161 repeatlist unwind section by section _rebased
Each section is unwound individually. A giant album should have same repeat list as concatenation of repeatlists from individual scores (provided each score only refered to markers in its score).
Partitions score by section breaks, and is now aware about section breaks occuring on non-measure MeasureBase objects such as horizontal/vertical frames (repeat37 test).
2015-08-18 14:15:03 -04:00
Eric Fontaine
0f2d648b64 fix #73531 ending measure has jump and repeat 2015-08-16 10:40:46 -04:00
Eric Fontaine
0f3a3e5762 Fix #73486 #73496 rewrite jumpToStartRepeat condition evalation reordered 2015-08-15 08:30:22 -04:00
lasconic
4539dce148 fix #66946: Null/Empty/Invalid Jumps should not interfere with playback 2015-06-29 16:56:55 +02:00
lasconic
fe2142607b fix #64241: D.S. from within repeat bars to a Segno outside crashes on playback 2015-06-08 14:59:19 +02:00
lasconic
a29da53408 fix infinite loop with imbricated repeat, #59781 2015-05-10 09:56:55 +02:00
lasconic
5d89c8023e fix one more repeat bugs, add 2 more repeat mtest 2015-05-02 12:00:36 +02:00
lasconic
3883c890ec fix repeat with 2nd DS al coda after DS, add 2 more repeat mtest 2015-05-01 15:09:42 +02:00
lasconic
f182f5839f fix #56951: Starting playback with repeats in a certain order causes a crash 2015-04-20 10:42:29 +02:00
lasconic
29b21f736e fix #52511 fix #23773 Play repeats in Coda 2015-04-14 20:27:41 +02:00
ws
ec8913a19b fix #45601 changing note value can lead to missing accidentals; simplify layout() 2015-02-17 20:22:38 +01:00
ws
69dd28e7df preparations for changing division value 2015-01-12 14:07:05 +01:00
ws
94c902213d fix #35876 2014-11-28 12:41:59 +01:00
lasconic
f5b92408b2 fix #35001: Repeat Count does not work on a single measure 2014-10-01 18:08:32 +02:00
ws
9e93f15037 fix #29511 2014-08-13 15:42:55 +02:00
ws
a2a87a90c8 move Jump & Marker from Segment to Measure 2014-08-05 20:40:43 +02:00
ws
1e94611118 partial fix for #18510 2014-07-17 15:28:02 +02:00
Joachim Schmitz
75623c53dc move ElementType to Element::Type
needed to make it available to the Plugin framework
2014-06-26 11:57:35 +02:00
Joachim Schmitz
9a636ac9c6 remove some unneeded '\n'
and also fix a typo
2014-06-10 09:27:55 +02:00
ws
e8be73f41b fix transposition when changing instrument 2014-06-04 10:40:26 +02:00
Joachim Schmitz
2bc0e512bd convert enum LoopType into enum class 2014-05-26 12:27:33 +02:00
Joachim Schmitz
6c6c6ad22c convert unnamed enum to enum Repeat
and make it ": char". Making it a class requires more work,
unfortunatly.
2014-05-23 12:10:15 +02:00
Joachim Schmitz
931e837c5e convert enum ElementType into enum class 2014-05-23 10:35:27 +02:00
Joachim Schmitz
5977488174 eliminating needless \n in qDebug() calls
searching for 'qDebug.*\\n\'
2014-03-25 14:59:32 +01:00
Joachim Schmitz
3adc1ea6ed fix #14764
convert qDebug();abort() to qFatal() and if(cond) abort() to
Q_ASSERT(!cond), esp. for the benefit of Windows, where it is impossible
to set a breakpoint on the abort()
Also modernizing mscoreMessageHandler() and making it more informative
by adding file, line and function to the output.
2014-03-04 13:06:23 +01:00
ws
0bdc86eeb8 update bravura; update loop function 2013-12-02 09:31:22 +01:00
ws
3f63dcd6d4 use interval tree for list of spanners 2013-07-05 11:24:14 +02:00
ws
66c63d06ae use multimap for spanner list 2013-06-20 15:45:59 +02:00
ws
a7904c31f5 refactoring spanner, part I 2013-06-10 11:03:34 +02:00
lasconic
a256907841 cheap fix for crash in RepeatList::utick2tick on Windows 2013-05-22 21:21:27 +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
lasconic
480390d095 fix #17445, add regression test for repeats 2013-03-18 22:25:24 +01:00
ws
d846e3d0d3 update for Jump and Marker elements 2013-02-25 14:56:34 +01:00