Re: [PD] Keyname Object Changed? (Jack)
If anyone is interested, I've written an external for assembling text-strings, which also allows for single-character backspace and a preview of the string being assembled. The source code is on my website: http://www.uwm.edu/~gssurges/ http://www.uwm.edu/%7Egssurges/ Hope it's useful to someone else, - Greg -- Message: 2 Date: Wed, 13 Aug 2008 15:37:13 +0200 From: Jack [EMAIL PROTECTED] Subject: Re: [PD] Keyname Object Changed? To: Mike McGonagle [EMAIL PROTECTED] Cc: PD-List data pd-list@iem.at Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=utf-8 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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/ http://www.uwm.edu/%7Egssurges/ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/ listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Keyname Object Changed?
Thanks, I assumed the change was for good reason. Just wanted to make sure I wasn't going crazy! I've got an external that bypasses the problem entirely, so my code is working again. Again, thanks for the hard work on pd-extended-40.3, best release I've seen! - Greg On Mon, Aug 11, 2008 at 8:32 PM, Hans-Christoph Steiner [EMAIL PROTECTED]wrote: [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 [EMAIL PROTECTED] 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/ http://www.uwm.edu/%7Egssurges/ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/ listinfo/pd-list -- http://www.uwm.edu/~gssurges/ http://www.uwm.edu/%7Egssurges/ ___ Pd-list@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. -- http://www.uwm.edu/~gssurges/ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Keyname Object Changed?
On 12/08/2008, at 3.32, Hans-Christoph Steiner wrote: [keyname] changed to be more cross-platform, and more key commands were added. Are such differences (in the core objectclasses) between Pd-extended and Pd(-vanilla) documented somewhere? I can't tell you how you should go about it, but i think it would be nice if such things as core objectclasses worked the same on both vanilla and extended. (Or if thats not a possibility - as i assume the case is here - then maybe issue a warning?) Anyways, it alters the meaning of works with Pd-extended to even if you install and load the externals needed it might not work with vanilla. Sorry if i sound harsh but i think it's quite serious matter. Best, Steffen. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Keyname Object Changed?
On Aug 12, 2008, at 6:13 AM, Steffen Juul wrote: On 12/08/2008, at 3.32, Hans-Christoph Steiner wrote: [keyname] changed to be more cross-platform, and more key commands were added. Are such differences (in the core objectclasses) between Pd-extended and Pd(-vanilla) documented somewhere? I can't tell you how you should go about it, but i think it would be nice if such things as core objectclasses worked the same on both vanilla and extended. (Or if thats not a possibility - as i assume the case is here - then maybe issue a warning?) Anyways, it alters the meaning of works with Pd-extended to even if you install and load the externals needed it might not work with vanilla. Sorry if i sound harsh but i think it's quite serious matter. Sounds like a wiki page would do nicely. When I change a part of core, I submit a patch. The hard part is if Miller doesn't accept the bugfix. Even harder is if is accepts the patch, but not all of it. Basically, my plan for this going forward is to not touch any of the internal objectclasses. It's just too much work. It's less work to write and maintain a new one. .hc Best, Steffen. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/ listinfo/pd-list Terrorism is not an enemy. It cannot be defeated. It's a tactic. It's about as sensible to say we declare war on night attacks and expect we're going to win that war. We're not going to win the war on terrorism.- retired U.S. Army general, William Odom ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Keyname Object Changed?
[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 [EMAIL PROTECTED] 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@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/ listinfo/pd-list -- http://www.uwm.edu/~gssurges/ ___ Pd-list@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@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Keyname Object Changed?
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 textB.pd Description: Binary data 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 [EMAIL PROTECTED] 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@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/ listinfo/pd-list -- http://www.uwm.edu/~gssurges/ ___ Pd-list@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@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Keyname Object Changed?
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@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Keyname Object Changed?
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@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/ listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list