Dear Richard, thank you. Ill try to make command and post it in day or two.
Sincerely, Haris

-----Original Message-----
From: Richard Shann [mailto:[email protected]] 
Sent: Sunday, March 5, 2017 11:10 PM
To: Haris Brković <[email protected]>
Cc: 'denemo-devel' <[email protected]>
Subject: Re: Question about Denemo command

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

> 




_______________________________________________
Denemo-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/denemo-devel

Reply via email to