Re: [Rosegarden-user] Keyboard shortcut to Solo the current active track.

2023-05-31 Thread Hugo van Galen
Hi Ted, thanks for your response and thanks for the pointer, I'll have a
look at that.

I also ran into another thing: there is a "metronome" key on the controller
that, in supported software, could turn the metronome on or off. But I
suppose that requires a bit more work, as I could only find metronome
settings in a dialog to turn them on for playback and/or recording. I guess
a toggle button wouldn't work here anyway (unless it would cycle through
all the operations. Or keep it simpler and just turn it on/off, honouring
the setting in the dialog, i.e. if it was only enabled for recording, to
only toggle that. The latter seems the most straight-forwards and user
friendly but implementing that would be the most tricky. What are your
thoughts about that? (If you would say that it could b confuse users too
much, then telling me for now to ignore the metronome button is an entirely
valid suggestion.)

As far as I can tell right now, those were the only two operations that I
couldn't yet map to an actual action and as the tool is configured with a
mapping configuration file, any new shortcuts that will be implemented in
the future can simply be added to that file, but it would be awesome to at
least have the "S" implemented in the first version.

Best regards,
Hugo

On Wed, 31 May 2023 at 01:58, Ted Felix  wrote:

>It is simply not implemented.  Implementing would be super easy.
> Just follow the pattern in RosegardenMainWindow::slotToggleMute().
> We'll try to get this in after 23.06 ships.  Unless you want to give it
> a shot.  Feel free to open a feature request as that will help us track it.
>
> Ted.
>
> On 5/30/23 2:16 PM, Hugo van Galen wrote:
> > Hi Ted and others,
> >
> > I am currently in the process of writing a user space utility to deal
> > with the Native Instruments Komplete Kontrol A25 MIDI controller to make
> > it more usable on Linux (well, in Rosegarden anyway, that being my go-to
> > music authoring software). (Long story short: I basically read the raw
> > HID device and map the non-MIDI buttons that the controller emits to
> > actual keypresses via uinput. So the "M" (Mute) button is mapped to "U".
> > so when Rosegarden is active it will mute/unmute the current track. No
> > rocket science, pretty straight-forward stuff.)
> >
> > Anyways, when I wanted to map the "S" (Solo) to "Solo the current
> > track", I failed to find that as an actual key shortcut, is this simply
> > not implemented or am I overlooking it?
> >
> > Best regards,
> > Hugo
> >
> >
> > ___
> > Rosegarden-user mailing list
> > Rosegarden-user@lists.sourceforge.net - use the link below to
> unsubscribe
> > https://lists.sourceforge.net/lists/listinfo/rosegarden-user
>
>
> ___
> Rosegarden-user mailing list
> Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
> https://lists.sourceforge.net/lists/listinfo/rosegarden-user
>
___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


[Rosegarden-user] Keyboard shortcut to Solo the current active track.

2023-05-30 Thread Hugo van Galen
Hi Ted and others,

I am currently in the process of writing a user space utility to deal with
the Native Instruments Komplete Kontrol A25 MIDI controller to make it more
usable on Linux (well, in Rosegarden anyway, that being my go-to music
authoring software). (Long story short: I basically read the raw HID device
and map the non-MIDI buttons that the controller emits to actual keypresses
via uinput. So the "M" (Mute) button is mapped to "U". so when Rosegarden
is active it will mute/unmute the current track. No rocket science, pretty
straight-forward stuff.)

Anyways, when I wanted to map the "S" (Solo) to "Solo the current track", I
failed to find that as an actual key shortcut, is this simply not
implemented or am I overlooking it?

Best regards,
Hugo
___
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] Compiling Version 20

2020-08-20 Thread Hugo van Galen
I have successfully compiled Rosegarden with Jack2. I suspect that the
dependency list is a bit outdated.

As it appears you already have `libjack-jackd2-dev` installed, so skip this
dependency for now and after installing other dependencies, try compiling
the project again.

Hope this helps.


On Thu, 20 Aug 2020 at 09:16,  wrote:

