Hey, thank you so much for your reply! 

For some reason the patch(es) does not work at this point because I don't have the objects range & arraysize. I assumed that you're using Pd-Extended, which made me realize I might have another problem... I still don't have the objects, and this is what it says in the log: 

[import] $Revision: 1.2 $
[import] is still in development, the interface could change!
compiled against Pd version 0.41.4

instead of all the loading of externals on start. Is it difficult to make the same patch in Pd vanilla? I mainly work in Pd vanilla, and I think I should stick with it and try to figure out what's wrong with my Pd-extended later...

Well, anyway, I tried to decipher your code, feel free to correct me if I'm wrong. I see your way of starting & controlling sequence, which is very clever and nice. I don't know what [range] does.It seems that [makefilename] simply turns the number/symbols into symbols for use of a series of filenames, and I see that the abstractions are receiving bangs as the filenames are made and sent, also very nice, but I don't understand the why the [sel 1] as there's error: inlet: expected '' but got 'bang'. I get a feeling that [arraysize sample] should just tell me what is the arraysize (or sample number) for the array "sample", but the expr tells me that it's probably a variable number. 

Much thanks again! I'll just keep trying... 
- Joey


On Sun, Jun 6, 2010 at 1:58 PM, Andrew Faraday <jbturgid@hotmail.com> wrote:
Hey there

You've got me thinking... and I've come up with this patch (attached) to do something similar. Hope it helps.

Please note, you need the file abstrac.pd for this to work.

Andrew


From: jbturgid@hotmail.com
To: joeyma@gmail.com; pd-list@iem.at
Date: Sun, 6 Jun 2010 09:36:53 +0100
Subject: Re: [PD] Recreating sampled sound with variations


Firstly, I'd use an abstraction, see if you can give it arguments to control playback speed. (either relative into a [phasor~], with a timed pitch envelope or absolute via a list), and either a global sent telling all of this abstraction to start or some form of random distribution at high speed triggering a clap each time. 

Remember: 
most sends (such as [s foobar]) will be received by any open patch.
$0 sends (say [s $0-foobar]) will only work within a single abstraction, this helps if you have multiple examples of the same abstraction open and wish to use sends inside them. 

As for someone having done it before... They probably have, but it's always more satisfying to make your own patch, also it usually turns out unique to you. That's one of the great things about PD, sound and vision of your very own.

Andrew


Date: Sat, 5 Jun 2010 22:24:11 -0700
From: joeyma@gmail.com
To: pd-list@iem.at
Subject: [PD] Recreating sampled sound with variations

I would like to use a number box, or a similar control, to control the number of playback. For example, I would like to increase the number of times that a sample is being played, with separate control over the sampled sound, such as to produce a crowd of applause with a single sampled clapping sound. 

I've thought about objects such as route~, sel~, send & receive, qlist, using sub-patches or abstractions, but I still can't quite figure out the signal flow and a nice way to create a patch that reaches my objective. I understand that I want some control over the pitch, "playback speed" or chunk size, but I'm quite lost as to how I can lay down the foundation (elements) of the patch and a way to control this type of multi-voice situation. 

I also have a feeling someone must have done it already... but I can't seem to find it! Any help is much appreciated.


Get a free e-mail account with Hotmail. Sign-up now.


Get a new e-mail account with Hotmail - Free. Sign-up now.