Dispatcher random output ch?

See Joey’s in/out labels: it’s C → C

IMO, check out Keep Channel & Set Channel To in the Transform: channel should be 1 so you can uses any channel notes in

Thanks for your help !
I definitely didn’t get that this physical midi connection was needed between port OUT3 and IN3.

It’s working smoothly now.

Unfortunately, as the randomization of the midi channel output is a ‘time-base’ event, and not a ‘note-based’ event, if a chord is played, it outputs all the notes to the same (random) midi channel, but not a different channel for each note.

Would you imagine any potential way around that ?

Yes I see what you mean. When I was thinking through Joey’s strategy I was only thinking about single notes.

Potential way round: Off top of my head I’d think about Dispatcher combined with Joey’s idea.
So instead of note getting Transformed to note 0 & going straight to C_out, it would get Dispatched to a virtual, then a series of virtual_in pipes – each with their own Ch Filter – would perform Joeys trick to C-Out. (Would need some proper thinking thro)
Seems clunky though.
As you’re already in the loopback domain, I start to think about Passive Mod random LFOs but don’t ask me why!

Yea the dispatcher seems the way to go. Although you’ll need to build it out with as many pipelines as you expect to have maximum notes in a chord. It’ll require a bit of pipelines for sure but I don’t see why it wouldn’t work flawlessly once finished. You seem to have a good grasp on MidiHub so it shouldn’t be too hard but it you need help building it out let us know.
I’ll point you to my Strum patch on patch storage. It’s a bit complicated with the mappings but it basically does the chord split to different channels. i’m running notes through arps on fixed channels but you can just as easily run through random channels. The one issue I see though is if all the notes of a chord are randomly channelized there will inevitably be times where notes get sent to the same channels. I can’t see a way around that at the moment.

230327 Random Midi Channel.mhp (874 Bytes)
B → B cable needed for the patch to operate

This is what I came up with.
Using noise LFO for the random generation.

Any comments welcomed !
Thanks

Just having a look @LandscapeSetting

One thing I started to wonder about with the previous patches - that also applies to this one:
how do they know where to send the Note_Off? Or does this not matter with the device you’re sending to?


Looking back up the thread I see I mentioned Note_Off issue before.

If it is an issue, how about using your LFO(s) to do your random switching directly within the Dispatcher itself? (this might be an avenue already rejected)
For this you’d probably adopt a sample and hold strategy using ideas like those mentioned by @Brachland and @sdk75 last year here.

The note length pipe should only trigger on the note off so the note on note off should ideally be passing through the channels before it is switched.

Indeed, this is something that I didn’t notice at first.
The midi note off messages are all messed up.

@JoeyButters
Would you mind explaining how to use your ‘note on-note off’ strategy with a dispatcher ?
I’m quite new to midihub

Thanks

possible solution if you are sticking with ‘230327…mhp’ strategy:

LandscapeSetting_DupNotesOff_Append.mhp

(notes in Description panel)

Thanks for your help !

Unfortunately, even when applying that, since the note off is on every channel,
there’s still some glitches in my setup. Some notes get cut off, when they should still be on.

Really a pity that the note off can’t be simply implemented.
Or just a more advanced dispatcher block.

yeah, it’s a bit of a sledgehammer technique![1]

Dispatcher itself is the only thing that’s going to keep everything tidy, AFAIK.

Given @Freeks earlier suggestion in the topic got a like by @Giedrius, maybe Dispatcher will get a Mode dropdown in its next iteration?
:crossed_fingers:t4:
it would be a fun addition


[1] I take it, then, you’re playing another say C3 while a C3 is still on? Otherwise it should work.

1 Like

Here’s my latest attempt, with a different approach.

On my sequencer, in addition to the ‘musical notes’, I generate ‘useless notes’ in the range of C-2 to A-2, trying to make those as random as can be.

I then use a simple dispatcher, and filter those notes out.
It somehow randomizes the dispatcher, while keeping the note on&off tidy.

The downside being that chords are always on consecutive midi channels…

230412 Random Midi Channel - Simple.mhp (404 Bytes)

That’s a nice trick!

The downside being that chords are always on consecutive midi channels…

I just wonder whether there’s any mileage in sending the Dispatcher line off to a number of Virtuals each with their own Channel Filter and unique Dispatch subset pattern?



If Clock → DIN A-OUT is important, you should Filter it out of one of the pipelines

1 Like

Great suggestion.
Here’s a updated version. Quite simply cascading dispatchers.

It seems to work out well, with or without the ‘useless notes’

230413 Random Midi Channel - SimpleV2.mhp (534 Bytes)

1 Like

Oh cool. :fireworks:

So dummy notes don’t improve the setup any further?