Welcome to %s forums

BrainModular Users Forum

Login Register

MIDI sustain - noob patch

I need help on a Patch
Post Reply
User avatar
parityflux
Member
Posts: 83
Location: Tucson, AZ USA
Contact:

Unread post by parityflux » 04 Dec 2013, 03:31

Hello. So, I am working my way through understanding HH and specifically patching. I wanted a button on my rack that would allow me to send a MIDI sustain message (CC#64) and have the rack show the current state as well. I decided on using a switch with a Create MIDI module and came up with the following:

Image

I can't help the feeling that there's too much stuff here for such a simple action. The first constant from the top is set to 64 and the second to 127. The idea is to trigger a one-shot control change each time the HOLD switch is pressed. When the state goes on, it sends a value of 127, when it goes to an off state a value of 0 is sent. It works fine, but I'm not sure if this is the simplest way to get there.

-John

bsork
Site Admin
Posts: 1334
Location: Asker, Norway
Contact:

Unread post by bsork » 04 Dec 2013, 09:00

The Listbox and and the Const modules aren't really needed. The message type and code1 can be set on the Create Midi itself. The switch can be set to send On=127 and Off=0, so you connect that one directly to code2, while a HasChanged can do the job of both 0to1 and 1to0.
Bjørn S

User avatar
parityflux
Member
Posts: 83
Location: Tucson, AZ USA
Contact:

Unread post by parityflux » 04 Dec 2013, 16:53

Excellent! Thank you for reviewing it. I will streamline it tonight. I started reading the patching tutorial last night. Essential reading. :-)
-John

User avatar
parityflux
Member
Posts: 83
Location: Tucson, AZ USA
Contact:

Unread post by parityflux » 09 Dec 2013, 05:34

Image

It's so beautiful now. I'm going to weep. Thanks again.

-j

Post Reply

Who is online

Users browsing this forum: No registered users and 86 guests