Welcome to %s forums

BrainModular Users Forum

Login Register

puzzling puzzle

I need help on a Patch
Post Reply
gurulogic
Member
Posts: 1019
Contact:

Unread post by gurulogic » 02 May 2009, 08:24

Lets say I have a grid of 9 patches that can each select audio to receive from any external source.
Each of these 9 patches can also select audio to receive from any of the eight other patches.
There is also other multiple channels of audio that bypass or run in parallel to these patches but arrive at the same final destination.

The problem is that each of the 9 patches in the grid delays the audio by 3 ms whenever it receives audio
Say that I would connect at most 4 of the 9 patches in series,but in no particular order, that is a 12 ms delay compared to the audio that bypasses the patches.
Then say I have another audio feed that is connected to two more of the patches in the same grid. That is 6 ms of delay.

So assuming I am ok with a global 12 ms of delay on my audio, how can I link the button that enables or disables one of the patches to a delay module that would remove 3 ms of delay from that specific audio path without affecting the delay of any other audio path?
Or..how could I do the opposite, where when a specific patch were enabled, all other delays would compensate for the newly added delay appropriately?

Basicly what I am trying to do is build automatic delay compensation for audio buses in Usine...!

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 02 May 2009, 17:03

that's what i was saying myself, this is APC ! I guess you d'better delay all others patch so when you enable a patch, all other receive 3ms. I would link each pach active on/off to an array input per patch(patch 1 linked to inlet 1 of array 1, pach 2 linked to inlet 2 of array 2,ect) then inverse each array (not) and x3 (delay time) so that mean each time a patch is on, it's output on it's array is 0, all other receive 3.
this tec would require 9 differents arrays, one per pach. then summing all arrays should give the latency comp to apply per pach....
or must be more complicate cause the order they'r triggered must have impact I guess...
we dbetter ask senso if he got ideas yo impement Apc in usine maybe?

gurulogic
Member
Posts: 1019
Contact:

Unread post by gurulogic » 03 May 2009, 10:26

er...arrays...the one concept in usine i definatley do not understand in the slightest!
On a brighter note, I have my automatic delay compensation patch almost finished, except to make it work I need to figure out how to allow only the maximum of multiple incoming values to pass and how to subtract variable values for establishing the final values to be sent to the various delay modules. Ive uploaded the patch so far, including notes if anyone cares to lend a hand...?

http://www.sensomusic.com/forums/upload ... xample.pat

gurulogic
Member
Posts: 1019
Contact:

Unread post by gurulogic » 03 May 2009, 19:51

Never mind...I figured out the last bit. It's amazing what a bit of sleep can do for the 'ol logic circuit!

gurulogic
Member
Posts: 1019
Contact:

Unread post by gurulogic » 03 May 2009, 21:28

Works perfect! Uploaded to add ons ---> other.


Post Reply

Who is online

Users browsing this forum: No registered users and 43 guests