> Seems to be uninstallable on MX16.
>
> Using the dependency list supplied;
>
> Needs libjack-dev, but must install libjack0
>
> However installing libjack0 breaks everything.
> e.g.
> The following packages will be REMOVED:
>bitwig-studio carla-bridge-win32 carla-bridge-wine32:i386 jackd jackd2
> libjack-jackd2-0 libjack-jackd2-0:i386 libjack-jackd2-dev qjackctl
>
> Since I already have jackd installed and it works perfectly and routes
> complex audio i am not going to uninstall jackd for Rosegarden to
> install.
>
> So it is end of the Road.
> I will have to wait till I upgrade the OS on this server and that is not
> going to happen for at least 3 years.
>
> It is a well running sound server doing magic.
> So Rosegarden will have to stay behind and for my purposes it is not
> upgradeable.
>
> Anyway.
> Thanks all for helping.
> I will plonk along with the MX18 issued rosegarden 17, but it is buggy
> as hell, so it would have been nice to compile a fresh ver20.
>
> I appreciate all the kind help.
>
> Thanks.
>
>
>
>
>
>
> On 2020-08-20 01:46, david wrote:
> > Maybe here?
> >
> > http://www.rosegardenmusic.com/wiki/dev:contributing
> >
> > Under Prepare the Build Environment.
>
>
> ___
> Rosegarden-user mailing list
> Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
> https://lists.sourceforge.net/lists/listinfo/rosegarden-user
>
___
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] Compiling Version 20

2020-08-19 Thread Hugo van Galen
If options are enclosed in [] brackets, that usually indicates these are
optional. If you don't need them, you can omit them entirely, but if you
need them, you would need to add them but without the [] brackets.

So, if you do not want to build the debug version, then this would be
enough:
cmake ..

If you do want to build a debug version then it should be:
cmake .. -DCMAKE_BUILD_TYPE=Debug

Hope this helps.

Best regards,
Hugo


On Wed, 19 Aug 2020 at 10:19,  wrote:

> After I cd into the source directory, I follow the README.
> It says
>
>  mkdir build
>  cd build
>  cmake .. [-DCMAKE_INSTALL_PREFIX=[PREFIX]]
> [-DCMAKE_BUILD_TYPE=Debug]
>  make
>  make install
>
>
> Executing
>
> $] cmake .. [-DCMAKE_INSTALL_PREFIX=[PREFIX]] [-DCMAKE_BUILD_TYPE=Debug]
>
> Iget:
>
> # cmake .. [-DCMAKE_INSTALL_PREFIX=[PREFIX]] [-DCMAKE_BUILD_TYPE=Debug]
> CMake Error: The source directory
> "/home/redacted/Downloads/rosegarden/rosegarden-20.06/build/[-DCMAKE_BUILD_TYPE=Debug]"
>
> does not exist.
> Specify --help for usage, or press the help button on the CMake GUI.
>
> As I hardly use cmake I wouldnt know what is up with this.
> What is the reason for the failure.
> I did exactly what the Readme tells me.
>
>
> ___
> Rosegarden-user mailing list
> Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
> https://lists.sourceforge.net/lists/listinfo/rosegarden-user
>
___
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] midi commands from Rosegarden

2020-08-04 Thread Hugo van Galen
>
>
> e.g. in my cae it would be
> controller  63 1 1
> which would set the first patch.
>
> Does this look right ??
>

That message looks good to me.

BUT -- I am not familiar with the Motif unit, but I quickly downloaded the
manual. In the MIDI section I do not see controller 63 documented, but on
page 44 does reveal it supports the Bank Select MSB/LSB which affects how
the Program Change messages get interpreted. I wonder if you should be
sending that instead? If my understanding is correct, if you would want the
first instrument of the "Normal Voice Preset" you would send a Bank Select
MSB of value "63", a Bank Select LSB of value "0" and then a Program Change
with value "0".
___
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] Track colour options have reset -- I am only seeing "Default"

