Welcome to %s forums

BrainModular Users Forum

Login Register

retrigger problem: please help

I need help on a Patch
Post Reply
artificial
Member
Posts: 87
Location: Austria
Contact:

Unread post by artificial » 08 Feb 2012, 22:28

Hello all together!

I could really need your help with my problem here: maybe it is not too hard to solve but I can't get my head around it...

Image

I send midi notes from my midi controller to usine then they are remapped (via the mapper module). everytime the output of the mapper changes I need a trigger (done this by using the has changed module), but I also need a trigger when I send the same midi note to the mapper again (but obviously, the mapper output is not changing)...

so I thought that it could work with a freeze module in combination with the reject output of the midi filter: so everytime i release a key on my midi keyboard, the "last" value of the mapper output gets saved. then I check if the new value is the same as the saved value. so far this works quite nicely, but I the problem is that I get now a constant signal of 1 from the [A=B] modules output... do you have any idea, how i could get it to retrigger - as soon as I press the same key again?

thank you very much, hope you get what i mean! :)

all the best,
artificial

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

Unread post by nay-seven » 08 Feb 2012, 22:58

i don't understand why you use the msg outlet , this one out only 144 for note on and 128 for note off message, if your purpose is to map midi in notes to others via a mapper value here a solution:
( mapper values are ( for example)
in=48 out=36
in=49 out=37
and so to down an octave
Image

artificial
Member
Posts: 87
Location: Austria
Contact:

Unread post by artificial » 09 Feb 2012, 12:22

thank you very much for you help! :)

unfortunately the msg outlet connection thing was just a mistake... it's connected to code1.

the problem is that i don't want to send the remapped values to a ]create midi] module... it outputs a certain index which is connected to a [get array value] and also a [set array value] module.

maybe it is better to just upload the whole patch, as it is quite complex and hard to explain.

just some infos on my project:
I'm in the middle of creating a 16-channel 16step drum sequencer for my launchpad (with the ability to save and load up to 16 patterns). the bottom left 4*4 buttons of the launchpad are used to select the channel (bd, snare, hihats,...) (so I use a 16*16 matrix each row correspond to a channel) the bottom right 4*4 buttons show the 16 steps (i use a [matrixgetrow] module for this purpose) of the sequencer... the top left 4*4 buttons will function as the pattern selectors...

my problem is that as soon as I press a step (i mean the physical button)it has to change the value of the corresponding cell. this works so far, but when I press the same step (button) again, nothing happens, so I need this [sort of retrigger module]...

honestly I think this is too complicated to describe, so I'm going to upload the patch as soon as i'm at home from work again!

anyway, thank you very much! :)

cheers,
artificial

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 09 Feb 2012, 19:45

not sure i understood, but when using nay tech, the 'receive' should act as retrigger, even if you send same midi msg from controller, it will send one pulse on each trigger normally. if you mean you use set array to toggle, while no infos 0-127 from codes, maybe you need a toggle module from that pulse. or if i well understood what you are after i often gettheArrayElmt value (first) then SettheArrayVal with (1-read value), or a logical not.

artificial
Member
Posts: 87
Location: Austria
Contact:

Unread post by artificial » 14 Feb 2012, 13:48

thank you very much, all together! I just realized that I was thinking way too complicated... after some days off I sat down yesterday and got it working immediatly... sometimes a break is just necessary! :)

artificial
Member
Posts: 87
Location: Austria
Contact:

Unread post by artificial » 14 Feb 2012, 16:13

okay, now I got another problem, which I believe shouldn't be too hard to be solved (hope this is the last one for some time now...):

in preset manager, as soon as i change the preset, the state of the former selected preset should be saved (so, when i make changes in preset 1 and then switch to preset 2, preset 1 is automatically saved)

hope this makes sense to you! :) thanks for reading!

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

Unread post by nay-seven » 14 Feb 2012, 17:59

not so easy, but here a try :
Note that if you recreate this patch, you must set the list box and the preset manager modules to " not save in preset manager" before to link them.
Download

artificial
Member
Posts: 87
Location: Austria
Contact:

Unread post by artificial » 14 Feb 2012, 20:00

thank you very much, that was exactely what i was looking for! :)

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests