sightPhase3Ingredients top-level property

List<SightIngredient> sightPhase3Ingredients
final

Implementation

final List<SightIngredient> sightPhase3Ingredients = List.unmodifiable([
  SightIngredient(
    level: 41,
    id: 'escala-duas-oitavas',
    text: 'Escalas de duas oitavas',
    focus: SightHands.right,
    bpm: 56,
    apply: (r) {
      _baseRight = Map.of(r.rightTextures);
      _baseLeft = Map.of(r.leftTextures);
      // A escala atravessa o compasso, nos dois sentidos; na esquerda, em
      // oitava ou em décima com a direita.
      r.rightTextures = _onBase(true, {'wideScales': 10});
      r.leftTextures = _onBase(false, {'scaleLeft': 6});
      r.ornaments = 0;
    },
  ),
  SightIngredient(
    level: 42,
    id: 'arpejo-duas-oitavas',
    text: 'Arpejos de duas oitavas',
    focus: SightHands.right,
    bpm: 56,
    apply: (r) {
      _reset(r);
      r.rightTextures = _onBase(true, {'arpeggioR': 10});
      r.leftTextures = _onBase(false, {'arpeggio2': 1});
    },
  ),
  SightIngredient(
    level: 43,
    id: 'ornamentos',
    text: 'Mordente, apojatura breve, trilo (o trilo não conta)',
    focus: SightHands.right,
    bpm: 66,
    unlocks: {SightFeature.ornament, SightFeature.grace},
    apply: (r) {
      // As escalas e os arpejos de duas oitavas ficam na mistura, com pouco peso.
      _baseRight = {..._baseRight, 'wideScales': 0.5, 'arpeggioR': 0.5};
      _baseLeft = {..._baseLeft, 'scaleLeft': 0.3, 'arpeggio2': 0.3};
      _reset(r);
      r.ornaments = 0.55;
    },
  ),
  SightIngredient(
    level: 44,
    id: 'grupeto-e-apojatura',
    text: 'Grupeto e apojatura longa (o ornamento não conta)',
    focus: SightHands.right,
    bpm: 66,
    apply: (r) {
      _reset(r);
      // O trilo longo pede a nota de um compasso.
      r.figures = {...r.figures, 192};
      r.ornaments = 0.6;
    },
  ),
  SightIngredient(
    level: 45,
    id: 'menor-melodica',
    text: 'Menor melódica; até 5 acidentes',
    focus: SightHands.right,
    bpm: 72,
    apply: (r) {
      _reset(r);
      r.ornaments = 0.35;
      r.harmony = {...r.harmony, 'melodicMinor'};
      r.keys = [...r.keys, 'B', 'Db', 'G#m', 'Bbm'];
      r.minorShare = 0.5;
    },
  ),
  SightIngredient(
    level: 46,
    id: 'duas-vozes-na-mao',
    text: 'Duas vozes na mesma mão',
    focus: SightHands.right,
    bpm: 66,
    unlocks: {SightFeature.twoVoicesOneHand},
    apply: (r) {
      r.ornaments = 0.35;
      // As vozes internas ficam na mistura daqui em diante.
      _baseRight = {..._baseRight, 'innerVoice': 3};
      _baseLeft = {..._baseLeft, 'innerLeft': 1.5};
      _reset(r);
    },
  ),
  SightIngredient(
    level: 47,
    id: 'coral',
    text: 'Coral a quatro vozes',
    focus: SightHands.right,
    bpm: 60,
    apply: (r) {
      _reset(r);
      // Peça inteira: soprano e contralto na pauta de sol, tenor e baixo na
      // de fá. As figuras são semínima e mínima.
      r.leftTextures = _onBase(false, {'chorale': 30});
    },
  ),
  SightIngredient(
    level: 48,
    id: 'troca-de-clave',
    text: 'Troca de clave e 8va',
    focus: SightHands.left,
    bpm: 72,
    unlocks: {SightFeature.clefChange, SightFeature.octaveShift},
    apply: (r) {
      _reset(r);
      r.registers = 0.35;
      r.leftTextures = _onBase(false, const {});
    },
  ),
  SightIngredient(
    level: 49,
    id: 'diminuta',
    text: 'Diminuta com sétima',
    focus: SightHands.right,
    bpm: 72,
    apply: (r) {
      _reset(r);
      r.registers = 0.3;
      r.harmony = {...r.harmony, 'iii', 'viio', 'viio7', 'viio7/x'};
    },
  ),
  SightIngredient(
    level: 50,
    id: 'napolitana-e-sexta-aumentada',
    text: 'Napolitana e sexta aumentada',
    focus: SightHands.right,
    bpm: 66,
    apply: (r) {
      _reset(r);
      r.harmony = {...r.harmony, 'N6', 'It6', 'Fr6', 'Ger6'};
      r.minorShare = 0.7;
      // O andamento cai (♩ 66): o Alberti em semicolcheias, que já veio, pesa
      // mais.
      r.leftTextures = _onBase(false, {'alberti16': 4.5});
    },
  ),
  SightIngredient(
    level: 51,
    id: 'invencao',
    text: 'Invenção: imitação',
    focus: SightHands.right,
    bpm: 60,
    apply: (r) {
      _reset(r);
      r.minorShare = 0.5;
      // O andamento cai (♩ 60): o Alberti em semicolcheias e as vozes
      // internas, que já vieram, pesam mais.
      r.rightTextures = _onBase(true, {'innerVoice': 6});
      r.leftTextures = _onBase(false, {'invention': 2, 'alberti16': 10});
    },
  ),
  SightIngredient(
    level: 52,
    id: 'dois-contra-tres',
    text: '2 contra 3',
    focus: SightHands.right,
    bpm: 60,
    unlocks: {SightFeature.twoAgainstThree},
    apply: (r) {
      _reset(r);
      r.polyrhythm = 0.6;
      // O dois contra três tira notas da outra mão: a voz interna da direita
      // pesa mais.
      r.rightTextures = _onBase(true, {'innerVoice': 10.5});
      r.leftTextures = _onBase(false, const {});
    },
  ),
  SightIngredient(
    level: 53,
    id: 'fusas',
    text: 'Fusas: o adágio',
    focus: SightHands.right,
    bpm: 44,
    unlocks: {SightFeature.thirtySecond},
    apply: (r) {
      _reset(r);
      r.character = 'Adagio';
      r.polyrhythm = 0.35;
      r.rightTextures = _onBase(true, {'fusas': 10});
      // O adágio (♩ 44) compensa o andamento com a esquerda em semicolcheias.
      r.leftTextures = _onBase(false, {'alberti16': 12, 'innerLeft': 4});
    },
  ),
  SightIngredient(
    level: 54,
    id: 'pedal',
    text: 'Pedal e o acompanhamento aberto',
    focus: SightHands.left,
    bpm: 60,
    unlocks: {SightFeature.pedal},
    apply: (r) {
      _reset(r);
      r.character = '';
      r.pedal = 0.95;
      r.rightTextures = _onBase(true, {'innerVoice': 6});
      r.leftTextures = _onBase(false, {'open': 3, 'alberti16': 9});
    },
  ),
  SightIngredient(
    level: 55,
    id: 'binaria',
    text: 'Forma binária, 16 compassos',
    focus: SightHands.right,
    bpm: 72,
    apply: (r) {
      _reset(r);
      r.pedal = 0.3;
      r.bars = {16: 1};
      r.harmony = {...r.harmony, 'binaryOnly'};
    },
  ),
  SightIngredient(
    level: 56,
    id: 'ternaria',
    text: 'Forma ternária: ABA',
    focus: SightHands.right,
    bpm: 72,
    apply: (r) {
      _reset(r);
      r.harmony = {...r.harmony}
        ..remove('binaryOnly')
        ..addAll({'ternaryOnly', 'textureB'});
    },
  ),
  SightIngredient(
    level: 57,
    id: 'contratempo',
    text: 'Síncope e contratempo',
    focus: SightHands.right,
    bpm: 72,
    apply: (r) {
      _reset(r);
      r.harmony = {...r.harmony}..add('syncopes');
      r.leftTextures = _onBase(false, {'offbeat': 6});
    },
  ),
  SightIngredient(
    level: 58,
    id: 'seis-acidentes',
    text: 'Tons até 6 acidentes',
    focus: SightHands.right,
    bpm: 72,
    apply: (r) {
      _reset(r);
      r.keys = [...r.keys, 'F#', 'Gb', 'D#m', 'Ebm', 'B', 'Db', 'G#m', 'Bbm'];
      r.leftTextures = _onBase(false, const {});
    },
  ),
  SightIngredient(
    level: 59,
    id: 'sonatina',
    text: 'Sonatina',
    focus: SightHands.right,
    bpm: 66,
    apply: (r) {
      _reset(r);
      // A sonatina: binária de 16 compassos, a textura muda a cada frase, com
      // ornamento na cadência, articulação e dinâmica.
      r.bars = {16: 1};
      r.harmony = {...r.harmony}
        ..removeAll({'textureB', 'ternaryOnly'})
        ..addAll({'binaryOnly', 'texturePerPhrase'});
      r.ornaments = 0.9;
      r.rightTextures = _onBase(true, {'scales': 1, 'arpeggioR': 1});
    },
  ),
  SightIngredient(
    level: 60,
    id: 'preludio-de-acordes',
    text: 'Prelúdio: acordes que andam por semitom',
    focus: SightHands.left,
    bpm: 56,
    unlocks: {SightFeature.repeatedNote, SightFeature.fourNoteChord},
    apply: (r) {
      _reset(r);
      r.ornaments = 0.35;
      r.bars = {8: 1};
      r.harmony = {...r.harmony}..removeAll({'binaryOnly', 'texturePerPhrase'});
      r.leftTextures = {'prelude': 12, 'bass': 1};
      r.rightTextures = {'melody': 1};
    },
  ),
]);