2020-08-04 Thread Hugo van Galen
>
>The colors are stored in the .rg file.  The base set is in your
> autoload.rg file.  You will find that here:
>
> ~/.local/share/rosegarden/autoload/autoload.rg
>
> (snip)


That's exactly the information I needed. Thanks!



> > According to the documentation, I should also have an "Add New Colour"
> > option in this dropdown, but that isn't there either.
>
>That was never implemented AFAICT.  I removed what little code was
> there related to this.  If somebody wants to re-implement, be my guest.
> I think we have enough colors as it is.  And worst case, you can always
> hack together your own set in your autoload.rg.
>

Indeed, there are already more than enough colours in that in the
default list.

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


[Rosegarden-user] Track colour options have reset -- I am only seeing "Default"

2020-08-03 Thread Hugo van Galen
I am using the latest version in SVN.

When wanting to choose a different track colour, the dropdown only shows
the "Default" option. Did I screw up my build somehow?

I did try a `make clean all` but the problem persists. It does seem that
`build/src/qrc_data.cpp` includes a reference to `colourmap-fragment.xml`
so I'm a bit confused as to why I don't see the options.

According to the documentation, I should also have an "Add New Colour"
option in this dropdown, but that isn't there either.

Regards,
Hugo
___
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] midi commands from Rosegarden

2020-08-03 Thread Hugo van Galen
If you right click on a track you can choose the "Event List Editor". There
you can insert the Program Change or Controller messages that are specific
to your synth to select the correct patch.  You obviously insert these
before all the other events.

However, Rosegarden will only send them at the start of the song though (or
rather, at the timestamp configured) -- not when you select the track.
Perhaps that is what you are looking for, though?  It is even possible to
change the patch halfway through the song to select a different instrument.

Hope this helps.

Regards,
Hugo

On Sat, 1 Aug 2020 at 10:50,  wrote:

> It would be nice to read it, sounds like what I need, but the link does
> not work
> Thanks
>
>
>
> On 2020-08-01 03:37, dgenon--- via Rosegarden-user wrote:
> > ‌On 31/07/20 03:46, liebrecht@... wrote:
> >>> it possible to send cujstom midi commands to a specific controller
> >>> from Rosegarden once a track is selected..
> >
> > ‌I was able to add undefined control codes in Rosegarden to drive
> > the portamento of ZynAddSubFx. If this is the operation you want to
> > do, I wrote an article in this French "LinuxMao" site, here:
> > http://linuxmao.org/Zynaddsubfx+-+%C3%A9changes+MIDI+avec+Rosegarden.
> > voir le paragraphe :
> >
> > -Entrer de nouveaux codes contrôles dans RoseGarden-
> > -Enter new control codes in RoseGarden.-
> >
> > I hope you will find a clue there.
> > ___
> > Rosegarden-user mailing list
> > Rosegarden-user@lists.sourceforge.net - use the link below to
> > unsubscribe
> > https://lists.sourceforge.net/lists/listinfo/rosegarden-user
>
>
> ___
> Rosegarden-user mailing list
> Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
> https://lists.sourceforge.net/lists/listinfo/rosegarden-user
>
___
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] Add Control Ruler not working as expected in Matrix Editor and a few other questions

2020-07-22 Thread Hugo van Galen
I replaced the RG_DEBUG with RG_WARNING and now I do see messages :-)

I added some more messages, also around the test if "name" isn't equal to
"itemStr" -- and that reveals clearly what the problem is:

[MatrixWidget] addControlRuler() Mismatched name,  " Controller 7
(0x7)"  not equal to  "Volume Controller 7 (0x7)"

If I remember correctly from my QT coding days, anything with an "&"
(ampersand) before it is shown underlined to indicate the shortcut key in
the menu.

I looked into NotationWidget.cpp to see the following comment and code:

// FIX #1543: If name happens to come to us with an & included
somewhere,
// strip the & so the string will match the one we are comparing later
on.
//
name.replace(QRegExp("&"), "");

I can confirm that adding this code to the MatrixWidget.cpp's
addControlRuler() fixes the issue.

