//
//  HedwigsTheme.swift
//  ForceTouchPlayer
//
//  Created by Alan Peterson Carvalho Silva on 20/10/20.
//  Copyright © 2020 Danilo Campana Fuchs. All rights reserved.
//
// https://www.youtube.com/watch?v=JeoZXvWFNU8

import Foundation

let hedwigsTheme = Song(
    name: "Hedwig's Theme",
    defaultTempo: 176.0,
    padding: Note(frequency: REST, value: 0.25),
    rawNotes: [
        (NOTE_E1, 1),

        (NOTE_A1, 1.5),
        (NOTE_C2, 0.5),
        (NOTE_B1, 1),

        (NOTE_A1, 2),
        (NOTE_E2, 1),

        (NOTE_D2, 3),

        (NOTE_B1, 3),

        (NOTE_A1, 1.5),
        (NOTE_C2, 0.5),
        (NOTE_B1, 1),

        (NOTE_GS1, 2),
        (NOTE_AS1, 1),

        (NOTE_E1, 3),

        (REST, 2),
        (NOTE_E1, 1),

        (NOTE_A1, 1.5),
        (NOTE_C2, 0.5),
        (NOTE_B1, 1),

        (NOTE_A1, 2),
        (NOTE_E2, 1),

        (NOTE_G2, 2),
        (NOTE_FS2, 1),

        (NOTE_F2, 2),
        (NOTE_CS2, 1),

        (NOTE_F2, 1.5),
        (NOTE_E2, 0.5),
        (NOTE_DS2, 1),

        (NOTE_DS1, 2),
        (NOTE_C2, 1),

        (NOTE_A1, 3),

        (REST, 2),
        (NOTE_C2, 1),

        (NOTE_E2, 2),
        (NOTE_C2, 1),

        (NOTE_E2, 2),
        (NOTE_C2, 1),

        (NOTE_F2, 2),
        (NOTE_E2, 1),

        (NOTE_DS2, 2),
        (NOTE_B1, 1),

        (NOTE_C2, 1.5),
        (NOTE_E2, 0.5),
        (NOTE_DS2, 1),

        (NOTE_DS1, 2),
        (NOTE_E1, 1),

        (NOTE_E2, 3),

        (REST, 2),
        (NOTE_C2, 1),

        (NOTE_E2, 2),
        (NOTE_C2, 1),

        (NOTE_E2, 2),
        (NOTE_C2, 1),

        (NOTE_G2, 2),
        (NOTE_FS2, 1),

        (NOTE_F2, 2),
        (NOTE_CS1, 1),

        (NOTE_F2, 1.5),
        (NOTE_E2, 0.5),
        (NOTE_DS2, 1),

        (NOTE_DS1, 2),
        (NOTE_C2, 1),

        (NOTE_A1, 3),
    ]
)
