Welcome to %s forums

BrainModular Users Forum

Login Register

Simple MIDI operations

I need help on a Patch
Post Reply
Aaron_Owlex
New member
Posts: 5
Contact:

Unread post by Aaron_Owlex » 10 Nov 2013, 06:27

So I'm quite new to Usine but have had some experience with the whole visual-programming kind of approach, like MaxMSP and pd.

My ultimate goal, however, is to just use Usine as a midi controller for Ableton, now that I've gotten a fancy convertible touch laptop, to give me an extra control interface as well as for long bus/plane rides so I can stay productive even if I don't have my regular gear.

Anyway, as an exercise I'm trying to build a simple grid to send MIDI notes, but I'm having trouble with sending note OFF messages.

Right now each pad is a button, patched to a create MIDI message module. I managed to create a VERY complicated and roundabout way of triggering the OFF message (through a number of conditional and math modules) but this seems all too unnecessary... is there an easy way to have a button that sends a note ON when pressed, and sends a note OFF when released? Any help would be much appreciated.


Thanks,

Aaron

ceasless
Member
Posts: 330
Contact:

Unread post by ceasless » 11 Nov 2013, 03:43

I've had success with using 'Create MIDI Message' with the 'MIDI Transformer' module. Setting a length value will automatically create a Note Off message at the specified length. (This length can be fixed or modulated, such as with a step sequencer.)

Aaron_Owlex
New member
Posts: 5
Contact:

Unread post by Aaron_Owlex » 11 Nov 2013, 05:28

Hm, I see what you mean. Though I don't want a set length for the note; I want it linked to however long I hold the button down. Which, if the button only sends two values when it's on and off I'm not sure if that's possible....

I feel like I'm not asking for a complicated result as this is how most, if not all, MIDI controllers work, akin to a piano. You press it, it goes on, you release, it goes off.

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

Unread post by bsork » 11 Nov 2013, 08:30

If whatever module you use to detect to presses sends 1 (on) and 0 (off), then use a 0to1 module connected to the create inlet of a Create Midi set to NoteOn, and a 1to0 module connected to another set to NoteOff.
Bjørn S

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 11 Nov 2013, 10:06

You're right Bsork for simple button, but as far i understand, Aaron want to use a Matrix module,
( "I'm trying to build a simple grid to send MIDI notes"
so in this case, it's not always easy, the next version will contains some new array modules to solve this.

Aaron_Owlex
New member
Posts: 5
Contact:

Unread post by Aaron_Owlex » 11 Nov 2013, 20:56

Sorry, I was using "grid" in a non-Usine sense, as in just a physical 4x4 grid of 16 pads, like your typical control surface.

Bsork, I gave that a shot but for some reason it seems the 1to0 module triggers immediately, no matter how long I hold the button for. The result is a quick short note. Not sure why... it seems that the button is sending out the 0 too quickly! All i have set for the button is default OFF value 0 and ON value 1...

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 11 Nov 2013, 21:31

if you want to use the button module, you can link its mouse down outlet to the create Midi

Aaron_Owlex
New member
Posts: 5
Contact:

Unread post by Aaron_Owlex » 12 Nov 2013, 02:40

Ah I see. Brilliant, I think I'm almost there... just.... I can't figure out how to turn on that mouse dwn switch. Stupid question, but I must be missing something here. I try clicking, double clicking, dragging, right clicking, everything on that little "mouse dwn" thing on the panel for button 1 but nothing changes.

edit: derp. just figured it out. I am dumb. Thanks for the help, this whole "click the arrow for more" should keep me occupied for a few more weeks before I run into trouble again! :)

Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests