Re: [Rosegarden-user] Shorten default MIDI event duration for drum notes inserted from the piano roll.

2020-06-13 Thread Ted Felix

On 6/12/20 3:29 PM, Arnaldo Pirrone wrote:
It looks like rosegarden sets the duration of the notes manually 
inserted from the piano roll into the drum track to 3840. This causes 
the velocity ruler to appear clogged up like you can see in the attached 
picture.


  Actually, the code to do this is more complicated than just 3840.  It 
adjusts the size to end at the end of the bar, or at the beginning of 
the next note(s) of the same pitch.  I have no idea why.  My best guess 
is that it is trying to make all percussion notes contiguous to a 
certain extent.  No drum synth that I've seen cares about note-offs, though.


  I modified the relevant part of the code to go with 64th notes and it 
seems to work fine.  Even open/closed hat work exactly as expected.


  Before I push this, does anyone have any ideas why there might be 
such a complicated algorithm for computing the end of a percussion note? 
 The relevant code is here if you want to have a look:


  MatrixPercussionInsertionCommand::getEndTime()

  Warning: There are no comments.

Ted.


___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


Re: [Rosegarden-user] Shorten default MIDI event duration for drum notes inserted from the piano roll.

2020-06-13 Thread Richard Bown
On Sat, 13 Jun 2020 at 02:58, Ted Felix  wrote:

>
> > Have you ever considered moving the development of the rosegarden
> > project to GitLab/GitHub?
>
>Feel free to fork from here:
>
> https://github.com/tedfelix/rosegarden


Interesting!  I'm still struggling along occasionally with the Windows
port, which is still various versions behind but is at least finally
building under github actions:

https://github.com/bownie/RosegardenW

The installer build is not fully working yet but the next time I get some
energy I was going to try to fix that and then upversion the tree to the
latest release - the idea being then that it essentially looks after itself
:)  Ideally would like this to be a semi-automated pull from sourceforge
occasionally but yes that would require more effort..

Richard
___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user