paolo prete writes:
> 2018-03-11 8:26 GMT+01:00 David Kastrup :
>
>> paolo prete writes:
>>
>> > Hello.
>> > Do you know how to modify a NoteEvent so that it becomes a RestEvent, or
>> > (vice-versa) in Scheme?
>>
>> You can't.
>>
>
> Why do you say that I can't, if changing the 'name property d
2018-03-11 8:26 GMT+01:00 David Kastrup :
> paolo prete writes:
>
> > Hello.
> > Do you know how to modify a NoteEvent so that it becomes a RestEvent, or
> > (vice-versa) in Scheme?
>
> You can't.
>
Why do you say that I can't, if changing the 'name property did the job
(look at the snippet belo
paolo prete writes:
> Hello.
> Do you know how to modify a NoteEvent so that it becomes a RestEvent, or
> (vice-versa) in Scheme?
You can't.
> I tried:
>
> (ly:music-set-property! x 'name 'RestEvent)
>
> The note actually becomes a rest, but I don't know if it's the proper way
> to obtain that,
Hello.
Do you know how to modify a NoteEvent so that it becomes a RestEvent, or
(vice-versa) in Scheme?
I tried:
(ly:music-set-property! x 'name 'RestEvent)
The note actually becomes a rest, but I don't know if it's the proper way
to obtain that, because if I display the scheme object with \disp