Forums > Java

drawing lines to a matrix from mxj efficiently ?

June 8, 2008 | 1:28 am


June 8, 2008 | 3:44 am

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*/


June 9, 2008 | 12:15 pm


June 9, 2008 | 5:19 pm

>
> 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


June 9, 2008 | 5:30 pm

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
>
>


June 9, 2008 | 5:42 pm

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


June 9, 2008 | 6:39 pm

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
>
> ————————————————————————
>
>


June 9, 2008 | 8:18 pm

Hi Emmanuel, hope everything goes fine for you,

> heh, found it ;-)
>
> ej

thanks.. so where is this attachment now ?

Alexandre


June 9, 2008 | 8:37 pm

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

ej


June 9, 2008 | 9:29 pm

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


Viewing 10 posts - 1 through 10 (of 10 total)