sending lists of values to matrix
-
Gilsornette
- Member
- Posts: 280
- Contact:
Hello,
I probably miss something in the forums or tutorials but I don't achieve to send lists (arrays) of parameters
to a matrix. I have a simple auduio matrix 2 in 2 out, 4 cells and I won't to activate some cells using, some external buttons (OSc or midi). And, I don't find how to send , for instance, 0,1,0,0, to activate the second cell on the first row.
Also is it possible to use lists (arrays?) that have multiple parameters by index ; e.g. Index 1 : 64,13, 07, 56, 124,
Index 2 : 27,55, 89,114,45, etc...?
Thank you
I probably miss something in the forums or tutorials but I don't achieve to send lists (arrays) of parameters
to a matrix. I have a simple auduio matrix 2 in 2 out, 4 cells and I won't to activate some cells using, some external buttons (OSc or midi). And, I don't find how to send , for instance, 0,1,0,0, to activate the second cell on the first row.
Also is it possible to use lists (arrays?) that have multiple parameters by index ; e.g. Index 1 : 64,13, 07, 56, 124,
Index 2 : 27,55, 89,114,45, etc...?
Thank you
Here 2 examples of matrix manipulation
Download
edit: you can use a strings mix selector module to use several lists.
Download
edit: you can use a strings mix selector module to use several lists.
-
Gilsornette
- Member
- Posts: 280
- Contact:
Thank you very much! The "Comma text to array" object was what I was looking for. And did not found...
-
Gilsornette
- Member
- Posts: 280
- Contact:
I've got another question regarding [Matrix audio]; is it possible to have [cells out] sending out (immediately) the values that received in
[cells val]? In nomal use they are sent, but on next step.
[cells val]? In nomal use they are sent, but on next step.
Not sure to understand the question, can you provide a patch and precisions ?
-
Gilsornette
- Member
- Posts: 280
- Contact:
Here are two "versions" in one patch. I want to be able to activate the matrix in direct mode by clicking on Usine's interface), or with an external controller, e.g. lemur. http://www.sensomusic.org/forums/upload ... emples.pat
In the first version when I use a "lemur switch" the output [cells out] has one step delay. The way I found to solve this problem is to
switch between a lemur control and a direct mode. But it doesn't satisfy me. Is it more understandable?
In the first version when I use a "lemur switch" the output [cells out] has one step delay. The way I found to solve this problem is to
switch between a lemur control and a direct mode. But it doesn't satisfy me. Is it more understandable?
If you talk about some kind of latency, have you try to reduce Usine block size in setup/audio tab ?
-
Gilsornette
- Member
- Posts: 280
- Contact:
No, it's not a kind of latency. In the first patch, when you switch on a cell in the matrix, for instance Osc1, [cells out] outputs (1,0), but if you switch on Lemur Osc 1 (as if it was trigger by an external controller), cell Osc1 lights up but [cells out] will not output (1,0), but the values corresponding to the previous state. The list will be output next time an external switch is activate. As if the values where stored and sent on next "step".
Maybe something like this will be better ( i suppose in your example the 2 array's in were in conflict)
Download
Download
-
Gilsornette
- Member
- Posts: 280
- Contact:
Thank you for this new patch. But, for me, the problem is not yet solved. If I trace [cells out], clicking on the matrix send the values properly (1,0 if Osc 1 is on, 1,1 if Osc 1 & 2 are on...), but clicking on [Lemur...] switches will always send the values with a gap.
For instnace, when [lemur osc 2] is on, values are 0,0 (or the previous state)...
Or am I supposed to use [cells out] and [array out] from editor? But in this case I will also need a kind of mainswitch.
For instnace, when [lemur osc 2] is on, values are 0,0 (or the previous state)...
Or am I supposed to use [cells out] and [array out] from editor? But in this case I will also need a kind of mainswitch.
i don't have your complete patch, lemur configuration to test and how you send your OSC messages, but if you link the quicklink from the array display array outlet, will work no ?
-
Gilsornette
- Member
- Posts: 280
- Contact:
I'm using switches in Lemur, sending 0 (switch off) and 1 (switch on), with an [osc lister] in Usine.
If I link the quicklink from the display array outlet I don't get the values when clicking on the matrix interface, only those from "external" lemur switches. Or I'd like to get them in both situations. But maybe it's not possible this way
If I link the quicklink from the display array outlet I don't get the values when clicking on the matrix interface, only those from "external" lemur switches. Or I'd like to get them in both situations. But maybe it's not possible this way
not easy cause it create a loop if you use both
mmm there is something wrong with audio matrix, think should be raised as bug.
if man swap it by the data matrix, it works as expected
here a patch showing the difference:
http://www.sensomusic.org/forums/upload ... X_test.pat
if man swap it by the data matrix, it works as expected
here a patch showing the difference:
http://www.sensomusic.org/forums/upload ... X_test.pat
-
Gilsornette
- Member
- Posts: 280
- Contact:
Thank you 23x23. It works well with data matrix. I didin't try with it. So to solve the problem I will just use one data matrix to control
the audio matrix. And send the values coming out from the data matrix to the other parts of the patch.
the audio matrix. And send the values coming out from the data matrix to the other parts of the patch.
Thanks 23FX, didn't think to check this, bug reported
Who is online
Users browsing this forum: Bing [Bot] and 24 guests
