File indexing completed on 2024-05-05 15:53:17
0001 /* GCompris - NoteNotations.js 0002 * 0003 * SPDX-FileCopyrightText: 2018 Aman Kumar Gupta <gupta2140@gmail.com> 0004 * 0005 * Authors: 0006 * Beth Hadley <bethmhadley@gmail.com> (GTK+ version) 0007 * Johnny Jazeix <jazeix@gmail.com> (Qt Quick port) 0008 * Aman Kumar Gupta <gupta2140@gmail.com> (Qt Quick port) 0009 * 0010 * SPDX-License-Identifier: GPL-3.0-or-later 0011 **/ 0012 0013 function get() { 0014 return [ 0015 { 0016 "noteName": "TrebleD3", 0017 "imageName": "trebleD3", 0018 "rotation": 0, 0019 "positionOnStaff": 9 0020 }, 0021 { 0022 "noteName": "TrebleE3", 0023 "imageName": "trebleE3", 0024 "rotation": 0, 0025 "positionOnStaff": 8.5 0026 }, 0027 { 0028 "noteName": "TrebleF#3", 0029 "imageName": "bassG4", 0030 "rotation": 0, 0031 "positionOnStaff": 8 0032 }, 0033 { 0034 "noteName": "TrebleF3", 0035 "imageName": "bassG4", 0036 "rotation": 0, 0037 "positionOnStaff": 8 0038 }, 0039 { 0040 "noteName": "TrebleGb3", 0041 "imageName": "bassF4", 0042 "rotation": 0, 0043 "positionOnStaff": 7.5 0044 }, 0045 { 0046 "noteName": "TrebleG3", 0047 "imageName": "bassF4", 0048 "rotation": 0, 0049 "positionOnStaff": 7.5 0050 }, 0051 { 0052 "noteName": "TrebleG#3", 0053 "imageName": "bassF4", 0054 "rotation": 0, 0055 "positionOnStaff": 7.5 0056 }, 0057 { 0058 "noteName": "TrebleA3", 0059 "imageName": "trebleA3", 0060 "rotation": 0, 0061 "positionOnStaff": 7 0062 }, 0063 { 0064 "noteName": "TrebleA#3", 0065 "imageName": "trebleA3", 0066 "rotation": 0, 0067 "positionOnStaff": 7 0068 }, 0069 { 0070 "noteName": "TrebleAb3", 0071 "imageName": "trebleA3", 0072 "rotation": 0, 0073 "positionOnStaff": 7 0074 }, 0075 { 0076 "noteName": "TrebleB3", 0077 "imageName": "trebleB3", 0078 "rotation": 0, 0079 "positionOnStaff": 6.5 0080 }, 0081 { 0082 "noteName": "TrebleBb3", 0083 "imageName": "trebleB3", 0084 "rotation": 0, 0085 "positionOnStaff": 6.5 0086 }, 0087 { 0088 "noteName": "TrebleC4", 0089 "imageName": "trebleC4", 0090 "rotation": 0, 0091 "positionOnStaff": 6 0092 }, 0093 { 0094 "noteName": "TrebleC#4", 0095 "imageName": "trebleC4", 0096 "rotation": 0, 0097 "positionOnStaff": 6 0098 }, 0099 { 0100 "noteName": "TrebleDb4", 0101 "imageName": "genericNote", 0102 "rotation": 0, 0103 "positionOnStaff": 5.5 0104 }, 0105 { 0106 "noteName": "TrebleD4", 0107 "imageName": "genericNote", 0108 "rotation": 0, 0109 "positionOnStaff": 5.5 0110 }, 0111 { 0112 "noteName": "TrebleD#4", 0113 "imageName": "genericNote", 0114 "rotation": 0, 0115 "positionOnStaff": 5.5 0116 }, 0117 { 0118 "noteName": "TrebleEb4", 0119 "imageName": "genericNote", 0120 "rotation": 0, 0121 "positionOnStaff": 5 0122 }, 0123 { 0124 "noteName": "TrebleE4", 0125 "imageName": "genericNote", 0126 "rotation": 0, 0127 "positionOnStaff": 5 0128 }, 0129 { 0130 "noteName": "TrebleF4", 0131 "imageName": "genericNote", 0132 "rotation": 0, 0133 "positionOnStaff": 4.5 0134 }, 0135 { 0136 "noteName": "TrebleF#4", 0137 "imageName": "genericNote", 0138 "rotation": 0, 0139 "positionOnStaff": 4.5 0140 }, 0141 { 0142 "noteName": "TrebleG4", 0143 "imageName": "genericNote", 0144 "rotation": 0, 0145 "positionOnStaff": 4 0146 }, 0147 { 0148 "noteName": "TrebleGb4", 0149 "imageName": "genericNote", 0150 "rotation": 0, 0151 "positionOnStaff": 4 0152 }, 0153 { 0154 "noteName": "TrebleG#4", 0155 "imageName": "genericNote", 0156 "rotation": 0, 0157 "positionOnStaff": 4 0158 }, 0159 { 0160 "noteName": "TrebleAb4", 0161 "imageName": "genericNote", 0162 "rotation": 0, 0163 "positionOnStaff": 3.5 0164 }, 0165 { 0166 "noteName": "TrebleA4", 0167 "imageName": "genericNote", 0168 "rotation": 0, 0169 "positionOnStaff": 3.5 0170 }, 0171 { 0172 "noteName": "TrebleA#4", 0173 "imageName": "genericNote", 0174 "rotation": 0, 0175 "positionOnStaff": 3.5 0176 }, 0177 { 0178 "noteName": "TrebleBb4", 0179 "imageName": "genericNote", 0180 "rotation": 0, 0181 "positionOnStaff": 3 0182 }, 0183 { 0184 "noteName": "TrebleB4", 0185 "imageName": "genericNote", 0186 "rotation": 0, 0187 "positionOnStaff": 3 0188 }, 0189 { 0190 "noteName": "TrebleC5", 0191 "imageName": "genericNote", 0192 "rotation": 180, 0193 "positionOnStaff": 2.5 0194 }, 0195 { 0196 "noteName": "TrebleC#5", 0197 "imageName": "genericNote", 0198 "rotation": 180, 0199 "positionOnStaff": 2.5 0200 }, 0201 { 0202 "noteName": "TrebleDb5", 0203 "imageName": "genericNote", 0204 "rotation": 180, 0205 "positionOnStaff": 2 0206 }, 0207 { 0208 "noteName": "TrebleD5", 0209 "imageName": "genericNote", 0210 "rotation": 180, 0211 "positionOnStaff": 2 0212 }, 0213 { 0214 "noteName": "TrebleD#5", 0215 "imageName": "genericNote", 0216 "rotation": 180, 0217 "positionOnStaff": 2 0218 }, 0219 { 0220 "noteName": "TrebleEb5", 0221 "imageName": "genericNote", 0222 "rotation": 180, 0223 "positionOnStaff": 1.5 0224 }, 0225 { 0226 "noteName": "TrebleE5", 0227 "imageName": "genericNote", 0228 "rotation": 180, 0229 "positionOnStaff": 1.5 0230 }, 0231 { 0232 "noteName": "TrebleF5", 0233 "imageName": "genericNote", 0234 "rotation": 180, 0235 "positionOnStaff": 1 0236 }, 0237 { 0238 "noteName": "TrebleF#5", 0239 "imageName": "genericNote", 0240 "rotation": 180, 0241 "positionOnStaff": 1 0242 }, 0243 { 0244 "noteName": "TrebleG5", 0245 "imageName": "genericNote", 0246 "rotation": 180, 0247 "positionOnStaff": 0.5 0248 }, 0249 { 0250 "noteName": "TrebleGb5", 0251 "imageName": "genericNote", 0252 "rotation": 180, 0253 "positionOnStaff": 0.5 0254 }, 0255 { 0256 "noteName": "TrebleG#5", 0257 "imageName": "genericNote", 0258 "rotation": 180, 0259 "positionOnStaff": 0.5 0260 }, 0261 { 0262 "noteName": "TrebleAb5", 0263 "imageName": "genericNote", 0264 "rotation": 180, 0265 "positionOnStaff": 0 0266 }, 0267 { 0268 "noteName": "TrebleA5", 0269 "imageName": "trebleC4", 0270 "rotation": 180, 0271 "positionOnStaff": 0 0272 }, 0273 { 0274 "noteName": "TrebleA#5", 0275 "imageName": "trebleC4", 0276 "rotation": 180, 0277 "positionOnStaff": 0 0278 }, 0279 { 0280 "noteName": "TrebleBb5", 0281 "imageName": "trebleB3", 0282 "rotation": 180, 0283 "positionOnStaff": -0.5 0284 }, 0285 { 0286 "noteName": "TrebleB5", 0287 "imageName": "trebleB3", 0288 "rotation": 180, 0289 "positionOnStaff": -0.5 0290 }, 0291 { 0292 "noteName": "TrebleC6", 0293 "imageName": "trebleA3", 0294 "rotation": 180, 0295 "positionOnStaff": -1 0296 }, 0297 { 0298 "noteName": "TrebleC#6", 0299 "imageName": "trebleA3", 0300 "rotation": 180, 0301 "positionOnStaff": -1 0302 }, 0303 { 0304 "noteName": "TrebleDb6", 0305 "imageName": "bassF4", 0306 "rotation": 180, 0307 "positionOnStaff": -1.5 0308 }, 0309 { 0310 "noteName": "TrebleD6", 0311 "imageName": "bassF4", 0312 "rotation": 180, 0313 "positionOnStaff": -1.5 0314 }, 0315 { 0316 "noteName": "TrebleD#6", 0317 "imageName": "bassF4", 0318 "rotation": 180, 0319 "positionOnStaff": -1.5 0320 }, 0321 { 0322 "noteName": "TrebleEb6", 0323 "imageName": "bassG4", 0324 "rotation": 180, 0325 "positionOnStaff": -2 0326 }, 0327 { 0328 "noteName": "TrebleE6", 0329 "imageName": "bassG4", 0330 "rotation": 180, 0331 "positionOnStaff": -2 0332 }, 0333 { 0334 "noteName": "TrebleF6", 0335 "imageName": "trebleE3", 0336 "rotation": 180, 0337 "positionOnStaff": -2.5 0338 }, 0339 { 0340 "noteName": "BassF1", 0341 "imageName": "trebleD3", 0342 "rotation": 0, 0343 "positionOnStaff": 9 0344 }, 0345 { 0346 "noteName": "BassG1", 0347 "imageName": "trebleE3", 0348 "rotation": 0, 0349 "positionOnStaff": 8.5 0350 }, 0351 { 0352 "noteName": "BassA1", 0353 "imageName": "bassG4", 0354 "rotation": 0, 0355 "positionOnStaff": 8 0356 }, 0357 { 0358 "noteName": "BassB1", 0359 "imageName": "bassF4", 0360 "rotation": 0, 0361 "positionOnStaff": 7.5 0362 }, 0363 { 0364 "noteName": "BassC2", 0365 "imageName": "trebleA3", 0366 "rotation": 0, 0367 "positionOnStaff": 7 0368 }, 0369 { 0370 "noteName": "BassD2", 0371 "imageName": "trebleB3", 0372 "rotation": 0, 0373 "positionOnStaff": 6.5 0374 }, 0375 { 0376 "noteName": "BassE2", 0377 "imageName": "trebleC4", 0378 "rotation": 0, 0379 "positionOnStaff": 6 0380 }, 0381 { 0382 "noteName": "BassF2", 0383 "imageName": "genericNote", 0384 "rotation": 0, 0385 "positionOnStaff": 5.5 0386 }, 0387 { 0388 "noteName": "BassG2", 0389 "imageName": "genericNote", 0390 "rotation": 0, 0391 "positionOnStaff": 5 0392 }, 0393 { 0394 "noteName": "BassA2", 0395 "imageName": "genericNote", 0396 "rotation": 0, 0397 "positionOnStaff": 4.5 0398 }, 0399 { 0400 "noteName": "BassB2", 0401 "imageName": "genericNote", 0402 "rotation": 0, 0403 "positionOnStaff": 4 0404 }, 0405 { 0406 "noteName": "BassC3", 0407 "imageName": "genericNote", 0408 "rotation": 180, 0409 "positionOnStaff": 3.5 0410 }, 0411 { 0412 "noteName": "BassC#3", 0413 "imageName": "genericNote", 0414 "rotation": 180, 0415 "positionOnStaff": 3.5 0416 }, 0417 { 0418 "noteName": "BassDb3", 0419 "imageName": "genericNote", 0420 "rotation": 180, 0421 "positionOnStaff": 3 0422 }, 0423 { 0424 "noteName": "BassD3", 0425 "imageName": "genericNote", 0426 "rotation": 180, 0427 "positionOnStaff": 3 0428 }, 0429 { 0430 "noteName": "BassD#3", 0431 "imageName": "genericNote", 0432 "rotation": 180, 0433 "positionOnStaff": 3 0434 }, 0435 { 0436 "noteName": "BassEb3", 0437 "imageName": "genericNote", 0438 "rotation": 180, 0439 "positionOnStaff": 2.5 0440 }, 0441 { 0442 "noteName": "BassE3", 0443 "imageName": "genericNote", 0444 "rotation": 180, 0445 "positionOnStaff": 2.5 0446 }, 0447 { 0448 "noteName": "BassF3", 0449 "imageName": "genericNote", 0450 "rotation": 180, 0451 "positionOnStaff": 2 0452 }, 0453 { 0454 "noteName": "BassF#3", 0455 "imageName": "genericNote", 0456 "rotation": 180, 0457 "positionOnStaff": 2 0458 }, 0459 { 0460 "noteName": "BassG3", 0461 "imageName": "genericNote", 0462 "rotation": 180, 0463 "positionOnStaff": 1.5 0464 }, 0465 { 0466 "noteName": "BassGb3", 0467 "imageName": "genericNote", 0468 "rotation": 180, 0469 "positionOnStaff": 1.5 0470 }, 0471 { 0472 "noteName": "BassG#3", 0473 "imageName": "genericNote", 0474 "rotation": 180, 0475 "positionOnStaff": 1.5 0476 }, 0477 { 0478 "noteName": "BassAb3", 0479 "imageName": "genericNote", 0480 "rotation": 180, 0481 "positionOnStaff": 1 0482 }, 0483 { 0484 "noteName": "BassA3", 0485 "imageName": "genericNote", 0486 "rotation": 180, 0487 "positionOnStaff": 1 0488 }, 0489 { 0490 "noteName": "BassA#3", 0491 "imageName": "genericNote", 0492 "rotation": 180, 0493 "positionOnStaff": 1 0494 }, 0495 { 0496 "noteName": "BassBb3", 0497 "imageName": "genericNote", 0498 "rotation": 180, 0499 "positionOnStaff": 0.5 0500 }, 0501 { 0502 "noteName": "BassB3", 0503 "imageName": "genericNote", 0504 "rotation": 180, 0505 "positionOnStaff": 0.5 0506 }, 0507 { 0508 "noteName": "BassC4", 0509 "imageName": "trebleC4", 0510 "rotation": 180, 0511 "positionOnStaff": 0 0512 }, 0513 { 0514 "noteName": "BassC#4", 0515 "imageName": "trebleC4", 0516 "rotation": 180, 0517 "positionOnStaff": 0 0518 }, 0519 { 0520 "noteName": "BassD4", 0521 "imageName": "trebleB3", 0522 "rotation": 180, 0523 "positionOnStaff": -0.5 0524 }, 0525 { 0526 "noteName": "BassD#4", 0527 "imageName": "trebleB3", 0528 "rotation": 180, 0529 "positionOnStaff": -0.5 0530 }, 0531 { 0532 "noteName": "BassDb4", 0533 "imageName": "trebleB3", 0534 "rotation": 180, 0535 "positionOnStaff": -0.5 0536 }, 0537 { 0538 "noteName": "BassE4", 0539 "imageName": "trebleA3", 0540 "rotation": 180, 0541 "positionOnStaff": -1 0542 }, 0543 { 0544 "noteName": "BassEb4", 0545 "imageName": "trebleA3", 0546 "rotation": 180, 0547 "positionOnStaff": -1 0548 }, 0549 { 0550 "noteName": "BassF4", 0551 "imageName": "bassF4", 0552 "rotation": 180, 0553 "positionOnStaff": -1.5 0554 }, 0555 { 0556 "noteName": "BassF#4", 0557 "imageName": "bassF4", 0558 "rotation": 180, 0559 "positionOnStaff": -1.5 0560 }, 0561 { 0562 "noteName": "BassG4", 0563 "imageName": "bassG4", 0564 "rotation": 180, 0565 "positionOnStaff": -2 0566 }, 0567 { 0568 "noteName": "BassGb4", 0569 "imageName": "bassG4", 0570 "rotation": 180, 0571 "positionOnStaff": -2 0572 }, 0573 { 0574 "noteName": "BassA4", 0575 "imageName": "trebleE3", 0576 "rotation": 180, 0577 "positionOnStaff": -2.5 0578 }, 0579 { 0580 "noteName": "BassB4", 0581 "imageName": "trebleD3", 0582 "rotation": 180, 0583 "positionOnStaff": -3 0584 }, 0585 { 0586 "noteName": "wholeRest", 0587 "imageName": "wholeRest", 0588 "rotation": 0, 0589 "positionOnStaff": 3.4 0590 }, 0591 { 0592 "noteName": "halfRest", 0593 "imageName": "halfRest", 0594 "rotation": 0, 0595 "positionOnStaff": 3.4 0596 }, 0597 { 0598 "noteName": "quarterRest", 0599 "imageName": "quarterRest", 0600 "rotation": 0, 0601 "positionOnStaff": 4.5 0602 }, 0603 { 0604 "noteName": "eighthRest", 0605 "imageName": "eighthRest", 0606 "rotation": 0, 0607 "positionOnStaff": 4.6 0608 } 0609 ] 0610 }