Re: [Rosegarden-user] Auto shutdown

2022-09-04 Thread Will Godfrey
On Sat, 3 Sep 2022 13:12:21 -0400
Ted Felix  wrote:

>On 9/2/22 5:43 AM, Will Godfrey wrote:
>>  pidof rosegarden
>> followed by
>>  kill 
>> seems to give a clean shutdown, even of a running instance. So all I need to 
>> do
>> now is write a small program to combine those into a single command - might 
>> be
>> able to do that in python.  
>
>   There's already a command, pkill:
>
>   pkill rosegarden
>
>   As for the lock file, that should be ignored since the process ID 
>should be different on each invocation.  Unless you are launching rg at 
>startup.  That might indeed confuse it.
>
>Ted.
This is the problem. I'm not sure about other hardware/distros, but on the
Raspberry Pi you get exactly the same sequence of PIDs :(

When Rosegarden starts up it always creates a directory in /tmp so how about
putting the tag there? On a fresh start it will always be cleared no matter how
Rosegarden was stopped. e.g.
Project is:
/home/me/myprojects/rosegarden/awesomesong

Tag is:
/tmp/rosegarden/home/me/myprojects/rosegarden/awesomesong/lock

Notice, as it's already somewhat hidden it no longer needs to be a dot file or
have any special characters.

-- 
Will J Godfrey {apparently now an 'elderly'}
https://willgodfrey.bandcamp.com/
http://yoshimi.github.io
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.


___
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] Matrix controller quantization?

2022-09-04 Thread Lorenzo Sutton

On 03/09/2022 19:16, Ted Felix wrote:

On 9/2/22 7:26 AM, Lorenzo Sutton wrote:
I think it would make sense to be able to place controllers in a 
non-continuous way on the (horizontal) time-scale depending on the 
selected matrix Grid or quantization.


   Snap to grid for the controller rulers.  Sounds like a valid feature 
request.  I can see some potential complications due to event timing 
(does the cc happen before or after the note-on?), but we can probably 
work that detail out.


Intuitively I'd say before note on, but yes maybe it can be worked out...



   Feel free to open a feature request.


Yes Sir :-) - here: 
https://sourceforge.net/p/rosegarden/feature-requests/509/


Lorenzo.


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