Old 02-27-2019, 08:09 AM   #1
beingmf
Human being with feelings
 
beingmf's Avatar
 
Join Date: Jul 2007
Location: Jazz City
Posts: 5,065
Default Question/request: Random exclusive channel matrix JS

I have no idea if this is possible - I found it in Usine but I'd rather rely on Reaper.

For an interactive sound installation I need 15 stereo tracks/channels into 15 stereo channels which will change their order randomly at a given point (marker or midi command). The crucial functionality in this "matrix" is the exclusivity of each i/o channel, so that no more than one pair of track channels will be routed into no more than one pair of output channels.

Is this feasible in JS? The only control I need is the "randomize" command, other than that I neither have to see the matrix nor would I ever want to manually switch the channels.

Thanks!



(maybe there's a different solution but so far I haven't come up with it)
__________________
Windows 10x64 | AMD Ryzen 3700X | ATI FirePro 2100 | Marian Seraph AD2, 4.3.8 | Yamaha Steinberg MR816x
"If I can hear well, then everything I do is right" (Allen Sides)

Last edited by beingmf; 02-27-2019 at 09:09 AM.
beingmf is offline   Reply With Quote
Old 02-27-2019, 10:10 AM   #2
Hubi
Human being with feelings
 
Join Date: Oct 2010
Posts: 83
Default

I wrote a litte JS script that should do the trick…
it takes 15 Stereo Ins and randomizes them to 15 Outs exclusively without 2 on one Output.. the Stereo pairs stay together.

to randomize simply send any midi note on to the plugin.

test it before giving it a shot…

NOTE: there is no crossfade.. the change is instant.
Attached Files
File Type: zip Rondomizer.zip (1.5 KB, 97 views)
Hubi is offline   Reply With Quote
Old 02-27-2019, 10:19 AM   #3
beingmf
Human being with feelings
 
beingmf's Avatar
 
Join Date: Jul 2007
Location: Jazz City
Posts: 5,065
Default

Woohoo - hubi, you're fantastic (even before I tried it )!
No crossfade is absolutely okay - I'd do a short fade out/fade in when the loop restarts.

Will report ASAP, thanks!!!
__________________
Windows 10x64 | AMD Ryzen 3700X | ATI FirePro 2100 | Marian Seraph AD2, 4.3.8 | Yamaha Steinberg MR816x
"If I can hear well, then everything I do is right" (Allen Sides)
beingmf is offline   Reply With Quote
Old 02-27-2019, 10:31 AM   #4
beingmf
Human being with feelings
 
beingmf's Avatar
 
Join Date: Jul 2007
Location: Jazz City
Posts: 5,065
Default

I haven't tried all combinations so far, but it definitely works!!!
I owe you one (hoffentlich bist Du nicht so weit weg und das Bier schmeckt dort ).

What I've noticed is that (yes, I can see in the code that you specified a note-on message) it switches twice, on note-on and note-off, but I can filter that out, no problem.

WOW - the first step is solved, so amazing! Now on to the weird Arduino controls and possibly the intranet audio streamcast

Tausend Dank nochmal, Wahnsinn!
__________________
Windows 10x64 | AMD Ryzen 3700X | ATI FirePro 2100 | Marian Seraph AD2, 4.3.8 | Yamaha Steinberg MR816x
"If I can hear well, then everything I do is right" (Allen Sides)
beingmf is offline   Reply With Quote
Old 02-27-2019, 01:33 PM   #5
Hubi
Human being with feelings
 
Join Date: Oct 2010
Posts: 83
Default

Schön das ich helfen konnte.

aaand woops probably didn't check for that case on note off.. I shortly tried it and there is definitely a way simpler way. I just like to fiddle around with unusual scripts and logics. so thank you too for this brainfood.

Thema Bier: Ich bin aus Bayern... das sagt denke ich alles
Hubi is offline   Reply With Quote
Old 02-28-2019, 02:48 AM   #6
beingmf
Human being with feelings
 
beingmf's Avatar
 
Join Date: Jul 2007
Location: Jazz City
Posts: 5,065
Default

I wish I was able to come up with something useful by "fiddling around"

Auch aus Bayern? Dann könntest Du ja die Installation in Aktion sehen (falls Augsburg nicht doch zu weit ist) und auf 1A lokales Bier eingeladen werden!?
__________________
Windows 10x64 | AMD Ryzen 3700X | ATI FirePro 2100 | Marian Seraph AD2, 4.3.8 | Yamaha Steinberg MR816x
"If I can hear well, then everything I do is right" (Allen Sides)
beingmf is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:25 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.