LCD questions

Mayou's icon

Hello !

Max Patch
Copy patch and select New From Clipboard in Max.

Is there any way to do this mode efficiently on a LCD object ?

And do you know how could I get back the LCD size information ? I don't find it in LCD reference.

Thanks a lot

Mathieu

justin's icon

in terms of efficiency, maybe get rid of the pipe object as it seems redundant if counter is controlled via metro.

depends what the efficiency requirements are in context with the rest of the patch, as i presume this is just a UI component of a larger patch...

Max Patch
Copy patch and select New From Clipboard in Max.

getting the size is easy... remember to check the reference pages for more obscure commands which are not always in the help files. see patch below.

Mayou's icon

Thanks for the size.

I thought that the pipe object was useless but the line is not running properly when I change the speed if I don't use it.

Max Patch
Copy patch and select New From Clipboard in Max.

Do you know why this method (with $1 ans $1-1 or something similar) is not working ? :

Thanks a lot,

Mathieu

justin's icon

pipe issue is most likely a max ui redraw problem, so if u want to change the speed u might consider keeping the same count rate but increasing the step.

Max Patch
Copy patch and select New From Clipboard in Max.

and AFAIK u cant do maths functions within a message box, see patch below for a work around

Mayou's icon

Thanks for your help.

Max Patch
Copy patch and select New From Clipboard in Max.

Something similar finally works : (sprite)

Have a nice day

Mathieu

Tj Shredder's icon

You need to record the sprite only once, and then only draw it to a new location...
In your patch you record the sprite, delete it and record another sprite. Sprites need to be recorded only once, thats the point of it...

Stefan

Mayou's icon

Ok thanks a lot !