Signature
vvvr ____________________http://www.symbiotext.net
-
vvvr
A patch for GEM that reads text from on file and separates it over two gemheads. The idea is to have one source textfile and to display different parts of the text on different lines at the same time or subsequently. Because it has one source file the text stays in sync.
Work in progress so any comments for improvements please. (see Pixel forum) For instance I am still looking for a way to have an automatic line break. A nice GUI will come later.
Explanation text within patch:
Use [qlist] to separate text and send it to 2 different gemhead's. The textfile needs specific formatting: Bang= causes the messages to be send with times given in milisec (before destination symbol) So messages in txt file should look like this: <milliseconds> < destinationAA> <Actual display text1>;
<milliseconds> < destinationBB> <Actual display text2>;
etc. If the timing of the second message is <0> it will be send at the same time as the first message, showing up on screen at the same time.
Alternative: To use a metro for timing messages: bang first the [read textfile(, then [rewind( then [next(. BUT the timing given in txt file is ignored. Each message separated by a semicolon will get the same timing, so each time only one line of text changes. The loop back from qlist causes a repeat sending of the list after completion.
Happy projecting.... -
vvvr
A patch for GEM that reads text from on file and separates it over two gemheads. The idea is to have one source textfile and to display different parts of the text on different lines at the same time or subsequently. Because it has one source file the text stays in sync.
Work in progress so any comments for improvements please. (see Pixel forum) For instance I am still looking for a way to have an automatic line break. A nice GUI will come later.
Explanation text within patch:
Use [qlist] to separate text and send it to 2 different gemhead's. The textfile needs specific formatting: Bang= causes the messages to be send with times given in milisec (before destination symbol) So messages in txt file should look like this: <milliseconds> < destinationAA> <Actual display text1>;
<milliseconds> < destinationBB> <Actual display text2>;
etc. If the timing of the second message is <0> it will be send at the same time as the first message, showing up on screen at the same time.
Alternative: To use a metro for timing messages: bang first the [read textfile(, then [rewind( then [next(. BUT the timing given in txt file is ignored. Each message separated by a semicolon will get the same timing, so each time only one line of text changes. The loop back from qlist causes a repeat sending of the list after completion.
Happy projecting.... -
vvvr
Hi, I would be greatful for some advise.
I'm using msgfile to display lines of text with my own font. See attached patch. It works fine but when the line of text is too long it falls outside the display. I still would like to use my font with large points. My solution now is to break the text up with ";"
I could create a second 'gemhead' and divide the text in two source texts and display two lines but to do that by hand creates problems with my very large source files (1000+ lines of text).
So the question is: is there a way to make a long line of text break automatically over two lines, which are then shown at the same time?
I'm working on a MAC with PD extended version 0.43.4
I'll add a source file to the second message. -
vvvr
Just found an amazing abstraction from a reply by Husk:
http://puredata.hurleur.com/sujet-5007-writing-paragraphs-text2d
Its called stringText by Luca Carrubba for gemQ // pantaliQa project
http://www.pantaliqa.org/I tried to change stringtext so that it accepts a [read text.txt( instead of typing but no luck yet...
The amazing gemQ patch seems to allow for a read text input. mmm. need to look into this. -
vvvr
Hi, I just made a patch that displays two lines of text from one textfile. I have used [qlist] to separate different parts of the text that are then displayed in GEM on two separate lines. It has two alternative ways of timing and changing the text. Thanks to Alexandros and others for their input and ideas.
Still an automatic textbreak I have not been able to make to work from a [read textfilexxx], but then PD was never made to work with text... An idea for a new object?
I'll attach the patch here (and in the patches section). An example text file at next message. -
vvvr
Hi, I just made a patch that displays two lines of text from one textfile. I have used [qlist] to separate different parts of the text that are then displayed in GEM on two separate lines. It has two alternative ways of timing and changing the text. Thanks to Alexandros and others for their input and ideas.
Still an automatic textbreak I have not been able to make to work from a [read textfilexxx], but then PD was never made to work with text... An idea for a new object?
I'll attach the patch here (and in the patches section). An example text file at next message.