]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/dynamic-performer.cc
* lily/ambitus-engraver.cc (create_ambitus): change name to
[lilypond.git] / lily / dynamic-performer.cc
index 4505dbd024a1ce15e785b2a7da9d57235ea42f4d..257708de292fabf63f9b4b7b9eb8a16a5f1b56fb 100644 (file)
@@ -46,7 +46,7 @@ Dynamic_performer::create_audio_elements ()
       SCM proc = get_property ("dynamicAbsoluteVolumeFunction");
 
       SCM svolume  = SCM_EOL;
-      if (ly_procedure_p (proc))
+      if (ly_c_procedure_p (proc))
        {
          // urg
          svolume = scm_call_1 (proc, script_req_->get_property ("text"));
@@ -59,12 +59,12 @@ Dynamic_performer::create_audio_elements ()
        */
       SCM min = get_property ("midiMinimumVolume");
       SCM max = get_property ("midiMaximumVolume");
-      if (ly_number_p (min) || ly_number_p (max))
+      if (ly_c_number_p (min) || ly_c_number_p (max))
        {
          Interval iv (0, 1);
-         if (ly_number_p (min))
+         if (ly_c_number_p (min))
            iv[MIN] = ly_scm2double (min);
-         if (ly_number_p (max))
+         if (ly_c_number_p (max))
            iv[MAX] = ly_scm2double (max);
          volume = iv[MIN] + iv.length () * volume;
        }
@@ -75,15 +75,15 @@ Dynamic_performer::create_audio_elements ()
          */
          SCM s = get_property ("midiInstrument");
          
-         if (!ly_string_p (s))
+         if (!ly_c_string_p (s))
            s = get_property ("instrument");
          
-         if (!ly_string_p (s))
+         if (!ly_c_string_p (s))
            s = scm_makfrom0str ("piano");
          
          
          SCM eq = get_property ("instrumentEqualizer");
-         if (ly_procedure_p (eq))
+         if (ly_c_procedure_p (eq))
            {
              s = scm_call_1 (eq, s);
            }