Forums > Jitter

How to use letters on keyboard to read multiple mov one after another in a scree

Sep 30 2012 | 11:02 pm

Hi, everyone. I wonder if anyone know how to use letters on keyboard to play multiple mov one after another in a window. Each letter stands for a mov file. As a result, people can type in a vocabulary, or a sentence to play the multiple videos in the sequence of these letters.

My idea is that: first step, getting the letters from the vocabulary, then get rid of the space, ignored upper-and lowercase letters, then translate the letter into numbers in order to trigger playing the multiple videos in the sequence of the letters. It seems that I can use imovie object and switch multiple mov files, but I have no idea how to play them one after another. Also I found the object of textedit and dialog could be used as interface to input the letters. How can I use them to trigger the multiple videos? Since I am a beginner, I would really appreciate if anyone can give me some examples.

Oct 01 2012 | 3:53 pm

you want to use the direct input from the keyboard or process a string ?

direct input with the key object
it gives you ascii codes
with a bunch of select objects you can trigger messages for

processing a string could be done with atoi object

Oct 01 2012 | 9:24 pm

you got the single steps quite right. the tricky part is playing movies of different lengths one after the other. here is how you could do this. you still have to implement the movie player and add the remaining letters etc. but i didn’t want to take all the fun from you…


-- Pasted Max Patch, click to expand. --

Oct 02 2012 | 3:58 am

Hi! MJ and Pure, Thanks for your reply.

Re MJ: I not quite sure what’s the differences between direct input from the keyboard or process a string. However, I surmise that processing a string could store the input information until a person finish a vocabulary or a sentence, then to click a button, read the code. Direct input may like live play mode, type in a letter, trigger a number, play a movie. Am I right?

Re Pure: Thanks for your kind help. I will take a while to read and digest.

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

Forums > Jitter