(c) 1997--2004 Jan Nieuwenhuizen <janneke@gnu.org>
*/
-#include "lily-guile.hh"
-
#include "audio-item.hh"
#include "performer.hh"
#include "warn.hh"
-
class Key_performer : public Performer
{
public:
if (key_req_)
{
SCM pitchlist = key_req_->get_property ("pitch-alist");
- SCM proc = ly_scheme_function ("alterations-in-key");
+ SCM proc = ly_lily_module_constant ("alterations-in-key");
SCM acc = scm_call_1 (proc, pitchlist);
Pitch key_do (0,
- scm_to_int (ly_caar (pitchlist)),
- scm_to_int (ly_cdar (pitchlist)));
+ scm_to_int (scm_caar (pitchlist)),
+ scm_to_int (scm_cdar (pitchlist)));
Pitch c_do (0, 0, 0);
return false;
}
-ENTER_DESCRIPTION (Key_performer,
+ADD_TRANSLATOR (Key_performer,
"","",
"key-change-event",
"","","");