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"));
*/
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;
}
*/
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);
}