pantherb / setBfree

DSP tonewheel organ
http://setbfree.org
GNU General Public License v2.0
194 stars 35 forks source link

Need a cc-mapping for leslie stop #79

Open ahellquist opened 3 years ago

ahellquist commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

Me too. I was looking for a better way to stop the leslie. Toggling speed is fine.

On Tue, May 18, 2021, 17:59 Boris-Dimov @.***> wrote:

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.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pantherb/setBfree/issues/79#issuecomment-843293119, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACGG6L4FBL632LNJPFG6CRTTOKFEZANCNFSM4ZKWHANA .

Boris-Dimov commented 3 years ago

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 commented 3 years ago

I want to be able to switch between fast and slow like now but bind a button to stop for rare occasions where the Leslie should be completely stopped.

On Tue, May 18, 2021, 18:42 Boris-Dimov @.***> wrote:

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?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pantherb/setBfree/issues/79#issuecomment-843341043, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACGG6L4TTPJWQU5EUTW4IGLTOKKGFANCNFSM4ZKWHANA .

Boris-Dimov commented 3 years ago

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 commented 3 years ago

Thanks for the tip!

I have seen the program change mappings a long time ago so I'm glad you brought it up. Will set up my quite versatile keyboard for this and give it a try.

Thanks

On Wed, May 19, 2021, 15:08 Boris-Dimov @.***> wrote:

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. 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.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pantherb/setBfree/issues/79#issuecomment-844090090, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACGG6LZC2OPPK5F4PNR6X7LTOOZ55ANCNFSM4ZKWHANA .