Commit graph

68 commits

Author SHA1 Message Date
Werner Schweer
c5f46bb208 rename Xml() -> XmlWriter() 2016-11-19 11:51:21 +01:00
Werner Schweer
bb7d535ce5 add score ptr to XmlReader and Xml 2016-11-19 10:31:14 +01:00
ws
9ec1d02471 code cleanups & speed optimizations 2016-04-13 11:18:14 +02:00
Werner Schweer
fe8f7045d1 Merge pull request #2264 from MarcSabatella/84296-musicxml-chords
fix #84296: bad import of certain chord symbols
2015-10-27 15:59:21 +01:00
ws
6f2cf4c2c1 fix build for gcc 5.2 2015-10-27 11:30:09 +01:00
Marc Sabatella
737b4d4837 fix #84296: bad import of certain chord symbols 2015-10-21 09:48:08 -06:00
Marc Sabatella
9f85dd963e fix #64041: recognize triangle as single token 2015-06-07 10:42:34 -06:00
Marc Sabatella
6f6b912b69 fix #53936: incomplete MusicXML text for 7sus4 2015-04-04 12:12:48 -06:00
Marc Sabatella
a52827e501 add ability to turn off automatic capitalization of chord symbols 2014-12-17 12:37:06 -07:00
Marc Sabatella
fbdd224791 add chord symbol style options: full german, french, lwoer case bass, all caps note names 2014-12-10 00:12:00 -07:00
Marc Sabatella
9b9aa19b63 fix #40091: double flat/sharp in chord symbols 2014-12-04 13:04:44 -07:00
Marc Sabatella
4a3c28ac71 fix #29671: provide more consistent information for accessibility 2014-08-17 08:01:56 -06:00
Joachim Schmitz
313dc6ca82 fix translation of file related error messages 2014-08-17 13:31:37 +02:00
Joachim Schmitz
836db56543 fix warnings reg. wrong format specifier 2014-06-17 14:23:15 +02:00
Joachim Schmitz
48f3ea412a initialize variables 2014-06-10 09:27:48 +02:00
Joachim Schmitz
1dd944e297 convert enum NoteSpellingType into enum class 2014-05-26 12:25:25 +02:00
Joachim Schmitz
a110d6b764 convert enum ChordTokenClass into enum class 2014-05-23 10:35:20 +02:00
Joachim Schmitz
65ce677dcd convert enum RenderActionType into enum class 2014-05-23 10:35:19 +02:00
Joachim Schmitz
bf54fc8ed1 convert enum HDegreeType into enum class 2014-05-23 10:35:17 +02:00
ws
f367f8a6c0 fix #24877 2014-03-15 12:15:49 +01:00
Joachim Schmitz
4f8f63f91e fix #23366: more fixes for capitalization
and some more fixes.
2014-03-04 07:44:56 +01:00
lasconic
96db948d5d hide style->chord symbols behind -e flag 2013-11-28 21:38:22 +01:00
Marc Sabatella
bd623a9475 fix #23369
Adds support for "/" within chordnames if the portion after the "/" is
not convertible to tpc and hence not a valid bass note.  This allows for
C6/9 to be rendered as such.  I look at the *last* slash when deciding
how to proceed, so C6/9/E is handled correctly.
2013-10-31 17:24:11 -06:00
ws
98ea91fae4 merge master 2013-07-08 14:44:28 +02:00
ws
8e5dd667f8 fix grace note layout in beam context 2013-07-02 09:45:25 +02:00
Marc Sabatella
9479346468 fix #21704: imported chords do not render
Recent changes to default style chordlist handling resulted in imported
scores never loading a chord list at all, causing them to render
incorrectly (no root or bass).  This is a proposed fix for that specific
issue that also addresses other potential problems in chordlist handling
(honoring the distinction between a truly empty chordlist and one that
merely contains no chord id's but does contain sym & token definitions).
2013-06-30 15:34:41 -06:00
Marc Sabatella
8e92462f42 Gernan chords use As and Es, not Aes and Ees
Also add hooks for French spelling of Re
2013-06-28 17:35:38 -06:00
Marc Sabatella
a90d21f8c7 fix #11115: support solfeggio note names
Actual support was added in previous commits; this is really just
cleanup and renaming the option from "Italian" to "Solfeggio".
2013-06-28 17:35:37 -06:00
Marc Sabatella
8864567934 more flexible root handling
Allow "sym" declarations in chord description file to take string
values, support class="note" to differentiate "b" used as note name from
"b" used as flat (also "mi" for note name versus minor), allow lower
case letter on its own to imply minor if lowerCaseMinorChords is set by
using "=" as a special hidden abbreviation.
2013-06-28 17:35:35 -06:00
Marc Sabatella
30d7afb2ed fix #7282 - support additional root/bass styles
German, Italian, lower case minor
2013-06-28 17:35:33 -06:00
ws
2faaa67803 change ChordList* in StyleData to ChordList 2013-06-24 11:03:48 +02:00
ws
64e9e51c27 fix cut&paste of slured grace notes 2013-06-20 17:23:50 +02:00
Marc Sabatella
3cc387f1db generate HChord for unrecognized chords
also fixes write of voicing tag to score when custom chord list exists
2013-06-15 16:59:00 -06:00
Marc Sabatella
8037ebf103 improve handling of embedded chord lists
don't write on change from Standard to Jazz; write customized chords
even if generated; write other id-less chords
2013-06-11 12:26:16 -06:00
Marc Sabatella
af87bde90c better updating on chord style change 2013-06-10 17:08:01 -06:00
Marc Sabatella
d347d1f2f0 fixes 2013-06-09 23:03:57 -06:00
Marc Sabatella
8e2d626420 Merge branch 'chords-musicxml' into wytiwyg-chords 2013-06-09 16:27:45 -06:00
Marc Sabatella
fd69242a5c initial commit 2013-06-09 16:27:28 -06:00
Marc Sabatella
15dc879550 fixes
I have now verified that every single chord listed in chords.xml imports
and exports correctly.
2013-06-03 21:08:28 -06:00
Marc Sabatella
0cd63cfe6f MusicXML import of unrecognized chords
A new method is provided generate a chordname directly from a MusicXML
harmony object.  This chordname is then parsed and rendered just as for a
chordname typed directly into the score.
2013-06-02 22:56:24 -06:00
Marc Sabatella
07962f4a5a MusicXML export of unrecognized chords
A chord description object is now generated for each (unique) unrecognized
chord, and MusicXML tags are generated during parsing for inclusion in the
chord description.  This allows unrecognized chords to be exported to
MusicXML using the same mechanisms as recognized chords.
2013-06-02 22:52:21 -06:00
Marc Sabatella
9870cd2772 fixes, and change NULL to nullptr for now 2013-05-17 12:32:17 -06:00
lasconic
62f56f70be replace Q_WS_* by Q_OS_* for Qt5 compatibility 2013-05-16 16:12:22 +02:00
Marc Sabatella
62952d79e1 fix handling of 0 for half-diminished 2013-05-15 22:48:36 -06:00
Marc Sabatella
ba93f40fb9 save token definitions as part of chord list 2013-05-15 15:30:10 -06:00
Marc Sabatella
05be41698a add class attribute handling to token declarations 2013-05-15 15:30:08 -06:00
Marc Sabatella
c0df3af6c0 add facility to define rendering by token in chord description file 2013-05-15 15:30:07 -06:00
Marc Sabatella
0c2926c68e add hidden style option to suppress loading of chords.xml 2013-05-15 15:30:05 -06:00
Marc Sabatella
075bff95c2 simplify and improve parsing and rendering of parens and commas 2013-05-15 15:30:04 -06:00
Marc Sabatella
d569d801cc token-based rendering & other improvements 2013-05-15 15:30:02 -06:00