Hey All!
Need some text formatting input… probably simple but i no get it
I have a Max patch that reads a directory, gets the filenames, does a little text formatting to it, sends out an OSC string to an array of text objects = Auto populate naming is working good
The pic shows what i am trying to get…
In the Lemur Editor, when you manually enter type into the text box in the object inspector, you can get a "new-line/carriage return" kind of action by putting a few spaces in between words…
When I send the messages via OSC you get the single line with the " … "
Is there a way I can pre-format this in the Max patch so that Lemur will be happy?
Or a way for Lemur itself to auto-split / newline for me as the osc comes in?
seems like it shoooould be easy, but is beyond current brain capacity
thanks!
j
OSC formatting question
OSC formatting question
- Attachments
-
- String Split Lemur.jpg (72.57 KiB) Viewed 2608 times
Re: OSC formatting question
Hi
I would suggest either putting appropriate spaces in the text you are sending with suitable sized text boxes to match ..
Or splitting the text into two separate 'lines' that are sent and handled by two different text objects . . .
Cheers
MM
I would suggest either putting appropriate spaces in the text you are sending with suitable sized text boxes to match ..
Or splitting the text into two separate 'lines' that are sent and handled by two different text objects . . .
Cheers
MM
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
Re: OSC formatting question
Hey MM!
I would LOVE to put spaces, have tried things like this --> /Text1 @content ABCDEF GHIJK but when I do all OSC sends is the first part --> /Text1 @content ABCDEF
Is there a way to put an Ascii code or something so the OSC will pass it along and retain the spacebar? Have tried putting quotes around it and all kinds o things.. no luck...
If no way to do that will try a two line solution and just hard-chop the string in max
BTW I am stuck with the text box size/shape, (blech) the client likes the interface already the way it is, and they've been using it for 2 years and change for them is.... difficult. https://forum.liine.net/posting.php?mod ... =32&t=4651#
thanks!
jd
I would LOVE to put spaces, have tried things like this --> /Text1 @content ABCDEF GHIJK but when I do all OSC sends is the first part --> /Text1 @content ABCDEF
Is there a way to put an Ascii code or something so the OSC will pass it along and retain the spacebar? Have tried putting quotes around it and all kinds o things.. no luck...
If no way to do that will try a two line solution and just hard-chop the string in max
BTW I am stuck with the text box size/shape, (blech) the client likes the interface already the way it is, and they've been using it for 2 years and change for them is.... difficult. https://forum.liine.net/posting.php?mod ... =32&t=4651#
thanks!
jd
Re: OSC formatting question
Hi
Actually there is a simple solution, I didn't get to fire up Max to check the other day . . .
Max uses double quotes as the escape character in its message box i.e. "
So /Text1 @content "ABCDEF GHIJK" should work as you want . . .
Note that Lemur fonts are proportional not fixed, so word widths will vary which may cause some minor issues ....
Cheers
Actually there is a simple solution, I didn't get to fire up Max to check the other day . . .
Max uses double quotes as the escape character in its message box i.e. "
So /Text1 @content "ABCDEF GHIJK" should work as you want . . .
Note that Lemur fonts are proportional not fixed, so word widths will vary which may cause some minor issues ....
Cheers
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
Re: OSC formatting question
Hey Macciza
Cool, will try that tonight... thanks mucho!
Will report back results
jd
Cool, will try that tonight... thanks mucho!
Will report back results
jd