Hello
I have created a little abstract, usefull for me : [text3dml] I share this.
philippe
On 2015-06-14 10:16, Philippe Boisnard wrote:
Hello
I have created a little abstract, usefull for me : [text3dml] I share this.
thanks for sharing.
i wonder why you are using dynamic patching instead of just inserting '\n' where you want a linebreak? also i think that it should be possible to create that abstraction with vanilla-only objects (apart from the Gem part, obviously) using the new [list *symbol] objects (which however, requires a recent version of Pd)
fgadmr IOhannes
On Mon, Jun 15, 2015 at 10:41 AM, IOhannes m zmoelnig zmoelnig@iem.at wrote:
On 2015-06-14 10:16, Philippe Boisnard wrote:
Hello
I have created a little abstract, usefull for me : [text3dml] I share this.
thanks for sharing.
i wonder why you are using dynamic patching instead of just inserting '\n' where you want a linebreak?
how can you use this? the '' is not permitted in Pd, you get the "keycode 92: dropped" message...
On 2015-06-15 10:21, Alexandros Drymonitis wrote:
On Mon, Jun 15, 2015 at 10:41 AM, IOhannes m zmoelnig zmoelnig@iem.at wrote:
On 2015-06-14 10:16, Philippe Boisnard wrote:
Hello
I have created a little abstract, usefull for me : [text3dml] I share this.
thanks for sharing.
i wonder why you are using dynamic patching instead of just inserting '\n' where you want a linebreak?
how can you use this? the '' is not permitted in Pd, you get the "keycode 92: dropped" message...
'\n' is not meantas a Pd-literal. it just denotes the line-feed character (ascii value: 10, usually written as "\n"). how you get it into Pd is another matter, though quite simple... e.g. to get it as a symbol, uise: [10( | [makefilename %c]
but when working with [list fromsymbol], you get ASCII (well UTF-8) values anyhow, so you can just insert '10' instead. also Gem eats [string( messages that allow you to use unicode values directly, so you can use '10' as well. be careful that when using [list fromsymbol] or some other raw data, you might need to convert from UTF-8 to unicode, for which there exists an abstraction in the repository (and i'm too lazy to search for it now; but it has been mentioned a number of times on this list).
fgmasdr IOhannes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello,
Here the abstraction "text3d_ml". Don't knw how to manage the error when the text object is empty. Maybe with the -k option and a default text ? ++
Jack
Le 15/06/2015 10:49, IOhannes m zmoelnig a écrit :
On 2015-06-15 10:21, Alexandros Drymonitis wrote:
On Mon, Jun 15, 2015 at 10:41 AM, IOhannes m zmoelnig zmoelnig@iem.at wrote:
On 2015-06-14 10:16, Philippe Boisnard wrote:
Hello
I have created a little abstract, usefull for me : [text3dml] I share this.
thanks for sharing.
i wonder why you are using dynamic patching instead of just inserting '\n' where you want a linebreak?
how can you use this? the '' is not permitted in Pd, you get the "keycode 92: dropped" message...
'\n' is not meantas a Pd-literal. it just denotes the line-feed character (ascii value: 10, usually written as "\n"). how you get it into Pd is another matter, though quite simple... e.g. to get it as a symbol, uise: [10( | [makefilename %c]
but when working with [list fromsymbol], you get ASCII (well UTF-8) values anyhow, so you can just insert '10' instead. also Gem eats [string( messages that allow you to use unicode values directly, so you can use '10' as well. be careful that when using [list fromsymbol] or some other raw data, you might need to convert from UTF-8 to unicode, for which there exists an abstraction in the repository (and i'm too lazy to search for it now; but it has been mentioned a number of times on this list).
fgmasdr IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
I haven't list from symbol.... (last vanilla ...)
this abstract doesn't work for me .... I can't test
Le 16 juin 2015 à 15:44, Jack a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello,
Here the abstraction "text3d_ml". Don't knw how to manage the error when the text object is empty. Maybe with the -k option and a default text ? ++
Jack
Le 15/06/2015 10:49, IOhannes m zmoelnig a écrit :
On 2015-06-15 10:21, Alexandros Drymonitis wrote:
On Mon, Jun 15, 2015 at 10:41 AM, IOhannes m zmoelnig zmoelnig@iem.at wrote:
On 2015-06-14 10:16, Philippe Boisnard wrote:
Hello
I have created a little abstract, usefull for me : [text3dml] I share this.
thanks for sharing.
i wonder why you are using dynamic patching instead of just inserting '\n' where you want a linebreak?
how can you use this? the '' is not permitted in Pd, you get the "keycode 92: dropped" message...
'\n' is not meantas a Pd-literal. it just denotes the line-feed character (ascii value: 10, usually written as "\n"). how you get it into Pd is another matter, though quite simple... e.g. to get it as a symbol, uise: [10( | [makefilename %c]
but when working with [list fromsymbol], you get ASCII (well UTF-8) values anyhow, so you can just insert '10' instead. also Gem eats [string( messages that allow you to use unicode values directly, so you can use '10' as well. be careful that when using [list fromsymbol] or some other raw data, you might need to convert from UTF-8 to unicode, for which there exists an abstraction in the repository (and i'm too lazy to search for it now; but it has been mentioned a number of times on this list).
fgmasdr IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEcBAEBAgAGBQJVgCg0AAoJEOuluecjw8GUoTwH/191YRYVNjQUdBAX/M0/56Mh HLdmRf4JjGKyODrgBeLfmh0Rrlpa1/hdj7FNrHC/ujU6qwUCna+InqGLUdxx7Vas klFXDJ9kjawBlqPnAnZg4YcavCoMFxgZ0soCaCap4h7JFYWOnr74crtobpxbbgI3 A3lQmr+eNahPNcGvBpJFTdqhK/V03U3MwGbbNXxteaSf9U/J+kGR7Cy0KwVAYqeh yHfIWS9bneAPU4Zmxz1wzMWM1Vuo9mMpXbDyFVjD/Rrd6KtcOmcBEqgsg0vnDkHN 7yemqnoRAVpQ6hCoJZZuZtYBCIbMvhbkJ6ol6vfPIv6aqIfcLCExsYdADVfcxVU= =BIRQ -----END PGP SIGNATURE----- <text3d_ml-help.pd><text3d_ml.pd>_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On 06/16/2015 04:06 PM, Philippe Boisnard wrote:
I haven't list from symbol.... (last vanilla ...)
it's called [list fromsymbol] (without the space between 'from' and 'symbol') and it is included in Pd-vanilla since 0.46-0.
most likely you don't have "last vanilla" (which is 0.46-6).
fgmards IOhannes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Yes, you need Pd 0.46.0 minimum, for [list fromsymbol], [list tosymbol] and [text] familly objects used in this abstraction. ++
Jack
Le 16/06/2015 16:26, IOhannes m zmölnig a écrit :
On 06/16/2015 04:06 PM, Philippe Boisnard wrote:
I haven't list from symbol.... (last vanilla ...)
it's called [list fromsymbol] (without the space between 'from' and 'symbol') and it is included in Pd-vanilla since 0.46-0.
most likely you don't have "last vanilla" (which is 0.46-6).
fgmards IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Here a final version of [text3d_ml]. Should be faster and without error. ++
Jack
Le 16/06/2015 22:38, Jack a écrit :
Yes, you need Pd 0.46.0 minimum, for [list fromsymbol], [list tosymbol] and [text] familly objects used in this abstraction. ++
Jack
Le 16/06/2015 16:26, IOhannes m zmölnig a écrit :
On 06/16/2015 04:06 PM, Philippe Boisnard wrote:
I haven't list from symbol.... (last vanilla ...)
it's called [list fromsymbol] (without the space between 'from' and 'symbol') and it is included in Pd-vanilla since 0.46-0.
most likely you don't have "last vanilla" (which is 0.46-6).
fgmards IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
An enhanced version of Gem abstraction [text3d_ml]...
Added : clear message : to clear text replace message : to replace a line at a certain position add message : to add a line at the end of the text
Now [text3d_ml] returns the number of lines.
If needed for people using a pd version < 0.46, it should not be difficult to change [text] with [textfile] or [msgfile] (zexy) and [list fromsymbol] with [any2bytes] (moocow). ++
Jack
Le 17/06/2015 11:51, Jack a écrit :
Here a final version of [text3d_ml]. Should be faster and without error. ++
Jack
Le 16/06/2015 22:38, Jack a écrit :
Yes, you need Pd 0.46.0 minimum, for [list fromsymbol], [list tosymbol] and [text] familly objects used in this abstraction. ++
Jack
Le 16/06/2015 16:26, IOhannes m zmölnig a écrit :
On 06/16/2015 04:06 PM, Philippe Boisnard wrote:
I haven't list from symbol.... (last vanilla ...)
it's called [list fromsymbol] (without the space between 'from' and 'symbol') and it is included in Pd-vanilla since 0.46-0.
most likely you don't have "last vanilla" (which is 0.46-6).
fgmards IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list