[PD] Keyname Object Changed?

Jack jack at rybn.org
Wed Aug 13 15:37:13 CEST 2008


Hola Mike,

In fact, Greg wanted a method to make something like 'hello world'  
and not 'helloSpaceworld' working in purePd style (I use the purePd  
[list-l2s] abs from 'list-abs' that i forget to join). So i just make  
a small patch to transform the 'Space' to ' ' (from [keyname]) in a  
sentence working with Pd vanilla.
For the other key like 'Shift_L' or 'Tab', etc. it's possible to add  
them in a [sel] object to make them inactive.
Or if you work with Pd-entended the [entry] object seems very nice ;)
I attach this last patch with abstractions (Pure Pd patch, working  
with Pd Vanilla) with new keys.
++

Jack


Le 12 août 08 à 20:34, Mike McGonagle a écrit :

> Jack,
>
> I tested out your patch, textB.pd, and whenever I hit the 'shift'  
> key, it put "Shift_L" into the list of atoms. I am certain there  
> are other keys that don't correspond exactly from how [keyname]  
> represents them, and how us Humans might want to see them in text.
>
> Other keys that do this are "Tab", "Caps_Lock", "BackSpace" (for  
> the delete key), "Left" (left arrow, etc. for the other arrow  
> keys). The Help, Home, End, PageUp, and PageDown keys also insert  
> other text into the list.
>
> Mike
>
>
> On Mon, Aug 11, 2008 at 8:57 PM, Jack <jack at rybn.org> wrote:
> Yes, i had totaly forgotten this method ! Thanx Hans.
> So here the patch to create sentence with the keyboard using  
> [makefilename %c] (more simple).
> ++
>
> Jack
>
>
>
> Le 12 août 08 à 03:32, Hans-Christoph Steiner a écrit :
>
>
> [keyname] changed to be more cross-platform, and more key commands  
> were added.  Also, "Space" is used as the key symbol since Tcl uses  
> "Space" to represent a space; " " wasn't working on all platforms  
> IIRC ; and,  it is much easier to deal with "Space" than " " in Pd.
>
> You could make a patch something like this to get a " ":
>
> [keyname]
>       |
>       [select Space]
>       |
>       [32(
>       |
>       [makefilename %c]
>
> .hc
>
> On Aug 10, 2008, at 3:35 PM, Jack wrote:
>
> i make three patches :
> one to send text mith a message box via OSC : send.pd
> one to receive text in a message box via OSC : receive.pd
> one to create a text with keyboard (to write), space (for a space)  
> and return (to send) : text.pd
> Hope it is what you are looking for.
> ++
>
> Jack
> <Archive.zip>
>
> Le 10 août 08 à 17:25, Greg Surges a écrit :
>
> Sure,
>
> I'm working on constructing strings, to allow chat over OSC. So, I  
> want to be able to use " " as a space, instead of getting results  
> like "helloSpaceworld".
>
> I've written an external that will do it, but I want to see if  
> there's a pd-vanilla way to do it.
>
> Thanks for the reply!
>
> On Sun, Aug 10, 2008 at 10:10 AM, Jack <jack at rybn.org> wrote:
> Hello Greg,
> To help you, can you tell us what you want to do with " " ?
> ++
>
> Jack
>
>
> Le 10 août 08 à 15:37, Greg Surges a écrit :
>
> Hi all,
>
> First, pd-extended 0.40.3 is all-around great. Seems like lots of  
> hard work went into it. So thanks to the people who worked on that.
>
> Second, has the vanilla keyname object changed? Specifically, does  
> it now output "Space" instead of " " when the spacebar is used? Is  
> there a work-around to get the " " back?
>
> Thanks,
>
> - Greg
>
> -- 
> http://www.uwm.edu/~gssurges/
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
> listinfo/pd-list
>
>
>
>
> -- 
> http://www.uwm.edu/~gssurges/
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
> listinfo/pd-list
>
>
>
> ---------------------------------------------------------------------- 
> ------
>
> If you are not part of the solution, you are part of the problem.
>
>
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
> listinfo/pd-list
>
>
>
>
> -- 
> Peace may sound simple—one beautiful word— but it requires  
> everything we have, every quality, every strength, every dream,  
> every high ideal.
> —Yehudi Menuhin (1916–1999), musician

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20080813/07f53869/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Text.zip
Type: application/zip
Size: 2940 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20080813/07f53869/attachment.zip>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20080813/07f53869/attachment-0001.htm>


More information about the Pd-list mailing list