Canorus
0.7
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
core
articulation.h
Go to the documentation of this file.
1
8
#ifndef ARTICULATION_H_
9
#define ARTICULATION_H_
10
11
#include "
core/mark.h
"
12
#include "
core/note.h
"
13
14
class
CAArticulation
:
public
CAMark
{
15
public
:
16
enum
CAArticulationType
{
17
Undefined
= -1,
18
Accent
,
19
Marcato
,
20
Staccatissimo
,
21
Espressivo
,
22
Staccato
,
23
Tenuto
,
24
Portato
,
25
UpBow
,
26
DownBow
,
27
Flageolet
,
28
Open
,
29
Stopped
,
30
Turn
,
31
ReverseTurn
,
32
Trill
,
33
Prall
,
34
Mordent
,
35
PrallPrall
,
36
PrallMordent
,
37
UpPrall
,
38
DownPrall
,
39
UpMordent
,
40
DownMordent
,
41
PrallDown
,
42
PrallUp
,
43
LinePrall
44
};
45
46
CAArticulation
(
CAArticulationType
t,
CANote
*n );
47
virtual
~CAArticulation
();
48
49
CAArticulation
*
clone
(
CAMusElement
* elt);
50
int
compare
(
CAMusElement
*elt);
51
52
inline
CANote
*
associatedNote
() {
return
static_cast<
CANote
*
>
(
associatedElement
()); }
53
inline
void
*
setAssociatedNote
(
CANote
* n ) {
setAssociatedElement
(n); }
54
55
inline
CAArticulationType
articulationType
() {
return
_articulationType
; }
56
inline
void
setArticulationType
(
CAArticulationType
t ) {
_articulationType
= t; }
57
58
static
const
QString
articulationTypeToString
(
CAArticulationType
t );
59
static
CAArticulationType
articulationTypeFromString
(
const
QString s );
60
61
private
:
62
CAArticulationType
_articulationType
;
63
};
64
65
#endif
/* ARTICULATION_H_ */
Generated on Fri Jan 11 2013 14:40:12 for Canorus by
1.8.3