1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE museScore [
<!--
=====================================================================
MuseScore
Linux Music Score Editor
$Id: mscore.cpp 1850 2009-05-25 07:44:35Z wschweer $
Copyright (C) 2009 Werner Schweer and others
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
=====================================================================
This file describes how chord symbols are parsed and rendered
in MuseScore
=====================================================================
-->
<!-- MuseJazz extensions are already superscripted; this is how much to move them back down -->
<!ENTITY ext "2.5">
<!-- MuseJazz modifier digits are already superscripted; this is how much to move everything else up to match -->
<!ENTITY mod "4.5">
<!-- this is additional superscripting to apply to modifier digits -->
<!ENTITY modn "1">
]>
<museScore version="1.24">
<!--
Part I: font list
associate symbols (code points) with names
If no font family is given or font family is "default" then the
configured text style font family is used.
-->
<font family="MuseJazz">
<sym code="0xe180" name="ma"/>
<sym code="0xe181" name="mi"/>
<sym code="0xe182" name="s11"/>
<sym code="0xe183" name="s13"/>
<sym code="0xe184" name="sdim"/>
<sym code="0xe185" name="sus"/>
<sym code="0xe186" name="+"/>
<sym code="0xe187" name="degree"/>
<sym code="0xe188" name="sb"/>
<sym code="0xe189" name="s#"/>
<sym code="0xe18a" name="triangle"/>
<sym code="0xe18b" name="sadd"/>
<sym code="0xe18c" name="sadd11"/>
<sym code="0xe18d" name="sus4"/>
<sym code="0xe18e" name="circle"/>
<sym code="0xe18f" name="oslash"/>
<sym code="0xe190" name="s0"/>
<sym code="0xe191" name="s1"/>
<sym code="0xe192" name="s2"/>
<sym code="0xe193" name="s3"/>
<sym code="0xe194" name="s4"/>
<sym code="0xe195" name="s5"/>
<sym code="0xe196" name="s6"/>
<sym code="0xe197" name="s7"/>
<sym code="0xe198" name="s8"/>
<sym code="0xe199" name="s9"/>
<sym code="0x266d" name="b"/>
<sym code="0x266e" name="natural"/>
<sym code="0x266f" name="#"/>
<sym code="0x1d12a" name="##"/>
<sym code="0x1d12b" name="bb"/>
<!-- add "code" attributes (as for "b" and "#" above) to get these to render as flat and sharp signs -->
<sym class="accidental" name="es"/>
<sym class="accidental" name="is"/>
<!-- this is to render the "s" in "As" and "Es" in German -->
<sym class="accidental" name="s"/>
<!-- change value of "code" attribute to "0x200b" (zero width space) to force Bb to render as B in German -->
<sym class="german_B" code="0x266d" name="b"/>
<!-- these enable "b" and "mi" to render as literals when encountered as note names -->
<sym class="note" name="b"/>
<sym class="note" name="mi"/>
</font>
<font family="MuseJazz">
<mag>0.85</mag>
<sym name="("/>
<sym name=")"/>
<sym name="M"/>
<sym name="Ma"/>
<sym name="Maj"/>
<sym name="maj"/>
<sym name="m"/>
<sym name="min"/>
<sym name="aug"/>
<sym name="dim"/>
<sym name="alt"/>
<sym name="bass"/>
<sym name="pedal"/>
</font>
<font family="MuseJazz">
<mag>1.3</mag>
<sym code="0xe190" name="e0"/>
<sym code="0xe191" name="e1"/>
<sym code="0xe192" name="e2"/>
<sym code="0xe193" name="e3"/>
<sym code="0xe194" name="e4"/>
<sym code="0xe195" name="e5"/>
<sym code="0xe196" name="e6"/>
<sym code="0xe197" name="e7"/>
<sym code="0xe198" name="e8"/>
<sym code="0xe199" name="e9"/>
<sym code="0xe18b" name="add"/>
<sym code="0xe18c" name="add11"/>
</font>
<font family="MuseJazz">
<mag>0.75</mag>
<sym value="(" name="s("/>
<sym value=")" name="s)"/>
<sym value="," name="s,"/>
<sym value="/" name="s/"/>
<sym name="no"/>
<sym name="omit"/>
<sym code="0xe18a" name="striangle"/>
</font>
<!--
Part II: token list
define how the various tokens within a chord symbol should be rendered
name ordinary text name of token
multiple names may be listed to allow mseveral different tokens to render the same way
render this is a script that contains render commands
see Part III for details
-->
<token>
<name>t</name>
<name>^</name>
<render>triangle</render>
</token>
<token class="modifier">
<name>t</name>
<name>^</name>
<render>m:0:-&mod; striangle m:0:&mod;</render>
</token>
<token class="modifier">
<name>M</name>
<render>m:0:-&mod; M m:0:&mod;</render>
</token>
<token class="modifier">
<name>Ma</name>
<render>m:0:-&mod; Ma m:0:&mod;</render>
</token>
<token class="modifier">
<name>ma</name>
<render>m:0:-&mod; ma m:0:&mod;</render>
</token>
<token class="modifier">
<name>Maj</name>
<render>m:0:-&mod; Maj m:0:&mod;</render>
</token>
<token class="modifier">
<name>maj</name>
<render>m:0:-&mod; maj m:0:&mod;</render>
</token>
<token>
<name>o</name>
<render>degree</render>
</token>
<token>
<name>0</name>
<render>m:0:-4 oslash m:0:4</render>
</token>
<token class="modifier">
<name>dim</name>
<render>sdim</render>
</token>
<token>
<name>69</name>
<render>m:1:-2 s6 m:-4:7 s9 m:0:-5</render>
</token>
<token class="quality">
<name>add</name>
<render>m:0:1.5 sadd m:0:-1.5</render>
</token>
<token class="modifier">
<name>add</name>
<render>m:0:-0.5 sadd m:0:0.5</render>
</token>
<token class="modifier">
<name>alt</name>
<render>m:-1:0 alt</render>
</token>
<token class="modifier">
<name>no</name>
<render>m:0:-&mod; no m:0:&mod;</render>
</token>
<token class="modifier">
<name>omit</name>
<render>m:0:-&mod; omit m:0:&mod;</render>
</token>
<token class="extension">
<name>(</name>
<render>m:1:-&ext; m:0:-2 ( m:0:2 m:-0:&ext;</render>
</token>
<token class="extension">
<name>)</name>
<render>m:0:-&ext; m:0:-2 ) m:0:2 m:0:&ext;</render>
</token>
<token class="extension">
<name>,</name>
<render>m:0:-&ext; m:0:-1 , m:0:1 m:0:&ext;</render>
</token>
<token class="extension">
<name>/</name>
<render>m:0:-&ext; m:0:-1 / m:0:1 m:0:&ext;</render>
</token>
<token class="modifier">
<name>(</name>
<render>m:1:-&mod; s( m:0:&mod;</render>
</token>
<token class="modifier">
<name>)</name>
<render>m:0:-&mod; s) m:0:&mod;</render>
</token>
<token class="modifier">
<name>,</name>
<render>m:0:-&mod; s, m:0:&mod;</render>
</token>
<token class="modifier">
<name>/</name>
<render>m:0:-&mod; s/ m:0:&mod;</render>
</token>
<token class="modifier">
<name>b</name>
<render>m:0.5:0 sb</render>
</token>
<token class="modifier">
<name>#</name>
<render>s#</render>
</token>
<token class="extension">
<name>0</name>
<render>m:0:&ext; e0 m:0:-&ext;</render>
</token>
<token class="extension">
<name>1</name>
<render>m:0:&ext; e1 m:0:-&ext;</render>
</token>
<token class="extension">
<name>2</name>
<render>m:0:&ext; e2 m:0:-&ext;</render>
</token>
<token class="extension">
<name>3</name>
<render>m:0:&ext; e3 m:0:-&ext;</render>
</token>
<token class="extension">
<name>4</name>
<render>m:0:&ext; e4 m:0:-&ext;</render>
</token>
<token class="extension">
<name>5</name>
<render>m:0:&ext; e5 m:0:-&ext;</render>
</token>
<token class="extension">
<name>6</name>
<render>m:0:&ext; e6 m:0:-&ext;</render>
</token>
<token class="extension">
<name>7</name>
<render>m:0:&ext; e7 m:0:-&ext;</render>
</token>
<token class="extension">
<name>8</name>
<render>m:0:&ext; e8 m:0:-&ext;</render>
</token>
<token class="extension">
<name>9</name>
<render>m:0:&ext; e9 m:0:-&ext;</render>
</token>
<token class="extension">
<name>10</name>
<render>m:0:&ext; e1 e0 m:0:-&ext;</render>
</token>
<token class="extension">
<name>11</name>
<render>m:0:&ext; e1 e1 m:0:-&ext;</render>
</token>
<token class="extension">
<name>12</name>
<render>m:0:&ext; e1 e2 m:0:-&ext;</render>
</token>
<token class="extension">
<name>13</name>
<render>m:0:&ext; e1 e3 m:0:-&ext;</render>
</token>
<token class="modifier">
<name>0</name>
<render>m:0:-&modn; s0 m:0:&modn;</render>
</token>
<token class="modifier">
<name>1</name>
<render>m:0:-&modn; s1m:0:&modn; </render>
</token>
<token class="modifier">
<name>2</name>
<render>m:0:-&modn; s2 m:0:&modn;</render>
</token>
<token class="modifier">
<name>3</name>
<render>m:0:-&modn; s3 m:0:&modn;</render>
</token>
<token class="modifier">
<name>4</name>
<!-- kludge: 4 used with sus mostly, so lower it accordingly -->
<render>m:0:0 s4 m:0:0</render>
</token>
<token class="modifier">
<name>5</name>
<render>m:0:-&modn; s5 m:0:&modn;</render>
</token>
<token class="modifier">
<name>6</name>
<render>m:0:-&modn; s6 m:0:&modn;</render>
</token>
<token class="modifier">
<name>7</name>
<render>m:0:-&modn; s7 m:0:&modn;</render>
</token>
<token class="modifier">
<name>8</name>
<render>m:0:-&modn; s8 m:0:&modn;</render>
</token>
<token class="modifier">
<name>9</name>
<render>m:0:-&modn; s9 m:0:&modn;</render>
</token>
<token class="modifier">
<name>10</name>
<render>m:0:-&modn; s1 s0 m:0:&modn;</render>
</token>
<token class="modifier">
<name>11</name>
<render>m:0:-&modn; s1 s1 m:0:&modn;</render>
</token>
<token class="modifier">
<name>12</name>
<render>m:0:-&modn; s1 s2 m:0:&modn;</render>
</token>
<token class="modifier">
<name>13</name>
<render>m:0:-&modn; s1 s3 m:0:&modn;</render>
</token>
<renderRoot>:n :a </renderRoot>
<renderBase>/ m:0:1 :n :a m:0:-1</renderBase>
<!--
Part III: chord list
declare a list of chords to be explicitly recognized
any chord recognized as matching something on this list
will be rendered according to the definition in this list,
as opposed to being rendered directly from the chord symbol as typed
thus, it provides the ability to define overrides for rendering specific chord symbols
id internal chord number
may be omitted if you don't need compatibility with older chord description files
name ordinary text name of chord
multiple names can be used to allow several different representations of the same chord
but there is no need to list the most common variations like "CMaj7" versus "Cma7"
the need for multiple names comes in if you want
significantly different ways of entering the same chord
so listing "mi7b5" and "07" as aliases for the same (half-diminished) chord
would allow them to be recognized as equivalent
render this is a script which contains render commands
commands:
xxx draw symbol name xxx
m:x:y add x:y (point) to current position
:push
:pop
:n root or base note
:a accidental
if omitted, chord will be rendered directly from the first name listed above
so you can get all major seventh chords to render as "ma7" by creating a chord definition
with no id or render tag, and just the single name "ma7"
-->
<chord>
<name>6/9</name>
<render>m:1:-2 s6 m:-2.5:0 s/ m:-2:7 s9 m:0:-5</render>
</chord>
<chord>
<name>6,9</name>
<render>s6 m:0:-&mod; s, m:0:&mod; s9</render>
</chord>
</museScore>
|