sightPhase4Ingredients top-level property

List<SightIngredient> sightPhase4Ingredients
final

Implementation

final List<SightIngredient> sightPhase4Ingredients = List.unmodifiable([
  SightIngredient(
    level: 61,
    id: 'valsa',
    text: 'Valsa: o baixo que salta',
    focus: SightHands.left,
    bpm: 96,
    concertBpm: 176,
    apply: (r) {
      // Os tons de 4 a 6 acidentes pesam mais daqui em diante.
      r.keys = [...r.keys, ..._heavyKeys];
      _reset(r, left: {'waltzLeap': 12, 'bass': 0.5});
      r.character = 'Tempo di valzer';
      r.meters = ['3/4'];
      r.bars = {16: 1};
      r.figures = {12, ..._singingFigures};
      r.tuplets = {};
      r.harmony = {...r.harmony}
        ..removeAll({'binaryOnly', 'textureB', 'texturePerPhrase'})
        ..addAll({'ternaryOnly', 'syncopes'});
      // A melodia com apojaturas (só elas) e notas longas ligadas através da
      // barra (`syncopes`).
      r.ornaments = 0.9;
      r.devices = {'graceOnly': 1};
      r.articulation = 0.6;
      r.dynamics = 0.5;
    },
  ),
  SightIngredient(
    level: 62,
    id: 'noturno',
    text: 'Noturno: o arpejo largo',
    focus: SightHands.left,
    // ♪ 96 no 12/8, a semínima a 48.
    bpm: 48,
    concertBpm: 80,
    unlocks: {SightFeature.wideArpeggio},
    apply: (r) {
      _reset(
        r,
        right: {'innerVoice': 8, 'thirds': 2, 'melody': 1, 'closing': 1},
        left: {'nocturne': 2, 'intermezzo': 12},
      );
      r.character = 'Andante';
      r.meters = ['12/8', '12/8', '4/4'];
      r.bars = {8: 1, 16: 1};
      r.figures = {24, 48, 72, 96, 144, 192};
      r.harmony = {...r.harmony}
        ..removeAll({'ternaryOnly', 'textureB', 'texturePerPhrase'})
        ..addAll({'periodOnly'});
      // A direita começa no dó central: o arpejo largo abre uma décima ou
      // mais por baixo dela.
      r.rightRange = (low: 1, high: 13);
      r.pedal = 0.95;
      r.ornaments = 0.3;
      r.articulation = 0.5;
      r.dynamics = 0.7;
    },
  ),
  SightIngredient(
    level: 63,
    id: 'mazurca',
    text: 'Mazurca',
    focus: SightHands.right,
    bpm: 100,
    concertBpm: 160,
    apply: (r) {
      _reset(r, left: {'mazurkaLeft': 12, 'waltzLeap': 2, 'bass': 0.5});
      r.character = 'Tempo di mazurka';
      r.meters = ['3/4'];
      r.bars = {8: 1, 16: 1};
      r.figures = {12, 24, 36, 48, 72, 96, 144};
      r.harmony = {...r.harmony}
        ..removeAll({'periodOnly'})
        ..addAll({'mazurka', 'ternaryOnly'});
      r.rightRange = (low: -1, high: 13);
      r.devices = {'mazurca': 1, 'graceOnly': 1};
      r.ornaments = 0.4;
      r.articulation = 0.4;
      r.dynamics = 0.5;
    },
  ),
  SightIngredient(
    level: 64,
    id: 'cancao-sem-palavras',
    text: 'Melodia e acompanhamento na mesma mão',
    focus: SightHands.right,
    bpm: 60,
    concertBpm: 96,
    apply: (r) {
      _reset(r, right: {'songVoice': 12, 'melody': 1}, left: {'bass': 1.0});
      r.character = 'Andante con moto';
      r.meters = ['4/4', '3/4'];
      r.bars = {8: 1};
      r.figures = {48, 72, 96, 144, 192};
      r.harmony = {...r.harmony}
        ..removeAll({'mazurka', 'ternaryOnly'})
        ..addAll({'periodOnly'});
      r.rightRange = (low: 3, high: 13);
      r.pedal = 0.8;
      r.articulation = 0.3;
      r.dynamics = 0.6;
    },
  ),
  SightIngredient(
    level: 65,
    id: 'fioritura-curta',
    text: 'Fioriture: grupos de 5 a 7',
    focus: SightHands.right,
    bpm: 50,
    concertBpm: 84,
    unlocks: {SightFeature.irregularTuplet},
    apply: (r) {
      _reset(r, right: _innerMix, left: {'fullBlocks': 6});
      r.character = 'Andante sostenuto';
      r.meters = ['4/4', '3/4'];
      r.bars = {8: 1};
      r.figures = {48, 96, 144, 192};
      r.devices = {'fioritura': 1};
      r.harmony = {...r.harmony}
        ..removeAll({'mazurka'})
        ..addAll({'periodOnly'});
      r.rightRange = (low: -1, high: 13);
      r.pedal = 0.8;
      r.dynamics = 0.5;
    },
  ),
  SightIngredient(
    level: 66,
    id: 'fioritura-longa',
    text: 'Fioriture: grupos de 9 a 13',
    focus: SightHands.right,
    bpm: 44,
    concertBpm: 72,
    apply: (r) {
      _reset(r, right: _innerMix, left: {'fullBlocks': 6});
      r.character = 'Lento';
      r.meters = ['4/4', '3/4'];
      r.bars = {8: 1};
      r.figures = {48, 96, 144, 192};
      r.devices = {'fioritura-longa': 1};
      r.harmony = {...r.harmony}..addAll({'periodOnly'});
      r.rightRange = (low: -1, high: 13);
      r.pedal = 0.8;
      r.dynamics = 0.5;
    },
  ),
  SightIngredient(
    level: 67,
    id: 'tres-contra-quatro',
    text: '3 contra 4 e hemíola',
    focus: SightHands.right,
    bpm: 60,
    concertBpm: 108,
    unlocks: {SightFeature.threeAgainstFour},
    apply: (r) {
      _reset(
        r,
        right: _innerMix,
        left: {'waltz': 1.0, 'alternate': 1.0, 'fullBlocks': 2},
      );
      r.character = 'Allegretto';
      r.meters = ['3/4', '3/4', '4/4'];
      r.bars = {8: 1};
      r.figures = {24, 48, 72, 96, 144};
      r.devices = {'tresContraQuatro': 1, 'hemiola': 0.7};
      r.harmony = {...r.harmony}..removeAll({'periodOnly'});
      r.pedal = 0.5;
      r.articulation = 0.4;
    },
  ),
  SightIngredient(
    level: 68,
    id: 'cruzamento-de-maos',
    text: 'Cruzamento de mãos',
    focus: SightHands.left,
    bpm: 72,
    concertBpm: 126,
    unlocks: {SightFeature.handCrossing},
    apply: (r) {
      _reset(
        r,
        left: {'alberti': 1.0, 'alberti16': 0.3, 'waltz': 1.0, 'bass': 0.5},
      );
      r.character = 'Allegro moderato';
      r.meters = ['3/4', '4/4'];
      r.bars = {8: 1};
      r.figures = {24, 48, 72, 96, 144};
      r.devices = {'cruzamento': 1};
      r.dynamics = 0.5;
    },
  ),
  SightIngredient(
    level: 69,
    id: 'nona-e-sequencia-cromatica',
    text: 'Nona e sequência cromática',
    focus: SightHands.right,
    bpm: 66,
    concertBpm: 112,
    apply: (r) {
      _reset(
        r,
        right: _innerMix,
        left: {'fullBlocks': 4, 'alternate': 1.0, 'arpeggio': 1.0},
      );
      r.character = 'Andante appassionato';
      r.meters = ['4/4'];
      r.bars = {8: 1};
      r.figures = {24, 48, 96, 144, 192};
      r.chordsPerBar = 2;
      r.minorShare = 0.65;
      r.harmony = {...r.harmony}..addAll({'V9', 'chainV7', 'lament'});
      r.pedal = 0.7;
      r.dynamics = 0.6;
    },
  ),
  SightIngredient(
    level: 70,
    id: 'enarmonia',
    text: 'Modulação enarmônica',
    focus: SightHands.right,
    bpm: 66,
    concertBpm: 108,
    apply: (r) {
      _reset(
        r,
        right: _innerMix,
        left: {'fullBlocks': 4, 'alternate': 1.0, 'arpeggio': 1.0},
      );
      r.character = 'Andante';
      r.meters = ['4/4'];
      r.bars = {8: 1};
      r.figures = {24, 48, 96, 144, 192};
      r.chordsPerBar = 2;
      r.minorShare = 0.45;
      r.harmony = {...r.harmony}..addAll({'enharmonic', 'V9'});
      r.pedal = 0.7;
      r.dynamics = 0.6;
    },
  ),
  SightIngredient(
    level: 71,
    id: 'sete-acidentes',
    text: 'Todos os tons; dobrados',
    focus: SightHands.right,
    bpm: 66,
    concertBpm: 108,
    apply: (r) {
      _reset(
        r,
        right: _innerMix,
        left: {'fullBlocks': 4, 'alternate': 1.0, 'arpeggio': 1.0},
      );
      r.character = 'Moderato';
      r.meters = ['4/4', '3/4'];
      r.bars = {8: 1};
      r.figures = {24, 48, 96, 144, 192};
      // Os tons de 7 acidentes pesam: dó♯ e dó♭ maior, lá♯ e lá♭ menor.
      r.keys = [
        for (final k in r.keys)
          if (k != 'C') k,
        'C#',
        'C#',
        'Cb',
        'Cb',
        'A#m',
        'A#m',
        'Abm',
        'Abm',
        'F#',
        'Gb',
        'D#m',
        'Ebm',
      ];
      r.minorShare = 0.55;
      r.harmony = {...r.harmony}
        ..removeAll({'enharmonic'})
        ..addAll({'V9'});
      r.pedal = 0.7;
      r.dynamics = 0.5;
    },
  ),
  SightIngredient(
    level: 72,
    id: 'coral-romantico',
    text: 'Acordes a 5 vozes, abertos',
    focus: SightHands.right,
    bpm: 56,
    concertBpm: 92,
    apply: (r) {
      _reset(r, left: {'chorale5': 30});
      r.character = 'Lento';
      r.meters = ['4/4'];
      r.bars = {8: 1};
      r.harmony = {...r.harmony}..addAll({'periodOnly'});
      r.pedal = 0.8;
      r.dynamics = 0.6;
    },
  ),
  SightIngredient(
    level: 73,
    id: 'fuga',
    text: 'Fuga a 3 vozes',
    focus: SightHands.right,
    bpm: 60,
    concertBpm: 104,
    apply: (r) {
      _reset(r, left: {'fugue': 30});
      r.character = 'Moderato';
      r.meters = ['4/4'];
      r.bars = {16: 1};
      r.harmony = {...r.harmony}..removeAll({'periodOnly'});
      r.dynamics = 0.4;
    },
  ),
  SightIngredient(
    level: 74,
    id: 'oitavas-na-melodia',
    text: 'Melodia em oitavas',
    focus: SightHands.right,
    bpm: 66,
    concertBpm: 120,
    apply: (r) {
      _reset(
        r,
        right: {'octaveMelody': 12, 'melody': 1},
        left: {'octaves': 8, 'bass': 0.5},
      );
      r.character = 'Maestoso';
      r.meters = ['4/4', '3/4'];
      r.bars = {8: 1};
      r.figures = {24, 36, 48, 96, 144, 192};
      r.rightRange = (low: 6, high: 13);
      r.dynamics = 0.7;
      r.articulation = 0.4;
    },
  ),
  SightIngredient(
    level: 75,
    id: 'acordes-repetidos',
    text: 'Acordes repetidos em tercinas',
    focus: SightHands.right,
    bpm: 60,
    concertBpm: 108,
    unlocks: {SightFeature.repeatedNote},
    apply: (r) {
      _reset(
        r,
        right: {'repeatedChords': 12, 'melody': 1},
        left: {'counter': 3, 'arpeggio': 3, 'alberti16': 3},
      );
      r.character = 'Andante mosso';
      r.meters = ['4/4', '3/4'];
      r.bars = {8: 1};
      r.figures = {48, 96, 144};
      r.rightRange = (low: 4, high: 13);
      r.dynamics = 0.6;
    },
  ),
  SightIngredient(
    level: 76,
    id: 'cascata',
    text: 'Cascata de arpejos',
    focus: SightHands.right,
    bpm: 60,
    concertBpm: 116,
    apply: (r) {
      _reset(r, left: {'cascade': 30});
      r.character = 'Allegretto';
      r.meters = ['4/4'];
      r.bars = {8: 1};
      r.rightRange = (low: -1, high: 13);
      r.pedal = 0.9;
      r.dynamics = 0.5;
    },
  ),
  SightIngredient(
    level: 77,
    id: 'intermezzo',
    text: 'Intermezzo: vozes de dentro e hemíola',
    focus: SightHands.left,
    bpm: 56,
    concertBpm: 88,
    apply: (r) {
      _reset(r, left: {'intermezzo': 12});
      r.character = 'Andante grazioso';
      r.meters = ['3/4', '4/4'];
      r.bars = {8: 1};
      r.figures = {24, 48, 72, 96, 144, 192};
      r.harmony = {...r.harmony}..addAll({'periodOnly', 'syncopes'});
      r.rightRange = (low: 1, high: 13);
      r.devices = {'hemiola': 0.7};
      r.pedal = 0.9;
      r.dynamics = 0.6;
    },
  ),
  SightIngredient(
    level: 78,
    id: 'cadencia-curta',
    text: 'Cadência curta',
    focus: SightHands.right,
    bpm: 50,
    concertBpm: 80,
    unlocks: {SightFeature.cadenza},
    apply: (r) {
      _reset(r, right: _innerMix, left: {'fullBlocks': 4, 'alberti16': 2});
      r.character = 'Andante con espressione';
      r.meters = ['4/4', '3/4'];
      r.bars = {8: 1};
      r.figures = {48, 96, 144, 192};
      r.devices = {'cadencia': 1};
      r.rightRange = (low: -1, high: 13);
      r.pedal = 0.8;
      r.dynamics = 0.5;
    },
  ),
  SightIngredient(
    level: 79,
    id: 'consolacao',
    text: 'Melodia entre os polegares',
    focus: SightHands.right,
    bpm: 56,
    concertBpm: 88,
    apply: (r) {
      _reset(r, left: {'consolation': 30});
      r.character = 'Andante lento';
      r.meters = ['4/4'];
      r.bars = {8: 1};
      r.rightRange = (low: -1, high: 13);
      r.pedal = 0.9;
      r.dynamics = 0.6;
    },
  ),
  SightIngredient(
    level: 80,
    id: 'peca-de-carater',
    text: 'Peça de caráter',
    focus: SightHands.right,
    bpm: 66,
    concertBpm: 120,
    apply: (r) {
      // A: uma textura (noturno, valsa ou canção sem palavras); B: outra, num
      // tom da mediante cromática.
      _reset(
        r,
        right: {'songVoice': 6, 'octaveMelody': 1.0},
        left: {'nocturne': 2.0, 'waltzLeap': 2.0, 'fullBlocks': 1.0},
      );
      r.character = 'Andante con moto';
      r.meters = ['3/4', '4/4'];
      r.bars = {16: 1};
      // A voz de canto tem uma nota por tempo, no mínimo: o acompanhamento da
      // mesma mão pede a melodia calma.
      r.figures = {48, 72, 96, 144, 192};
      r.rightRange = (low: 3, high: 13);
      r.harmony = {...r.harmony}
        ..removeAll({'periodOnly', 'enharmonic'})
        ..addAll({'mediant', 'textureB', 'ternaryOnly', 'V9'});
      r.pedal = 0.8;
      r.dynamics = 0.7;
      r.articulation = 0.4;
    },
  ),
]);