Hi Peter, On Fri, Mar 11, 2011 at 11:38:01PM +0800, Chris McCormick wrote: > On Fri, Mar 11, 2011 at 09:53:18AM -0500, Peter Kirn wrote: > > See my other message - ideally, u_dispatcher, the helper abstraction > > that distributes arguments to patches after using u_makepoly to make > > them polyphonic, should be able to dispatch symbols. Right now, it > > appears limited to only lists and floats. I need to dispatch symbols > > in order to pass the array name for playback of the sound buffer (in > > this case for a granular synth, but the same would be potentially true > > for a sampled instrument). > > > > Unless there's a better way I'm missing. > > One thing you could do is convert to a list before you send it (e.g. a message > that starts with the word "list") and then convert back to a symbol on the > other side, I think with [list trim].
I think I have figured out the exact magical incantionation you need. You want a dispatcher called "source" to specify the grain table source. So on the outside you send in to the right inlet a message that looks like: [list source mytablename( On the inside you have a [u_dispatch $0 source] Then you hook the receiver up to the tabread~ with this lovely stack: [r $0-source] | [list trim] | [symbol] | [set $1( | [tabread~] I think that should do what you need it to. Cheers, Pd Potter. ------------------- http://mccormick.cx _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
