[PD] Parse/split symbol by delimiters like - or _ ?

2015-03-01 Thread JF via Pd-list
Is it possible to split a formatted symbol such as...drums_1.wav ...to extract the float '1' and use that to assign a meaningful attribute? For example a float could represent a loop playback switch. if I have 'drums_0.wav' I would like to extract the float, find that itis '0' and then I would

Re: [PD] Parse/split symbol by delimiters like - or _ ?

2015-03-01 Thread IOhannes m zmölnig
On 03/01/2015 08:03 PM, JF via Pd-list wrote: Is it possible to split a formatted symbol such as...drums_1.wav ...to extract the float '1' and use that to assign a meaningful attribute? For example a float could represent a loop playback switch. if I have 'drums_0.wav' I would like to extract

Re: [PD] Parse/split symbol by delimiters like - or _ ?

2015-03-01 Thread tim vets
maybe using s2l ? something (roughly) like: [symbol drums_1.wav( |[symbol _( || [s2l] [unpack s s] | |[symbol .( || [s2l] [unpack s s] [f ] | [1\ gr, Tim

Re: [PD] Parse/split symbol by delimiters like - or _ ?

2015-03-01 Thread tim vets
sorry, in that example, the last [unpack s s] should probably be [unpack f s] 2015-03-01 20:17 GMT+01:00 tim vets timv...@gmail.com: maybe using s2l ? something (roughly) like: [symbol drums_1.wav( |[symbol _( || [s2l] [unpack s s] | |[symbol

Re: [PD] high channel count audio output on the cheap?

2015-03-01 Thread Martin Peach
With the Delata1010s you can sync one to the other using either the word clock or the SPDIF. Martin On Sun, Mar 1, 2015 at 10:31 AM, IOhannes zmölnig zmoel...@iem.at wrote: Am 01. März 2015 14:44:13 MEZ, schrieb tim vets timv...@gmail.com: You can probably find some m-audio Delta series

Re: [PD] Parse/split symbol by delimiters like - or _ ?

2015-03-01 Thread JF via Pd-list
Thanks Iohannes Tim, I would be interested in how to achieve this with [text]? I've been playing with text for the first time today, I thought that the 'fields' were only whitespace separated. if I had... [text define longsymbols] [symbol _ ( | [text set longsymbols] ...how would