orig.transpose (p);
- SCM key = gh_cons (gh_int2scm (orig.get_octave ()),
- gh_int2scm (orig.notename_));
+ SCM key = gh_cons (scm_int2num (orig.get_octave ()),
+ scm_int2num (orig.notename_));
- newlist = gh_cons (gh_cons (key, gh_int2scm (orig.alteration_)),
+ newlist = gh_cons (gh_cons (key, scm_int2num (orig.alteration_)),
newlist);
}
else if (gh_number_p (key))
Pitch orig (0, gh_scm2int (key), gh_scm2int (alter));
orig.transpose (p);
- key =gh_int2scm (orig.notename_);
- alter = gh_int2scm (orig.alteration_);
+ key =scm_int2num (orig.notename_);
+ alter = scm_int2num (orig.alteration_);
newlist = gh_cons (gh_cons (key, alter), newlist);
}
}