drawing lines to a matrix from mxj efficiently ?

Jun 8, 2008 at 1:28am

drawing lines to a matrix from mxj efficiently ?

#38292
Jun 8, 2008 at 3:44am

I don’t have time to answer your questions but a while ago on this list
I provided a really simple example of using mxj to draw to a jit matrix.
I think it was pretty efficient or at least efficient enough. I ended up
having real time audio buffer rendering without a hiccup.

Also. This I understand your concern with performance. I have similar
leanings. However, lets be clear about what 5 microseconds adds up to
called 30 fps.150 microsecs. 0.15 milliseconds. See,s acceptable to me.
People keep bringing up the bridge and believe me…the bridge is
probably never something to worry about. We are dealing with the bridge
at signal rate in mxj~ and it really isn’t a big deal.
/* FROM SIDEKICK LX*/

#133287
Jun 9, 2008 at 12:15pm

#133288
Jun 9, 2008 at 5:19pm

>
> I’m waiting for your post to retrieve this “example of using mxj to draw to a jit matrix.”…
>
Sorry Alexandre,
I haven’t been home yet and the code is on my machine at home.Thanks for
reminding me.
T

#133289
Jun 9, 2008 at 5:30pm

Also,
If someone has a copy of the attachment from the post:

stupid but… Thu, 17 May 2007 17:04

posted by me hanging around perhaps you can repost.
t

topher lafata wrote:
>
>>
>> I’m waiting for your post to retrieve this “example of using mxj to
>> draw to a jit matrix.”…
>>
> Sorry Alexandre,
> I haven’t been home yet and the code is on my machine at home.Thanks
> for reminding me.
> T
>
>

#133290
Jun 9, 2008 at 5:42pm

On 9 juin 08, at 19:30, topher lafata wrote:

> Also,
> If someone has a copy of the attachment from the post:
>
> stupid but… Thu, 17 May 2007 17:04

heh, found it ;-)

ej

#133291
Jun 9, 2008 at 6:39pm

thanks emmanuel!!!!!
t

Emmanuel Jourdan wrote:
> On 9 juin 08, at 19:30, topher lafata wrote:
>
>> Also,
>> If someone has a copy of the attachment from the post:
>>
>> stupid but… Thu, 17 May 2007 17:04
>
>
> heh, found it ;-)
>
> ej
>
> ————————————————————————
>
>

#133292
Jun 9, 2008 at 8:18pm

Hi Emmanuel, hope everything goes fine for you,

> heh, found it ;-)
>
> ej

thanks.. so where is this attachment now ?

Alexandre

#133293
Jun 9, 2008 at 8:37pm

It went through the mailing list, but not with the forum… here it is.

ej

#133294
Jun 9, 2008 at 9:29pm

thanks !

well, i think it’s not really what i’m looking for…

i think that i might put me into the “JitterMatrix BufferedImage” stuff to really draw lines… i found an example for that on the forum posted by Ignotus, and i’m going to look at it. (but if someone have an other example, why not)

i also have to read the color of hundreds of differents pixels coming from a matrix, this, for every little move of my pen on the wacom tablet (every 10 ms) (while the DSP audio is at 50% of CPU)

- copyMatrixToArray :
it seems that previous posts speak about crash problems with the “copyMatrixToArray(int[] data)” that would not be very stable. right ? i just managed to found the api-jitter in my old max 4 folder, but for now, i don’t really understand how the color data is transfered to the array. Any example for this would be greatly apreciated.

Thank again,

Alexandre

#133295

You must be logged in to reply to this topic.