Play songs, Imperial march and Pirates

Embed: (wiki syntax)

« Back to documentation index

play_buzzer.cpp File Reference

play_buzzer.cpp File Reference

this cpp file is where all the logic is handled. More...

Go to the source code of this file.

Variables

int pirates []
 NOTES IN SONG.
int piratestones []
 LENGTH OF NOTES IN PIRATES SONG.
int starwars []
 NOTES IN STARWARS SONG.
int starwarstones []
 LENGTH OF NOTES IN STARWARS SONG.

Detailed Description

this cpp file is where all the logic is handled.

Author:
Nikolaj M. & Mathias R.
Date:
10/1/2019

Definition in file play_buzzer.cpp.


Variable Documentation

int pirates[]

NOTES IN SONG.

Definition at line 51 of file play_buzzer.cpp.

int piratestones[]

LENGTH OF NOTES IN PIRATES SONG.

Definition at line 104 of file play_buzzer.cpp.

int starwars[]
Initial value:
 {
    a, a, a, f, cH,
    a, f, cH, a,
    eH, eH, eH, fH, cH,
    gS, f, cH, a,
    aH, a, a, aH, gSH, gH,
    fSH, fH, fSH,

    aS, dSH, dH, cSH,
    cH, b, cH,

    f, gS, f, a,
    cH, a, cH, eH,
    aH, a, a, aH, gSH, gH,
    fSH, fH, fSH,

    aS, dSH, dH, cSH,
    cH, b, cH,

    f, gS, f, cH,
    a, f, c, a}

NOTES IN STARWARS SONG.

Definition at line 157 of file play_buzzer.cpp.

Initial value:
 { 
    500, 500, 500, 350, 150,
    500, 350, 150, 1000,
    500, 500, 500, 350, 150,
    500, 350, 150, 1000,
    500, 350, 150, 500, 250, 250,
    125, 125, 250,

    250, 500, 250, 250,
    125, 125, 250,

    125, 500, 375, 125,
    500, 375, 125, 1000,
    500, 350, 150, 500, 250, 250,
    125, 125, 250,

    250, 500, 250, 250,
    125, 125, 250,

    250, 500, 375, 125,
    500, 375, 125, 1000}

LENGTH OF NOTES IN STARWARS SONG.

Definition at line 180 of file play_buzzer.cpp.