Repeat rules with varying timing

0
0

What I want to ultimately is to connect a joystick or gamepad to my computer and translate the x/y stick movements to MIDI incrementally.  What I’ve done is I’ve downloaded Bome’s Mouse Keyboard application.  That will translate joystick moves to MIDI CC messages.  Then, I can get the CC messages into Bome.  What I want to do is make it so that let’s say the joystick is in its center position, Bome will output nothing.  If I move the stick all the way to the right, Bome will repeatedly output a Note On 0, then Note Off 0 message very quickly, say five times per second.  If I push the stick only a little to the right, Bome will repeatedly output a Note On 0, then Note Off 0 message slower, say once every second.  If I push it to the left, I’d use Note 1, up would be Note 2, and so forth.  So, Bome is translating CC messages that it’s getting from Bome’s Mouse Keyboard application into varying repeats of Note on/Note Off messages.

I know this is a really out-there request.  I’m planning on using it to send commands to a lighting control desk to move robotic fixtures smoothly using the joystick.  Any help is much appreciated thanks.

Marked as spam
Posted by (Q&A Forum: 1, Answers: 1)
February 6, 2017 7:53 pm
61 views
1
Private answer

This version of the file might be a bit more bullet proof.

Attachments:
Marked as spam
Posted by (Q&A Forum: 27, Answers: 1963)
February 7, 2017 1:19 pm

Thanks very much Steve! How very helpful! I can definitely see where you’re going with this. I’ll let you know when I’ve been able to do some testing.

( at February 7, 2017 3:12 pm)
0
Private answer

OK, the below file should get you started.

Assuming you are using CC#1 for Up/Down and CC#2 for Left Right

Translator in Init Preset sets up the global variable and happens on project open or hitting keyboard escape key

Then there are translators for incoming cc #1 and 2 and respective timers for sending notes

Setting CC value to 64 disables the timer.

I’m sure there is more customization you will want to do but you should get the picture here.

 

See attached.

Attachments:
Marked as spam
Posted by (Q&A Forum: 27, Answers: 1963)
February 7, 2017 1:07 am

Is it possible to use this patch on a BomeBox with a USB joystick attached?

( at February 16, 2017 4:16 pm)

I don’t believe it is. I think the joystick would need to be attached to a computer. I don’t think the BomeBox supports other USB devices other than class compliant midi (and maybe later USB Serial Port.

( at February 16, 2017 7:15 pm)
Votes
Answers
Topic
0
votes
1
answer
asked 2 weeks ago by
updated 2 weeks ago by
Tags:
0
votes
1
answer
asked 1 year ago by
updated 1 year ago by
0
votes
1
answer
asked 1 year ago by
updated 1 year ago by
0
votes
2
answers
asked 1 year ago by
updated 1 year ago by
1
vote
2
answers
asked 1 year ago by
updated 1 year ago by