adapting Jitter Recipe 28

AaronMButler's icon

All,

I'm making a patch for a friend's performance. The goal is to create a patch that will play video and use pitch~ to keep track of the number of notes played. The counter will trigger different video clips and also be projected on with the video.

I can get the counter to trigger video clips, but I'm having a hard time with combining the text and video. I've looked at jitter recipe 28 about subtitles and basically copied what I needed from it, but I'm still not getting the desired result.

1) How can I get rid of the "int" before the number? This isn't a huge deal as I will eventually move the number to the bottom left corner of the screen and can move that part out of visibility, but I'd still like to figure it out.

2) How can I get the gray areas around the text to go away? I assume this has something to do with the jit.qt.movie portion of my patch. The recipe patch used jit.qt.grab, but just trading that with jit.qt.movie didn't work. Also, I had to delete the attribute @automatic 0 from jit.gl.videoplane to get the video to show up in the jit.window.

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

Here's what I'm working with.

Thanks in advance for any help you can throw my way!
-Aaron

Lume's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Putting [tosymbol] in front of [jit.str.fromsymbol] fixes your first problem.
Not sure about the second. I'm not seeing the grey areas? =/
...

Tobias Rosenberger's icon
Max Patch
Copy patch and select New From Clipboard in Max.
AaronMButler's icon

Thanks so much for the help, guys!

-Aaron