[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Denemo-devel] Question about Denemo command
From: |
Richard Shann |
Subject: |
Re: [Denemo-devel] Question about Denemo command |
Date: |
Sun, 05 Mar 2017 22:10:12 +0000 |
On Sun, 2017-03-05 at 22:10 +0100, Haris Brković wrote:
> Dear Richard, is it possible to click on note and with click on the
> button to change that note to rest?
yes, in fact for a single note -> rest transition this is already a
command with shortcut del,del
>
> Is it possible to have button which reads every note duration then
> change that note to the same duration rest?
>
> Is there any Denemo command which reads note duration?
yes, indeed there are several (e.g
d-GetDurationInTicks
which returns the duration in (MIDI) ticks (where quarter note is 384
ticks).
there's also
d-GetNoteBaseDuration
d-GetNoteDuration
and then there would be things to get the number of dots etc - but it's
late and I must get some sleep now!
Richard
>