Welcome to %s forums

BrainModular Users Forum

Login Register

how do I set up a limit length for midi output note ON messages?

I need help on a Patch
Post Reply
User avatar
x.iso
Member
Posts: 565
Location: RU, Saint-Petersburg
Contact:

Unread post by x.iso » 28 Oct 2017, 01:35

While working on improving this patch here:
http://www.sensomusic.org/forums/viewtopic.php?id=5898

I've stumbled on a problem, that in certain situations some dispatched notes from my sequencer never receive note OFF message, so the note freezes until it's hit with same 'note on' message. I need something to trace all notes and send 'note off' message to those that exceed the limit set by fader or other control. How can I do that?
join Hollyhock Usine Discord server: https://discord.gg/EdJarnE

User avatar
x.iso
Member
Posts: 565
Location: RU, Saint-Petersburg
Contact:

Unread post by x.iso » 28 Oct 2017, 02:20

and another question is how do I make Has Changed module equivalent (or workaround), that triggers on any flow, even if incoming data is the same? Basically I just need a trigger on any flow activity
join Hollyhock Usine Discord server: https://discord.gg/EdJarnE

User avatar
x.iso
Member
Posts: 565
Location: RU, Saint-Petersburg
Contact:

Unread post by x.iso » 02 Nov 2017, 02:15

So, no ideas? :P
I've solved the problem with loosing note OFF messages, but the implementation with length limiter would be also interesting.

As for other question, I guess there's no such module? I had some idea for subpatch as such module substitute, I'll share when I get it done.
join Hollyhock Usine Discord server: https://discord.gg/EdJarnE

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 02 Nov 2017, 02:29

for your second question one possible way is you can use the 'is null' module in HH3 /patching followed by a logical not.
if flow is stopped size will be null, so the null output 1, not will ouput 0 and vice versa.

if you need like a pass if change something constantly sending pulese 0..10..1 ect add a toggle out of this that'll make each bloc alternate, ie :
Image

User avatar
x.iso
Member
Posts: 565
Location: RU, Saint-Petersburg
Contact:

Unread post by x.iso » 28 Nov 2017, 10:48

as for first question, I was dumb. It's easily solved by midi transform module, which got maximum length option and that's the solution for me.
join Hollyhock Usine Discord server: https://discord.gg/EdJarnE

sephult
Member
Posts: 1144
Contact:

Unread post by sephult » 28 Nov 2017, 11:02

Have you tried the new Length options in the Transformer? (I assume that's what you are using)
I ran into the same problems ages ago.
Actually I'd have to dig and convert...but I wrote a buffer script that was dynamic. Was pretty cool but needed some work.
It was essentially the same type of thing, if it didn't recognize in a specified amount of time it would send out the buffered note # corresponding.
(had a really cool dynamic channelizer too...was using for micro tonality project).

I was needing something a while back, hence the new mode suggestions for the transformer.
I haven't had a chance to really dig into the new mode, seemed to work well though.

-s
"Every act of creation is first an act of destruction." -Picasso

User avatar
x.iso
Member
Posts: 565
Location: RU, Saint-Petersburg
Contact:

Unread post by x.iso » 28 Nov 2017, 14:54

yeah, that was exactly what I was looking for, just somehow escaped my attention that there was such a mode in midi transform module.
join Hollyhock Usine Discord server: https://discord.gg/EdJarnE

sephult
Member
Posts: 1144
Contact:

Unread post by sephult » 28 Nov 2017, 20:37

Awesome, hope it works well...I got sidetracked at the moment and haven't made my way back to MIDI sounding....more control at the moment.
I think it should be able to turn on/off now as well. Before once you adjusted the length you couldn't revert to just normal...

-s
"Every act of creation is first an act of destruction." -Picasso

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests