Welcome to %s forums

BrainModular Users Forum

Login Register

usine message question

I need help on a Patch
Post Reply
23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 30 Jun 2009, 05:15

hi guys
pb of today:

on my square add on i had one array of 512 values for the 32 pages, pb is if i make preset manager it will change the 512 values.
think it would be better to have local per page storing system, so im good to repach all with a different solution.arf

idlike to have a visual "window"array of 16 values that i could set , that would be dispached to one of 16 other arrays relating to a select nb, but i dlike that when i change the select nb, the array i use to set udpates from the last status of the selected array.(it recalls it),id like also that each of the 16 arrays can have independant presets.

1) how would you procceed? ive found solutions with but i feel there are better ones.

2)as i felt would gain cpu dinamically wiring, wanted to test this via usine messages, i well managed to create/delete links but even if i ask in order "send the feedback from array 5 to array set, send out array set to array 5 in" it seems it doesn't work as i would have espected, every time i change the select nb, the array set overide the taget without geting it's values first, didn't understood where the pb comes from. I felt it was because there isn't enough time between the creation of the two wires, or is it it's not event driven?, is there something to make some waits maybe? it seems vey powerful, id like to test this.

edit found workaround, works if delay a second message. must say it's really impressive, must be a good way to optimize cpu..
got 0,30 percent cpu for what i was after,using a classical dispacher/selector for feedback was around 1percent with all values. a big long to set up but very happy.
if someone is interested in the pach let me know.

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 30 Jun 2009, 22:47

arf was too beatiful to be true, on reopen it doesn't work the set array overide, so if anyone has an idea..

ethnix73
Member
Posts: 604
Location: France, Caen
Contact:

Unread post by ethnix73 » 30 Jun 2009, 23:24

Will try to have a look tomorrow or on thursday....but really not so easy to help you.
Seb.Dub

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 01 Jul 2009, 02:14

thank ya ethnix, yes im a bit demanding, don't bother too much if too complicate,
im just a bit frustated cause each time it's nearly working, but there is always a little boring thing, arf anyway will find. im a bit obsessed of finding best solutions to save cpu, especially on this one that represents lot's of applications for me, especially in sequencers but not only, it would allow to recall any page of 16fx, and set/save 16 differents presets for each, but using only one window.
dynamicall wiring seems a good option for any type of matrix from what i felt. I got it quasi working here by creating by usine message a wire from ie array5 to array set, then i made a tempo that wait 100ms and it creates a new message to link back the array set to array5. I have a "pass if chg" before the array set so i can set it with the mouse (in fact i took a data step cause it's not always working with arrays) and changes are routed to the array5. if i select 4, it deletes all wire and creates new ones from/to array4, cool, only pb is on init even if arrays1,2,3,4,5 are differents, and i wire one of them via usine message to the array set to get the feedback,i feel the pass if change of the array set doesn't seems to detect a change and don't update. maybe i have to try simulating a tiny chg on the arrays, will try and report if find a solution..

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 01 Jul 2009, 03:44

ok found a solution, cool, im now able to set/recall 16 differents arrays from one window, and store/recall 16 presets for each, also from one only control of num and store with 0,35 cpu, very happy. i love the way tou see wires creation/delete, ouch this seems a very powerfull and interesting part of usine i have to investigate deeper...
really impressed by IML, crasy possibilities.

just wonder why this don't work: ive got a fader name "PAGE" val is 1, when i send the message the fader FA1 get 100?

SET_TARGET_PATCH SENDER_PATCH
GET_VALUE PAGE num FADER_VALUE
SET_VALUE FA1 fader FADER_VALUE


mm after 10mn brainstorming i restarted usine and now it works back. cool

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 02 Jul 2009, 16:35

ok now back again after several nights of try I m lost aaarff, I tried 3 differents techniques, using dispatcher, using busses, using IML and I got 90 percent working but i always fail somewhere, so if someone has solution. to sum up my goal is:

imagine you build a groovebox with 16 sounds.
on each sound you can make and save/recall 16 step patterns via pm, so you can make sound one play on patern 1,
sound 2 plays patern 4,ect but you can have a general patern control that force every sound to play ie pattern 3.
now the tricky part is I dlike to not have the 16 paterns displayed but only one window that, relating to a select nb takes the values of selected sound patern so i can make changes and reinject them.

I could deal with visibility but it would create pb for my setup. i need this "window" array getting/resending values,
(it's not to build a seq but to use with my square addon, ie if go on page 1, the cells cells modify a kick patern, i can change the kick
patern or whole sounds patern, if i go on page 2, it recall the snare values, can make chg ect)

any master's trick on that one?

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests