-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTGNoteEffect.h
More file actions
80 lines (75 loc) · 2.1 KB
/
TGNoteEffect.h
File metadata and controls
80 lines (75 loc) · 2.1 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#ifndef TG_NOTE_EFFECT_H
#define TG_NOTE_EFFECT_H
#include "TGFactory.h"
class TGNoteEffect
{
protected:
TGEffectBend *bend;
TGEffectTremoloBar *tremoloBar;
TGEffectHarmonic *harmonic;
TGEffectGrace *grace;
TGEffectTrill *trill;
TGEffectTremoloPicking *tremoloPicking;
bool vibrato;
bool deadNote;
bool slide;
bool hammer;
bool ghostNote;
bool accentuatedNote;
bool heavyAccentuatedNote;
bool palmMute;
bool staccato;
bool tapping;
bool slapping;
bool popping;
bool fadeIn;
public:
TGNoteEffect();
bool isDeadNote();
void setDeadNote(bool aDeadNote);
bool isVibrato();
void setVibrato(bool aVibrato);
TGEffectBend* getBend();
void setBend(TGEffectBend *aBend);
bool isBend();
TGEffectTremoloBar *getTremoloBar();
void setTremoloBar(TGEffectTremoloBar *aTremoloBar);
bool isTremoloBar();
TGEffectTrill* getTrill();
void setTrill(TGEffectTrill *aTrill);
bool isTrill();
TGEffectTremoloPicking *getTremoloPicking();
void setTremoloPicking(TGEffectTremoloPicking *aTremoloPicking);
bool isTremoloPicking();
bool isHammer();
void setHammer(bool aHammer);
bool isSlide();
void setSlide(bool aSlide);
bool isGhostNote();
void setGhostNote(bool aGhostNote);
bool isAccentuatedNote();
void setAccentuatedNote(bool aAccentuatedNote);
bool isHeavyAccentuatedNote();
void setHeavyAccentuatedNote(bool aHeavyAccentuatedNote);
void setHarmonic(TGEffectHarmonic *aHarmonic);
TGEffectHarmonic *getHarmonic();
bool isHarmonic();
TGEffectGrace *getGrace();
void setGrace(TGEffectGrace *aGrace);
bool isGrace();
bool isPalmMute();
void setPalmMute(bool aPalmMute);
bool isStaccato();
void setStaccato(bool aStaccato);
bool isPopping();
void setPopping(bool aPopping);
bool isSlapping();
void setSlapping(bool aSlapping);
bool isTapping();
void setTapping(bool aTapping);
bool isFadeIn();
void setFadeIn(bool aFadeIn);
bool hasAnyEffect();
TGNoteEffect *clone(TGFactory *factory);
};
#endif