Oct 27 2008 | 4:56 pm

Hi Jitteries,

I am still a newbie on Jitter:

I want to track vertical slices of a picture (1 plane) into a
multislider and tried jit.spill. I am not sure if this at all the way to
go, it seems jit.spill is spilling out the horizontal rows, but I need
the vertical collumns...
Ok, I jit.rota by 90 degrees, but for just exchanging y and x that seems
overkill for me (takes really long and there should be no trigonometric
calculations necessary for that for sure...)
Another problem is, jit.spill seems to be limited to a max length of
1024 (I need at least 4096 or better more...)

That's what I tried so far, it works but I am sure there are better ways
to do it...

Any hints to optimize or to do it simply different are appreciated...

--
Stefan Tiedje------------x-------
--_____-----------|--------------
--(_|_ ----|-----|-----()-------
-- _|_)----|-----()--------------
----------()--------www.ccmix.com

- Oct 27 2008 | 5:21 pmhi stephan, im not sure whats the best way to spit out values to a multislider (and i dont have max5 to see the patch) but an efficient way to "rotate" a matrix (row-to-colum) is using jit.transpose. on second touhgt, you cna use the jit.scanwarp with a one row size , in one of its mode (spew?) it will except a matrix and spit out consecutive matrix until its empty.On Mon, Oct 27, 2008 at 6:56 PM, Stefan Tiedje wrote:> Hi Jitteries, > > I am still a newbie on Jitter: > > I want to track vertical slices of a picture (1 plane) into a multislider > and tried jit.spill. I am not sure if this at all the way to go, it seems > jit.spill is spilling out the horizontal rows, but I need the vertical > collumns... > Ok, I jit.rota by 90 degrees, but for just exchanging y and x that seems > overkill for me (takes really long and there should be no trigonometric > calculations necessary for that for sure...) > Another problem is, jit.spill seems to be limited to a max length of 1024 > (I need at least 4096 or better more...) > > That's what I tried so far, it works but I am sure there are better ways to > do it... > > Any hints to optimize or to do it simply different are appreciated... > > > > -- > Stefan Tiedje------------x------- > --_____-----------|-------------- > --(_|_ ----|-----|-----()------- > -- _|_)----|-----()-------------- > ----------()--------www.ccmix.com > >
- Oct 27 2008 | 5:45 pmOn Oct 27, 2008, at 12:56 PM, Stefan Tiedje wrote:> Hi Jitteries, > > I am still a newbie on Jitter: > > I want to track vertical slices of a picture (1 plane) into a > multislider and tried jit.spill. I am not sure if this at all the > way to go, it seems jit.spill is spilling out the horizontal rows, > but I need the vertical collumns... > Ok, I jit.rota by 90 degrees, but for just exchanging y and x that > seems overkill for me (takes really long and there should be no > trigonometric calculations necessary for that for sure...) > Another problem is, jit.spill seems to be limited to a max length of > 1024 (I need at least 4096 or better more...) > > That's what I tried so far, it works but I am sure there are better > ways to do it... > > Any hints to optimize or to do it simply different are appreciated... > > > > -- > Stefan Tiedje------------x------- > --_____-----------|-------------- > --(_|_ ----|-----|-----()------- > -- _|_)----|-----()-------------- > ----------()--------www.ccmix.com >
- Oct 27 2008 | 6:10 pmjoshua goldberg schrieb: > ----------begin_max5_patcher----------Thanks at both of you that gets me going...yair reshef schrieb: > hi stephan, im not sure whats the best way to spit out values to a > multislider (and i dont have max5 to see the patch) but an efficient way > to "rotate" a matrix (row-to-colum) is using jit.transpose.perfect, and good to know...> on second touhgt, you cna use the jit.scanwarp with a one row size , in > one of its mode (spew?) it will except a matrix and spit out consecutive > matrix until its empty.I guess I can live with Joshuas proposal, jit.scanwarp doesn't seem to be in the official distribution btw...Thanks a lot,Stefan-- Stefan Tiedje------------x------- --_____-----------|-------------- --(_|_ ----|-----|-----()------- -- _|_)----|-----()-------------- ----------()--------www.ccmix.com
- Oct 27 2008 | 6:23 pmhe's thinking of jit.scanwrap. and definitely using jit.submatrix to jit.thin is the most efficient way of getting a single column as a matrix. transposing is slow.On Oct 27, 2008, at 2:10 PM, Stefan Tiedje wrote:> joshua goldberg schrieb: > > ----------begin_max5_patcher---------- > > Thanks at both of you that gets me going... > > yair reshef schrieb: >> hi stephan, im not sure whats the best way to spit out values to a >> multislider (and i dont have max5 to see the patch) but an >> efficient way to "rotate" a matrix (row-to-colum) is using >> jit.transpose. > > perfect, and good to know... > >> on second touhgt, you cna use the jit.scanwarp with a one row >> size , in one of its mode (spew?) it will except a matrix and spit >> out consecutive matrix until its empty. > > I guess I can live with Joshuas proposal, jit.scanwarp doesn't seem > to be in the official distribution btw... > > Thanks a lot, > > Stefan > > -- > Stefan Tiedje------------x------- > --_____-----------|-------------- > --(_|_ ----|-----|-----()------- > -- _|_)----|-----()-------------- > ----------()--------www.ccmix.com >
- Oct 27 2008 | 7:11 pmgood to knowOn Mon, Oct 27, 2008 at 8:23 PM, joshua goldberg wrote:> he's thinking of jit.scanwrap. and definitely using jit.submatrix to > jit.thin is the most efficient way of getting a single column as a matrix. > transposing is slow. > > > On Oct 27, 2008, at 2:10 PM, Stefan Tiedje wrote: > > joshua goldberg schrieb: >> > ----------begin_max5_patcher---------- >> >> Thanks at both of you that gets me going... >> >> yair reshef schrieb: >> >>> hi stephan, im not sure whats the best way to spit out values to a >>> multislider (and i dont have max5 to see the patch) but an efficient way to >>> "rotate" a matrix (row-to-colum) is using jit.transpose. >>> >> >> perfect, and good to know... >> >> on second touhgt, you cna use the jit.scanwarp with a one row size , in >>> one of its mode (spew?) it will except a matrix and spit out consecutive >>> matrix until its empty. >>> >> >> I guess I can live with Joshuas proposal, jit.scanwarp doesn't seem to be >> in the official distribution btw... >> >> Thanks a lot, >> >> Stefan >> >> -- >> Stefan Tiedje------------x------- >> --_____-----------|-------------- >> --(_|_ ----|-----|-----()------- >> -- _|_)----|-----()-------------- >> ----------()--------www.ccmix.com >> >> > >
- Oct 28 2008 | 5:54 pmjoshua goldberg schrieb: > he's thinking of jit.scanwrap. and definitely using jit.submatrix to > jit.thin is the most efficient way of getting a single column as a > matrix. transposing is slow.ah, typo... ;-)All is fine now btw...-- Stefan Tiedje------------x------- --_____-----------|-------------- --(_|_ ----|-----|-----()------- -- _|_)----|-----()-------------- ----------()--------www.ccmix.com
- Oct 28 2008 | 8:12 pmHere's a mod of Joshua's patch, using [mxj list.Queue]best, Zachary
- Nov 18 2008 | 9:31 pmjust what i was looking for! cheers guys!