Skip to content
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

Need a cc-mapping for leslie stop #79

Open
ahellquist opened this issue Mar 17, 2021 · 7 comments
Open

Need a cc-mapping for leslie stop #79

ahellquist opened this issue Mar 17, 2021 · 7 comments

Comments

@ahellquist
Copy link

Most midi controllers have toggle switches and personally I use my sustain pedal to switch leslie from low to fast.

I have found no clever way to stop the leslie except leaning over to the computer and open the gui to stop the leslie.
That is very inconvenient during for example a live performance.

Could this be implemented somehow ?

@x42
Copy link
Collaborator

x42 commented Mar 19, 2021

By default the Modwheel (CC1) is mapped to rotary.speed-preset which allows to set horn and drum speed to slow (0..42), stop (43..85), fast (86..127).

There is an un-mapped rotary.speed-select handler that allows all 3^2 combinations [stop/slow/fast]^[horn|drum] in case you need more control.

@Boris-Dimov
Copy link

I have used my sustain pedal to toggle the Leslie from slow to fast and from fast to slow from the get-go without any problems and without doing any additional configurations. I have tried it only on the GUI version though.

@ahellquist
Copy link
Author

ahellquist commented May 18, 2021 via email

@Boris-Dimov
Copy link

Oh you want to stop the Leslie completely! Sorry, my bad. Perhaps you could set the "slow" speed to 0 or something of the sorts?

@ahellquist
Copy link
Author

ahellquist commented May 18, 2021 via email

@Boris-Dimov
Copy link

Boris-Dimov commented May 19, 2021

I did some digging, and found out that the "default.pgm" file contains a 'stop leslie' control at MIDI Program Change №52. So all you need to do is configure a button on your keyboard to send a program change message with the value 52 (how you do that depends on your keyboard) and you should be good to go (not exactly - see the note below). If you're using a custom .pgm file, you can add this line to it using a text editor:

[program_number] { rotaryspeed=stop }

and it should work. Replace [program_number] with 52 or whichever program change value you like and configure the keyboard to send it.

(Note: I just tested it, and it works. Mind one thing though: setBfree counts the Program change values from 1 to 128, while MIDI sends them as 0-127, so you will probably have to configure your keyboard to send Program Change 51, not 52.)

@ahellquist
Copy link
Author

ahellquist commented May 20, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants