Re: [PD] Polyphony and granular synthesis, etc.

2011-03-13 Thread Frank Barknecht
Hi, On Sat, Mar 12, 2011 at 11:54:59AM +0100, Frank Barknecht wrote: This: [mytable( | | [symbol mytable( |/ [u_dispatch $0 tablename] will send a mytable-message to [r $0-tablename] for both messages (because of the [list trim] symbol mytable gets converted to mytable).

Re: [PD] Polyphony and granular synthesis, etc.

2011-03-12 Thread Frank Barknecht
Hi, sorry for coming in late to this thread - I'm currently forced to stay away from my desk for some days ... Regarding u_dispatch $0 symbol: Because of the [list trim] that is applied to all incoming parameters, it would never filter any data. [u_dispatch] is like a simplified [route] that

Re: [PD] Polyphony and granular synthesis, etc.

2011-03-11 Thread Joe White
Hi Peter, It sounds like you're missing an argument for the object. Argument 0: integer - Max Polyphony Argument 1: bool - Voice Stealing (0/1) Argument 2: symbol - Object name Argument 3: symbol - Unique ID For example: [u_makepoly 8 1 s_rhodey $0-inst] Hope that helps. P.s. We're in the

Re: [PD] Polyphony and granular synthesis, etc.

2011-03-11 Thread Peter Kirn
On Fri, Mar 11, 2011 at 5:18 AM, Joe White white.j...@gmail.com wrote: P.s. We're in the process of creating some online documentation (similar to Max) for all the objects in the library. It'd be great to get some feedback once it's finished. Hi Joe, No, I found the problem -- the issue is

Re: [PD] Polyphony and granular synthesis, etc.

2011-03-11 Thread Mathieu Bouchard
On Thu, 10 Mar 2011, Peter Kirn wrote: Hans, I gather the Rj version u_makepoly is now the newest. It's looking great, though I ran into one hitch - right now, with the abstraction I built it's giving me this error - Error: Bad arguments for message 'f' to object 'objectmaker' f $1 ...

Re: [PD] Polyphony and granular synthesis, etc.

2011-03-11 Thread Peter Kirn
Well, how literally ? objectmaker is the collection of all object-creation methods (creators) of all classes. objectbox contents are considered to be messages to be sent to objectmaker. What is $1 substituting to ? is $1 happening to be standing for a symbol, by mistake ? See my other message

Re: [PD] Polyphony and granular synthesis, etc.

2011-03-11 Thread Chris McCormick
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

Re: [PD] Polyphony and granular synthesis, etc.

2011-03-11 Thread Chris McCormick
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,

Re: [PD] Polyphony and granular synthesis, etc.

2011-03-11 Thread Peter Kirn
Hi Joe, Okay, I'm now certain that what's going wrong is entirely in the abstraction being made polyphonic - and it isn't, as I thought, u_dispatch with symbols or lists; that's fine. For instance, if I replace the example for u_makepoly, using s_buzz in place of s_rhodey, I get similar answers.

Re: [PD] Polyphony and granular synthesis, etc.

2011-03-11 Thread Joe White
Hi Peter, What abstraction are you trying to use? Frank would obviously be best person to answer your question as he made it. Can you attach the patch so I can have a look? Thanks, Joe On 11 March 2011 16:42, Peter Kirn pe...@createdigitalmedia.net wrote: Hi Joe, Okay, I'm now certain that

Re: [PD] Polyphony and granular synthesis, etc.

2011-03-11 Thread Peter Kirn
Hi Joe (and Frank), Here's as far as I got, including the referenced Rj patches. http://dl.dropbox.com/u/961695/graintests2.zip (Note - this uses, by permission, an adaptation of a patch built for Granita by Lorenzo Sutton; I'm hoping to use makepoly to help make this more flexible and

Re: [PD] Polyphony and granular synthesis, etc.

2011-03-11 Thread Mathieu Bouchard
On Fri, 11 Mar 2011, patko wrote: For example if you need 7 bit words values like in MIDI standard, second value would be multiplied by 128 and then added to the first, the third by 16384 and added to the sum of the first and the second, etc ... for demultiplexing a [mod 128] would get the

[PD] Polyphony and granular synthesis, etc.

2011-03-10 Thread Peter Kirn
Hi everyone, I'm revisiting granular patches as I work on some examples for libpd. Any kind of granular synthesis is, of course, heavily dependent on polyphony. That raises the question of how to instantiate multiple copies of the same abstraction. The issue is, many non-external methods of doing

Re: [PD] Polyphony and granular synthesis, etc.

2011-03-10 Thread Phil Stone
Peter, You are correct that [poly] imposes a MIDI-like structure in that it works with note/velocity pairs. I just wanted to point out that it does not clip those tuplets in a MIDI way; i.e., you can pass floats for both note and velocity to your polyphonic instrument. Your general point is

Re: [PD] Polyphony and granular synthesis, etc.

2011-03-10 Thread patko
it's still possible to use multiplexing for passing list of integers, like for RGB values of graphical objects or you can store parameter values in arrays and pass indexes through [poly] - Phil Stone pkst...@ucdavis.edu a écrit : Peter, You are correct that [poly] imposes a MIDI-like

Re: [PD] Polyphony and granular synthesis, etc.

2011-03-10 Thread Hans-Christoph Steiner
If you want to work in the MIDI style, you probably want Frank Barknecht's [polypoly]. Its an abstraction so it should just work on libpd on any platform. And it works quite well. .hc On Mar 10, 2011, at 12:25 PM, Peter Kirn wrote: Hi everyone, I'm revisiting granular patches as I

Re: [PD] Polyphony and granular synthesis, etc.

2011-03-10 Thread Peter Kirn
Thanks, everyone. So, patko, I gather poly alone should work -- I'd just multiplex messages, so long as there are two arguments? Hans, I gather the Rj version u_makepoly is now the newest. It's looking great, though I ran into one hitch - right now, with the abstraction I built it's giving me

Re: [PD] Polyphony and granular synthesis, etc.

2011-03-10 Thread Hans-Christoph Steiner
I don't use the rjdj libs so I wouldn't be the one to ask about them. Frank is the main author tho, so he probably keeps them up to date. .hc On Mar 10, 2011, at 8:57 PM, Peter Kirn wrote: Thanks, everyone. So, patko, I gather poly alone should work -- I'd just multiplex messages, so

Re: [PD] Polyphony and granular synthesis, etc.

2011-03-10 Thread Peter Kirn
On 3/10/11 10:17 PM, Hans-Christoph Steiner wrote: I don't use the rjdj libs so I wouldn't be the one to ask about them. Frank is the main author tho, so he probably keeps them up to date. Never mind; this was my fault - found the glitch.

Re: [PD] Polyphony and granular synthesis, etc.

2011-03-10 Thread patko
Thanks, everyone. So, patko, I gather poly alone should work -- I'd just multiplex messages, so long as there are two arguments? Yes it's possible to pass an huge number to poly object, and then polypoly, that would be the result of multiplexed values. For example if you need 7 bit