-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ctrlmidich option for "own channel" regardless of number #3394
base: main
Are you sure you want to change the base?
Add ctrlmidich option for "own channel" regardless of number #3394
Conversation
There may currently be a problem with So I'd like the Separately, I'd like |
2ade0ca
to
a8bb22e
Compare
18c8889
to
c95a810
Compare
OK, so I decided to make the change I suggested. Once the build is complete for Windows, I'll give it a try here. The legacy definition has just one or two numbers that only provides a definition for the controller offset of the fader controllers (default 70 for the sake of Behringer X-Touch)
The more verbose new form is a sequence of offsets and counts for various controllers:
Currently, the following control letters are defined:
Additionally, In addition,
would mean MIDI CC0 controlled my Jamulus channel fader, with CC1 to CC8 for Jamulus channels 1 to 8 (so if you were channel 6, you get two MIDI CC controls). An example for a Korg nanoKONTROL2 with 8 fader controllers starting at offset 0 and 8 pan controllers starting at offset 16
However, at the current point of time only 'f' and 'p' controllers are actually implemented. // may not be true... |
76af113
to
d790eb1
Compare
d790eb1
to
109d4eb
Compare
Ugh, failure due to qt5 -> qt6. Investigating. Fixed (more a compiler issue, I think). |
42a80ac
to
713cfbc
Compare
OK, I can't get JACK to run without crashing on Windows any more for some reason. So I can't actually test this (as Jamulus ASIO doesn't support MIDI, as far as I know, and I've no MIDI - or audio - on my Linux box). |
713cfbc
to
3f0983e
Compare
@AndersGoran could you check whether the latest build is useable? It should work like this:
It should work for all the Jamulus controls.
Note: remember, having control over your own channel only affects what you hear, not what others hear. |
I cloned https://github.com/pljones/jamulus.git, current HEAD is 3f0983e, compiles fine (I'm on macOS) but I'm afraid the "z" flag makes no difference. As before, my controller sends CC 100-103 from four separate pedals, so I use "0;z;f100*4" and the 100 pedal controls channel 0, 101 control 1, and so on. When I'm on e.g. 1, I have to use the pedal that sends 101 to move my fader. Is there a pre-built executable somewhere that I should be using? |
3ba65c6
to
2e00f38
Compare
47292d9
to
6091487
Compare
Why did that fail? #3408 raised. |
738d470
to
e142908
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was requested to review, and while I'm not sure if you really want or need my approval regarding code details, I just tried the latest macOS build artifact jamulus_3.11.0dev-9cb1e39_mac.dmg
and it still feels solid regarding the "z" flag.
e142908
to
975e119
Compare
975e119
to
3aa12d0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have the feeling that documentation is lacking on explaining the code.
I feel unsure about the exact functionality - especially the cli parsing.
Which documentation? What are you unsure about? |
I think I need to go over the code in my editor. The diff on GitHub doesn't show me enough. |
Short description of changes
From @AndersGoran.
This adds a
;z
option to--ctrlmidich
parsing that adds control of the client channel, regardless of its channel number. This applies to all the channel-specific controls used. It takes up one extra MIDI controller number for each.CHANGELOG: Add ctrlmidich option for "own channel" regardless of number
Context: Fixes an issue?
Raised in https://github.com/orgs/jamulussoftware/discussions/2220#discussioncomment-10811813
Does this change need documentation? What needs to be documented and how?
Yes, but it needs reviewing to see if this is how we want to do it first.
Status of this Pull Request
Proof of concept.
What is missing until this pull request can be merged?
Needs reviewing and considering whether "own client id" concept should apply to all controls (e.g. use
;z
as a switch to bump lock the first CC number for each control to "own client id").Checklist
AUTOBUILD: Please build all targets