Forums > Jitter

adapting Jitter Recipe 28

February 10, 2013 | 7:49 am

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.

Here’s what I’m working with.

– Pasted Max Patch, click to expand. –

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


February 10, 2013 | 11:13 am

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

– Pasted Max Patch, click to expand. –

February 10, 2013 | 7:50 pm
– Pasted Max Patch, click to expand. –

February 10, 2013 | 8:08 pm

Thanks so much for the help, guys!

-Aaron


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