9 int default_duration = 4;
12 parse_duration(const char *a, int &j, int &intdur, int &dots)
27 intdur = (durstr.len()) ?
28 durstr.value():default_duration;
31 mtor << "dur " << intdur << "dots " << dots<<eol;
36 parse_pitch( const char *a, int &j, int &oct, bool & overide_acc,
37 int & large, int & small)
54 mtor << "oct " << oct;
79 lookup_notename(large,small,nm);
80 mtor << "override: " << overide_acc;
81 mtor << "pitch "<< large <<", "<<small<<"\n";
86 get_note_element(String pitch, String durstr)
88 Voice_element*v = new Voice_element;
92 parse_duration(durstr, i, dur, dots);
95 Note_req * rq = new Note_req( v);
99 parse_pitch(pitch, i, oct, forceacc, pit, acc);
106 rq->accidental = acc;
107 rq->forceacc = forceacc;
118 get_rest_element(String, String durstr)
120 Voice_element*v = new Voice_element;
124 parse_duration(durstr, i, dur, dots);
127 Rest_req * rq = new Rest_req(v);