Should I report this as a separate bug, add a comment to bug #1543, or
assume that it will get fixed after a developer has read this message? :)

Best regards,
Hugo

On Tue, 21 Jul 2020 at 14:28, Hugo van Galen  wrote:

> Thanks for your response.
>
> Regarding the controllers not appearing, I today took a look at the
> relevant code. I've fetched the latest code from SVN and I have enabled the
> RG_DEBUG lines in MatrixWidget::addControlRuler(). As I didn't see any of
> those messages, it appears that this method isn't even called. That
> explains why nothing seems to happen. I may try to trace this issue at a
> later time.
>
> I ran into another interesting bug when I restarted Rosegarden. See, one
> of my MIDI outs goes to two different devices, so I had named it "FB-01 &
> P-55". When I started Rosegarden to re-open that document, I got an parsing
> error along the lines of "letter was expected at line X, column Y". I had
> to gunzip the .rg file, modified the XML so it contained "" in stead
> of "&", and gzipped it back up. After that, Rosegarden could successfully
> load it again. (Phew -- I was afraid it somehow got corrupted and I lost my
> song.) I shall submit a bug report for this one, I can imagine that being
> really annoying.
>
> Regards,
> Hugo
>
> On Tue, 30 Jun 2020 at 16:33, Ted Felix  wrote:
>
>> On 6/29/20 4:41 AM, Hugo van Galen wrote:
>> > I have been using Rosegarden for about a decade now and have been able
>> > to figure it out using search engines. Lately I ran into an issue that
>> I
>> > don't remember having before: I noticed that, when in the Matrix
>> Editor,
>> > the option "View / Rulers / Add Control Ruler / Volume Controller"
>> > doesn't do anything; yet when in the "Notation Editor" this works fine.
>>
>>I can't reproduce this.  But the code does look like it needs some
>> review.  The issue will likely become apparent upon cleaning up and
>> syncing the relevant routines.
>>
>> > It seems that any other controller except Velocity and Pitch bend only
>> > work in the Notation Editor.
>>
>>Those are handled separately, so it isn't surprising they are not
>> affected.
>>
>> > Is there an underlying logical reason for
>> > this to behave this way -- or is this a bug?
>>
>>Sounds like you've found a legitimate bug.  The key routines in
>> question are:
>>
>> MatrixWidget::addControlRuler()
>> NotationWidget::slotAddControlRuler()
>>
>>There are differences that need to be resolved between those two and
>> that might clear up the issue.  I don't have time at the moment, but
>> should be back to Rosegarden this weekend.  I will have a look then.
>>
>> > - I also wonder whether it is already possible to "remember" the zoom
>> > options for any given segment as I always find myself tweaking
>> > these, the default zoom doesn't work for me here. Or am I overlooking
>> > something obvious in the settings? (Ideally, it would be great if all
>> > "view" options could be memorised, so when opening the same segment
>> > later, all zoom options, and controller rulers could be restored.)
>>
>>This is very likely an oversight.  I recommend opening a feature
>> request on sourceforge:
>>
>> https://sourceforge.net/p/rosegarden/feature-requests/
>>
>> > - I wonder how the Figuration functionality actually works
>>
>>Not my area of expertise.  Somebody here can probably fill in the
>> blanks, though.  Then we really should update the documentation based on
>> what was found.
>>
>> Ted.
>>
>>
>> ___
>> Rosegarden-user mailing list
>> Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
>> https://lists.sourceforge.net/lists/listinfo/rosegarden-user
>>
>
___
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] Add Control Ruler not working as expected in Matrix Editor and a few other questions

2020-07-21 Thread Hugo van Galen
Thanks for your response.

Regarding the controllers not appearing, I today took a look at the
relevant code. I've fetched the latest code from SVN and I have enabled the
RG_DEBUG lines in MatrixWidget::addControlRuler(). As I didn't see any of
those messages, it appears that this method isn't even called. That
explains why nothing seems to happen. I may try to trace this issue at a
later time.

