Displaying Text: The Basics

MaaachSeven's icon

Hi,

I'm pretty familiar with Max/MSP but now I'm starting to use Jitter to display different pieces of text throughout my patch, and I don't know where to start and I can't find any documentation. Can anyone point me to a tutorial, or posting, or object that would be useful?

Thanks,
David

Rob Ramirez's icon

no ideas what you're trying to do, but...
lcd
jit.lcd
jit.gl.text2d
jit.gl.text3d
jit.gl.sketch

Dg's icon

> jit.gl.sketch

? how do you text with sketch ?

MaaachSeven's icon

I just want to display simple instructions, like "click to begin" or "Press spacebar to play audio" centered on the screen. I think that I want to use jit.gl.text2d because I can set the alignment attribute to center, but I can't figure out how to get my text to display in a jitter window. I'm using jit.textfile to store the text as a matrix, but how do i get it onto the jitter window?

Rob Ramirez's icon

jitter tutorial 30 and the jit.gl.text2d help file should be all you need to get started.

after that, post a patch with specific questions to the list.

mattyo's icon

For just some simple screen instructions, going wth Jitter seems like
overkill. Although comment boxes won't center align, you might want
to look at using a umenu in label mode, which will:

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

M

On Jan 26, 2009, at 18:18, David wrote:

>
> I just want to display simple instructions, like "click to begin" or
> "Press spacebar to play audio" centered on the screen. I think that
> I want to use jit.gl.text2d because I can set the alignment
> attribute to center, but I can't figure out how to get my text to
> display in a jitter window. I'm using jit.textfile to store the text
> as a matrix, but how do i get it onto the jitter window?

MaaachSeven's icon

What about the umenu object itself, is there a way to auto center it? The problem is that I'm writing the patch to be used on a different computer, and when the size of the main patch window is changed/maximized, the objects become off center.

David