Hi, i have a string of characters in a message, like this:
[ababacbabcdabacdeacbcbacbeab(
I need to use this for sequencing, basically i need to read each character each time ( each trigger) and then select and event based on the character.
So i have 2 questions:
How can i read each character in the message each trigger ? and ,
Is there is any object like select that work with characters ? for example: [select a b c d e] ?
Which approach would you recommend for this?
thanks in advance
R,
I think [list tosymbol] and [list fromsymbol] should help.
cheers Miller
On Sun, Aug 10, 2014 at 06:43:35PM -0700, Ronni Montoya wrote:
Hi, i have a string of characters in a message, like this:
[ababacbabcdabacdeacbcbacbeab(
I need to use this for sequencing, basically i need to read each character each time ( each trigger) and then select and event based on the character.
So i have 2 questions:
How can i read each character in the message each trigger ? and ,
Is there is any object like select that work with characters ? for example: [select a b c d e] ?
Which approach would you recommend for this?
thanks in advance
R,
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On 11/08/2014 03:43, Ronni Montoya wrote:
Hi, i have a string of characters in a message, like this:
[ababacbabcdabacdeacbcbacbeab(
Is this representation (with no spaces between 'notes') mandatory? Or could you for instance have something like:
[list a b a b c ... (
I think that would make life easier for your scenario. Lorenzo
I need to use this for sequencing, basically i need to read each character each time ( each trigger) and then select and event based on the character.
So i have 2 questions:
How can i read each character in the message each trigger ? and ,
Is there is any object like select that work with characters ? for example: [select a b c d e] ?
Which approach would you recommend for this?
thanks in advance
R,
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2014-08-18 15:17, Lorenzo Sutton wrote:
Is this representation (with no spaces between 'notes') mandatory? Or could you for instance have something like:
[list a b a b c ... (
definitely. it would also minimize the pollution of Pd's symbol-cache.
if, however, you *must* use long "words" you have two options:
to convert the symbol into the list representation lorenzo suggested.
after that it is fairly easy:
[list a b a b c ...(
|
[bang( +--+ | | | [list prepend] | | | [list split 1] | | | | | +--------+ |
fgmasdr IOhannes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2014-08-11 03:43, Ronni Montoya wrote:
Is there is any object like select that work with characters ? for example: [select a b c d e] ?
what's wrong with [select a b c d e]?
fgamsdr IOhannes