6 #include "my-lily-lexer.hh"
10 #include "musical-request.hh"
11 #include "command-request.hh"
12 #include "music-list.hh"
13 #include "identifier.hh"
15 #include "text-def.hh"
16 #include "parseconstruct.hh"
21 get_scriptdef (char c
)
26 case '^' : s
= "marcato";
28 case '+' : s
= "stopped";
30 case '-' : s
= "tenuto";
32 case '|': s
= "staccatissimo";
36 case '>' : s
= "accent";
40 case '.' : s
= "staccato";
45 return new String (s
);
49 get_script_req (int d
, General_script_def
*def
)
51 Musical_script_req
* script_req_p
= new Musical_script_req
;
52 script_req_p
->dir_
=(Direction
)d
;
53 script_req_p
->scriptdef_p_
=def
;
62 get_grouping_req (Array
<int> i_arr
)
64 Measure_grouping_req
* mr_p
= new Measure_grouping_req
;
65 for (int i
=0; i
<i_arr
.size();)
67 mr_p
->elt_length_arr_
.push (Moment (1, i_arr
[i
++]));
68 mr_p
->beat_i_arr_
.push (i_arr
[i
++]);