text to video

This example shows a simple way of putting text into video, with the lines of text stored in a coll object. After loading the video sending a read message to, you can load each line by clicking the button in the middle of the patch.

Append data to coll

A reasonable way to append an item in the coll object is to keep track of the last or highest index. This can be done using a counter object or an i (int) object just above coll. Then increment the counter or by one each time you add a new item to the coll object.