Key::read(svec<String> s)
{
svec<int> newkey;
-
+ for (int j = 0; j < 7; j++)
+ accidentals[j] = 0;
+
for (int i=0; i < s.sz(); i++) {
int large, small;
lookup_notename(large, small, s[i]);
for (int i =0; i < pitch.sz(); i++) {
Symbol s= paper()->lookup_->accidental(acc[i]);
Atom a(s);
- a.translate(Offset(0,c_position + pitch[i] * inter));
+ a.translate(Offset(0,(c_position + pitch[i]) * inter));
Molecule m(a);
output->add_right(m);
}
Melodic_staff::get_TYPESET_item(Command*com)
{
if (com->args[0] == "KEY") {
- return new Keyitem(NO_LINES); // urgh.
+ return new Keyitem(NO_LINES); // urgh. depends on clef.
} else
return Simple_staff::get_TYPESET_item(com);
}