The attached patch doesn't work... I can do it a different way, but I want to know WHY this doesn't work, and what would be a better approach. I'd like to minimize use of externals as far as possible, but I do have the pd-extended 0.38.4 ... Anyway, based on the help file for pack, I can't see any reason why this patch shouldn't work.
The more general question: without using prepend, how would I attach a new message on to the start of a given message, or a list of floats: ie. I want "1 0 0 0 1 0 1 0" to become "setPtn 1 0 0 0 1 0 1 0".
Maybe this is stuff I need with the new list: but I can't use the help for "list" because I'm on 0.38.4, and it breaks in this version; and I can't use the newer pd, without breaking all my libraries that are already installed (and nobody could explain how to make pd 0.39+ play nice with my current install on winXP). So I don't really even know what that [list] object is supposed to do... When I send it a list, it just bangs!
~David
hi cyborg
[pack s s] expects symbol and a msg like [quarter( is not direct a symbol. if you use a [symbol] object between the msg's and pack it will work as expected. i'd prefer [list append], which in this case works the same way.
want "1 0 0 0 1 0 1 0" to become "setPtn 1 0 0 0 1 0 1 0".
[list prepend setPtn] ;-)
or you could use [glue] from zexy. i think that wants 2 lists.
find lots of eastereggs!
bye
eni
On Apr 13, 2006, at 9:56 PM, cyborgk@nocturnalnoize.com wrote:
The attached patch doesn't work... I can do it a different way, but I want to know WHY this doesn't work, and what would be a better approach. I'd like to minimize use of externals as far as possible, but I do have the pd-extended 0.38.4 ... Anyway, based on the help file for pack, I can't see any reason why this patch shouldn't work.
The more general question: without using prepend, how would I attach a new message on to the start of a given message, or a list of floats: ie. I want "1 0 0 0 1 0 1 0" to become "setPtn 1 0 0 0 1 0 1 0".
Maybe this is stuff I need with the new list: but I can't use the help for "list" because I'm on 0.38.4, and it breaks in this version; and I can't use the newer pd, without breaking all my libraries that are already installed (and nobody could explain how to make pd 0.39+ play nice with my current install on winXP). So I don't really even know what that [list] object is supposed to do... When I send it a list, it just bangs!
~David
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Okay more questions:
quote: 'Anything that is not a valid number os considered a symbol...Non-valid numbers which are read as symbols include things like "+5" and "0..6" as well as words and names such as "Zack" or "cat". The symbols "gore", "Gore", and "GORE" are all distinct.'
the output: "list setUnit quarter" for example, instead of just "setUnit quarter"? Where is this list coming from--pack by definition creates a list, so this behavior makes little sense. It seems to be interpreting setUnit as a list, rather than a symbol.
Oh, and I can't use [list append] because I'm trying to combine two symbols INTO a list, and list append doesn't like the symbol in the right inlet.
version... I never heard of [list append] or [list prepend] before, they seem to work but I can't pull up any help files on them.
Thanks for the help, I just need to understand some things that are, apparently, undocumented "features" or quirks or whatever... I'm working on my mnmlPD project and there will definitely be patches to share with the community when I'm finished. I'm trying to use the best practice and make it as compatible and CROSS-PLATFORM as I can though, and use externals as little as possble.
~David
hi cyborg
[pack s s] expects symbol and a msg like [quarter( is not direct a symbol. if you use a [symbol] object between the msg's and pack it will work as expected. i'd prefer [list append], which in this case works the same way.
want "1 0 0 0 1 0 1 0" to become "setPtn 1 0 0 0 1 0 1 0".
[list prepend setPtn] ;-)
or you could use [glue] from zexy. i think that wants 2 lists.
find lots of eastereggs!
bye
eni
On Apr 13, 2006, at 9:56 PM, cyborgk@nocturnalnoize.com wrote:
The attached patch doesn't work... I can do it a different way, but I want to know WHY this doesn't work, and what would be a better approach. I'd like to minimize use of externals as far as possible, but I do have the pd-extended 0.38.4 ... Anyway, based on the help file for pack, I can't see any reason why this patch shouldn't work.
The more general question: without using prepend, how would I attach a new message on to the start of a given message, or a list of floats: ie. I want "1 0 0 0 1 0 1 0" to become "setPtn 1 0 0 0 1 0 1 0".
Maybe this is stuff I need with the new list: but I can't use the help for "list" because I'm on 0.38.4, and it breaks in this version; and I can't use the newer pd, without breaking all my libraries that are already installed (and nobody could explain how to make pd 0.39+ play nice with my current install on winXP). So I don't really even know what that [list] object is supposed to do... When I send it a list, it just bangs!
~David
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hallo, cyborgk@nocturnalnoize.com hat gesagt: // cyborgk@nocturnalnoize.com wrote:
- Why isn't [quarter( a symbol??? According to the manual it is, and I
quote: 'Anything that is not a valid number os considered a symbol...Non-valid numbers which are read as symbols include things like "+5" and "0..6" as well as words and names such as "Zack" or "cat". The symbols "gore", "Gore", and "GORE" are all distinct.'
This is the part of the manual that is talking about object boxes. Messages are slightly different, so you should read "2.3.1 anatomy of a message" to learn more about symbol-messages. Or try http://puredata.org/dev/PdMessages for my try at explaining lists, symbols etc. Some more related docs are here: http://puredata.org/dev/PdDefinitions/
- In the attached patch, I added symbols as you suggested. Why do I get
the output: "list setUnit quarter" for example, instead of just "setUnit quarter"? Where is this list coming from--pack by definition creates a list, so this behavior makes little sense.
[pack] outputs real Pd lists, which have a "list" selector at front unless the first element is a float. Everything is correct in your patch. If you want a "setUnit"-meta-message without the list selector you can split it off using [list trim] (pd>=0.39) or [route list] (others).
Oh, and I can't use [list append] because I'm trying to combine two symbols INTO a list, and list append doesn't like the symbol in the right inlet.
This isn't quite true: [list] and [list append] perfectly accept symbol- and meta-messages in both inlets. I suppose you are running a Pd version which doesn't have the [list] objects yet. Older Pd versions still allowed you to create a [list] object, but it was non functional.
- How can I found out all this list stuff? It's undocumented in my PD
version... I never heard of [list append] or [list prepend] before, they seem to work but I can't pull up any help files on them.
You need to update your Pd. If you cannot do this globally, you should at least install some version of Pd-0.39 for testing purposes. [list] is exxxxxtremely conventient. After you've tasted its sewwt odour, you don't want to go back to list-less Pd again.
"[list] for life." (Iggy Pop)
Frank Barknecht _ ______footils.org_ __goto10.org__
Hi David & list
Frank Barknecht a écrit :
I suppose you are running a Pd version which doesn't have the [list] objects yet. Older Pd versions still allowed you to create a [list] object, but it was non functional.
- How can I found out all this list stuff? It's undocumented in my PD
version... I never heard of [list append] or [list prepend] before, they seem to work but I can't pull up any help files on them.
You need to update your Pd. If you cannot do this globally, you should at least install some version of Pd-0.39 for testing purposes. [list] is exxxxxtremely conventient. After you've tasted its sewwt odour, you don't want to go back to list-less Pd again.
In fact with Hans last version of 0.38.4 : pd-extended0.38.4RC8 you can simply load the new 0.39 list objects with loading 'liblist" in your startup menu. It was backported from the mIller's 0.39-2. But you won't have the help patches for the objects...
Greetings
On Fri, 14 Apr 2006, hard off wrote:
has anyone ever been kicked off the pd list?
Netochka Nezvanova was banned from the pd-lists in 2002 (?). She's a famous psychopath known for her hypercommercial video-plugin called NATO for MAX. She once revoked the NATO license of an artist centre in Canada because they hadn't got the authorization to make a workshop on NATO. You can't get more closed, secretive and obnoxious than that. She spent a lot of time intimidating writers of Pd plugins and jMax plugins and lots of other people, even on the MAX list and everywhere she can reach. Haven't seen any of her posts since about 2004.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montréal QC Canada
On Apr 14, 2006, at 3:45 AM, Frank Barknecht wrote:
Hallo, cyborgk@nocturnalnoize.com hat gesagt: //
cyborgk@nocturnalnoize.com wrote:
- Why isn't [quarter( a symbol??? According to the manual it is,
and I quote: 'Anything that is not a valid number os considered a symbol...Non-valid numbers which are read as symbols include
things like "+5" and "0..6" as well as words and names such as "Zack" or
"cat". The symbols "gore", "Gore", and "GORE" are all distinct.'This is the part of the manual that is talking about object boxes. Messages are slightly different, so you should read "2.3.1 anatomy of a message" to learn more about symbol-messages. Or try http://puredata.org/dev/PdMessages for my try at explaining lists, symbols etc. Some more related docs are here: http://puredata.org/dev/PdDefinitions/
That reminds me. At the bottom of PdDefinitions, there are Frank's
and my stabs and writing clear definitions of all this stuff.
Ideally, a third party should review all that and make a stab at
unifying Frank's and mine into a final document. I'm a stickler for
details with this stuff, but I know my writing style can be too
technical. So more input would be good.
Any volunteers?
.hc
- In the attached patch, I added symbols as you suggested. Why do
I get the output: "list setUnit quarter" for example, instead of just
"setUnit quarter"? Where is this list coming from--pack by definition
creates a list, so this behavior makes little sense.[pack] outputs real Pd lists, which have a "list" selector at front unless the first element is a float. Everything is correct in your patch. If you want a "setUnit"-meta-message without the list selector you can split it off using [list trim] (pd>=0.39) or [route list] (others).
Oh, and I can't use [list append] because I'm trying to combine two symbols INTO a list, and list append doesn't like the symbol in
the right inlet.This isn't quite true: [list] and [list append] perfectly accept symbol- and meta-messages in both inlets. I suppose you are running a Pd version which doesn't have the [list] objects yet. Older Pd versions still allowed you to create a [list] object, but it was non functional.
- How can I found out all this list stuff? It's undocumented in
my PD version... I never heard of [list append] or [list prepend]
before, they seem to work but I can't pull up any help files on them.You need to update your Pd. If you cannot do this globally, you should at least install some version of Pd-0.39 for testing purposes. [list] is exxxxxtremely conventient. After you've tasted its sewwt odour, you don't want to go back to list-less Pd again.
"[list] for life." (Iggy Pop)
Ciao
Frank Barknecht _ ______footils.org_ __goto10.org__
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
http://at.or.at/hans/
On Thu, 13 Apr 2006 cyborgk@nocturnalnoize.com wrote:
- Why isn't [quarter( a symbol??? According to the manual it is, and I
quote: 'Anything that is not a valid number os considered a symbol...
it's a symbol atom, but a symbol atom alone in a messagebox counts as the selector (the header) of the message. A symbol message requires the symbol "symbol" as the selector and then another symbol atom as the contents.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montréal QC Canada