I ran into another interesting bug when I restarted Rosegarden. See, one of
my MIDI outs goes to two different devices, so I had named it "FB-01 &
P-55". When I started Rosegarden to re-open that document, I got an parsing
error along the lines of "letter was expected at line X, column Y". I had
to gunzip the .rg file, modified the XML so it contained "" in stead
of "&", and gzipped it back up. After that, Rosegarden could successfully
load it again. (Phew -- I was afraid it somehow got corrupted and I lost my
song.) I shall submit a bug report for this one, I can imagine that being
really annoying.

Regards,
Hugo

On Tue, 30 Jun 2020 at 16:33, Ted Felix  wrote:

> On 6/29/20 4:41 AM, Hugo van Galen wrote:
> > I have been using Rosegarden for about a decade now and have been able
> > to figure it out using search engines. Lately I ran into an issue that I
> > don't remember having before: I noticed that, when in the Matrix Editor,
> > the option "View / Rulers / Add Control Ruler / Volume Controller"
> > doesn't do anything; yet when in the "Notation Editor" this works fine.
>
>I can't reproduce this.  But the code does look like it needs some
> review.  The issue will likely become apparent upon cleaning up and
> syncing the relevant routines.
>
> > It seems that any other controller except Velocity and Pitch bend only
> > work in the Notation Editor.
>
>Those are handled separately, so it isn't surprising they are not
> affected.
>
> > Is there an underlying logical reason for
> > this to behave this way -- or is this a bug?
>
>Sounds like you've found a legitimate bug.  The key routines in
> question are:
>
> MatrixWidget::addControlRuler()
> NotationWidget::slotAddControlRuler()
>
>There are differences that need to be resolved between those two and
> that might clear up the issue.  I don't have time at the moment, but
> should be back to Rosegarden this weekend.  I will have a look then.
>
> > - I also wonder whether it is already possible to "remember" the zoom
> > options for any given segment as I always find myself tweaking
> > these, the default zoom doesn't work for me here. Or am I overlooking
> > something obvious in the settings? (Ideally, it would be great if all
> > "view" options could be memorised, so when opening the same segment
> > later, all zoom options, and controller rulers could be restored.)
>
>This is very likely an oversight.  I recommend opening a feature
> request on sourceforge:
>
> https://sourceforge.net/p/rosegarden/feature-requests/
>
> > - I wonder how the Figuration functionality actually works
>
>Not my area of expertise.  Somebody here can probably fill in the
> blanks, though.  Then we really should update the documentation based on
> what was found.
>
> Ted.
>
>
> ___
> Rosegarden-user mailing list
> Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
> https://lists.sourceforge.net/lists/listinfo/rosegarden-user
>
___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


[Rosegarden-user] Add Control Ruler not working as expected in Matrix Editor and a few other questions

2020-06-29 Thread Hugo van Galen
I have been using Rosegarden for about a decade now and have been able to
figure it out using search engines. Lately I ran into an issue that I don't
remember having before: I noticed that, when in the Matrix Editor, the
option "View / Rulers / Add Control Ruler / Volume Controller" doesn't do
anything; yet when in the "Notation Editor" this works fine.

It seems that any other controller except Velocity and Pitch bend only work
in the Notation Editor. Is there an underlying logical reason for this to
behave this way -- or is this a bug?

Other questions:
- I also wonder whether it is already possible to "remember" the zoom
options for any given segment as I always find myself tweaking these, the
default zoom doesn't work for me here. Or am I overlooking something
obvious in the settings? (Ideally, it would be great if all "view" options
could be memorised, so when opening the same segment later, all zoom
options, and controller rulers could be restored.)

- I wonder how the Figuration functionality actually works (I perhaps
incorrectly understand this can be used for arpeggios). I discovered an
explanation on https://rosegardenmusic.com/wiki/doc:expand_figuration; but
following those instructions do not result in anything. I tried different
interpretations of those instructions, and it either does nothing at all,
or I just get a new segment without any contents. Any clarification would
be much appreciated.

Thanks in advance for any replies.

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