sightPhase2Ingredients top-level property

List<SightIngredient> sightPhase2Ingredients
final

Implementation

final List<SightIngredient> sightPhase2Ingredients = List.unmodifiable([
  SightIngredient(
    level: 21,
    id: 'extensao',
    text: 'Duas oitavas',
    focus: SightHands.right,
    bpm: 72,
    unlocks: {SightFeature.ledgerLines},
    apply: (r) {
      // A direita do lá3 ao lá5 e a esquerda do dó2 ao dó4, em graus.
      r.rightRange = (low: -1, high: 13);
      r.leftRange = (low: -6, high: 8);
      r.keys = [..._majors];
      r.bars = {4: 1};
      r.meters = ['4/4'];
      r.figures = {24, 48, 96};
      r.leftTextures = {'bass': 1};
    },
  ),
  SightIngredient(
    level: 22,
    id: 'melodia-entre-maos',
    text: 'A melodia passa de mão',
    focus: SightHands.left,
    bpm: 72,
    apply: (r) {
      r.chordsPerBar = 2;
      r.leftTextures = _fade(r.leftTextures, {'handoff': 0.4});
    },
  ),
  SightIngredient(
    level: 23,
    id: 'menor-harmonica',
    text: 'Lá, mi e ré menor',
    focus: SightHands.right,
    bpm: 66,
    unlocks: {SightFeature.minorKey, SightFeature.accidental},
    apply: (r) {
      r.keys = [..._majors, 'Am', 'Em', 'Dm'];
      r.minorShare = 0.6;
    },
  ),
  SightIngredient(
    level: 24,
    id: 'menores',
    text: 'Tons menores',
    focus: SightHands.right,
    bpm: 66,
    apply: (r) {
      r.keys = [..._majors, 'Am', 'Em', 'Dm', 'Gm', 'Bm', 'Cm', 'F#m'];
      r.minorShare = 0.5;
      r.leftTextures = {...r.leftTextures, 'alternate': 0.8};
    },
  ),
  SightIngredient(
    level: 25,
    id: 'periodo',
    text: 'Período de 8 compassos',
    focus: SightHands.right,
    bpm: 72,
    apply: (r) {
      // Só o período, e a frase de 4 em 20% das rodadas.
      r.bars = {4: 0.2, 8: 0.8};
      r.harmony = {...r.harmony, 'ii', 'vi', 'periodOnly'};
      r.leftTextures = {...r.leftTextures, 'arpeggio': 0.6};
    },
  ),
  SightIngredient(
    level: 26,
    id: 'sentenca',
    text: 'Sentença de 8 compassos',
    focus: SightHands.right,
    bpm: 72,
    apply: (r) {
      r.harmony = {...r.harmony}..remove('periodOnly');
    },
  ),
  SightIngredient(
    level: 27,
    id: 'dois-quartos-e-ligadura',
    text: '2/4 e ligadura de valor',
    focus: SightHands.right,
    bpm: 72,
    unlocks: {SightFeature.tie},
    apply: (r) {
      r.meters = ['4/4', '2/4'];
      r.figures = {...r.figures, 72};
      r.leftTextures = {...r.leftTextures, 'alberti': 0.6};
    },
  ),
  SightIngredient(
    level: 28,
    id: 'seis-oitavos',
    text: 'Compasso de 6/8',
    focus: SightHands.right,
    // ♩. 50, ou seja, 75 semínimas por minuto.
    bpm: 75,
    unlocks: {SightFeature.compoundMeter},
    apply: (r) {
      r.meters = ['4/4', '2/4', '6/8', '6/8'];
      r.leftTextures = _dim(r.leftTextures, 0.35);
    },
  ),
  SightIngredient(
    level: 29,
    id: 'tercas-e-sextas',
    text: 'Terças e sextas na direita',
    focus: SightHands.right,
    bpm: 63,
    unlocks: {SightFeature.doubleNotes},
    apply: (r) {
      r.rightTextures = _fade(r.rightTextures, {'thirds': 4, 'closing': 1});
      r.leftTextures = {...r.leftTextures, 'alternate': 1.5, 'arpeggio': 1.5};
    },
  ),
  SightIngredient(
    level: 30,
    id: 'oitavas-no-baixo',
    text: 'Oitavas no baixo',
    focus: SightHands.left,
    bpm: 66,
    unlocks: {SightFeature.octaves},
    apply: (r) {
      r.leftTextures = _fade(r.leftTextures, {'octaves': 4});
      r.rightTextures = _fade(r.rightTextures, {'closing': 5});
    },
  ),
  SightIngredient(
    level: 31,
    id: 'dominante-com-setima',
    text: 'Dominante com sétima',
    focus: SightHands.right,
    bpm: 72,
    apply: (r) {
      r.harmony = {...r.harmony, 'V7', 'inv', 'V7inv', 'I64'};
      r.leftTextures = _dim(r.leftTextures, 0.25);
      r.rightTextures = _dim(r.rightTextures, 0.3);
    },
  ),
  SightIngredient(
    level: 32,
    id: 'dominantes-secundarias',
    text: 'Dominantes secundárias',
    focus: SightHands.right,
    bpm: 72,
    unlocks: {SightFeature.chromaticChord},
    apply: (r) {
      r.harmony = {...r.harmony, 'V/x', 'V7/x'};
      r.rightTextures = _fade(r.rightTextures, {'chromatic': 1.5});
      r.leftTextures = _dim(r.leftTextures, 0.5);
    },
  ),
  SightIngredient(
    level: 33,
    id: 'tercinas',
    text: 'Tercinas',
    focus: SightHands.right,
    bpm: 60,
    unlocks: {SightFeature.triplet},
    apply: (r) {
      r.tuplets = {48};
      r.leftTextures = _dim(r.leftTextures, 0.4);
      r.rightTextures = _dim(r.rightTextures, 0.2);
    },
  ),
  SightIngredient(
    level: 34,
    id: 'duas-vozes',
    text: 'Duas vozes: o baixo é melodia',
    focus: SightHands.left,
    bpm: 76,
    unlocks: {SightFeature.counterpoint},
    apply: (r) {
      // O minueto: 3/4, em período de 8.
      r.meters = ['3/4', '4/4', '4/4'];
      r.leftTextures = _fade(r.leftTextures, {'counter': 4});
      // A direita em terças e sextas, contra a linha da esquerda.
      r.rightTextures = {...r.rightTextures, 'thirds': 8, 'closing': 3};
    },
  ),
  SightIngredient(
    level: 35,
    id: 'articulacao',
    text: 'Staccato e ligadura de expressão',
    focus: SightHands.right,
    bpm: 76,
    unlocks: {SightFeature.articulation},
    apply: (r) {
      r.articulation = 0.9;
    },
  ),
  SightIngredient(
    level: 36,
    id: 'dinamica',
    text: 'Dinâmica',
    focus: SightHands.right,
    bpm: 76,
    unlocks: {SightFeature.dynamics},
    apply: (r) {
      r.dynamics = 0.9;
    },
  ),
  SightIngredient(
    level: 37,
    id: 'modulacao-dominante',
    text: 'Modulação para a dominante',
    focus: SightHands.right,
    bpm: 76,
    unlocks: {SightFeature.modulation},
    apply: (r) {
      r.harmony = {...r.harmony, 'mod'};
      r.bars = {8: 1};
    },
  ),
  SightIngredient(
    level: 38,
    id: 'relativa-e-quatro-acidentes',
    text: 'Relativa; tons até 4 acidentes',
    focus: SightHands.right,
    bpm: 72,
    apply: (r) {
      r.harmony = {...r.harmony, 'modRel'};
      r.keys = [..._majorsFour, ..._minorsFour];
      r.minorShare = 0.45;
    },
  ),
  SightIngredient(
    level: 39,
    id: 'alberti-rapido',
    text: 'Alberti em semicolcheias',
    focus: SightHands.left,
    bpm: 60,
    apply: (r) {
      // A esquerda em semicolcheias; a direita, em figuras mais longas.
      r.leftTextures = _fade(r.leftTextures, {'alberti16': 2.2});
      r.figures = {48, 96};
    },
  ),
  SightIngredient(
    level: 40,
    id: 'escalas',
    text: 'Escalas em semicolcheias',
    focus: SightHands.right,
    bpm: 60,
    apply: (r) {
      // A sonatina: período de 8 com escalas, Alberti, articulação e
      // dinâmica.
      r.figures = {24, 48, 96};
      r.rightTextures = _fade(r.rightTextures, {'scales': 3});
      r.leftTextures = {'alberti': 2, 'bass': 1.5, 'alberti16': 2};
    },
  ),
]);