-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathScalePlayer.h
More file actions
36 lines (31 loc) · 799 Bytes
/
ScalePlayer.h
File metadata and controls
36 lines (31 loc) · 799 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Alan Jakub Pawlak - U1561875
// Assignment: Console Application – MIDI Scale Player
#include <vector>
#include "midi.h"
class ScalePlayer
{
public:
ScalePlayer();
int getScaleType();
int getStartingNote();
int getScaleAscDes();
int getInstrUsed();
int getRepeatTime();
int getNoteLenght();
void setScaleType(int ScaleType);
void setStartingNote(int StartingNote);
void setScaleAscDes(int ScaleAscDes);
void setInstrUsed(int InstrUsed);
void setRepeatTime(int RepeatTime);
void setNoteLenght(int NoteLenght);
void setScaleNotes();
void startPlayback();
private:
std::vector<int> m_ScaleNotes;
int m_ScaleType;
int m_NoteLenght;
int m_RepeatTime;
int m_StartingNote;
int m_ScaleAscDes;
int m_InstrUsed;
};