[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] pattern: changing array while looping
- To: sc-users@xxxxxxxxxxxxxxxx
- Subject: Re: [sc-users] pattern: changing array while looping
- From: Dan Stowell <danstowell+sc3@xxxxxxxxx>
- Date: Wed, 22 Sep 2010 18:53:02 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=Sk6HCYq5UVXCLrKsin3CAFwmkZ+RgfFRb9wkaf3olXw=; b=sTraEj2Eq7pbd/O/6x8GgvHQtw/Ep+zau1BZ615ovTEJkJduTgcXuzsjImsNDO/QhV bVT7KXGvv1cpleyqSJy4hqp9pAHUhrZ5VfuQnkgG2kNsOBELXBMeRRKvxL+zIs3Hg4v9 Qy/kTROa3GNTX8dbnkC1n8+9zZ7ud4fZMQS5M=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=JYHMYsZLRaVYxCIpt4Du3Kxc4ScUlbyv+JxnnClmx2rMfpNYXFUMXjj0nemV3XSKzS llrvmKldmm/8/Oi4D+6ddVvyQSYlLBxN/bkIwiPPUXrb7OC+k4BrpbpEyLOgEP+8/kpU XxCnCZMhlZG3Vzdjux3HyW6u77IFJ3MnHMvVk=
- In-reply-to: <3225423E-7EBB-46B2-930F-49B0505F1EFD@xxxxxxxxxxx>
- List-id: SuperCollider users mailing list <sc-users.create.ucsb.edu>
- References: <3225423E-7EBB-46B2-930F-49B0505F1EFD@xxxxxxxxxxx>
- Reply-to: sc-users@xxxxxxxxxxxxxxxx
- Sender: owner-sc-users@xxxxxxxxxxxxxxxx
Are you thinking of the situation which can be handled by using a List?
a = List[54,56,58];
p = Pbind(\midinote, Pseq(a, inf)).play; // untested
a[1] = 60;
Dan
2010/9/22 Andrea Valle <valle@xxxxxxxxxxx>:
> Hi,
> I'm sorry.
> I guess it is already been asked, anyway, can't find it.
> I'd like to reproduce the so typical situation wheren you have a sequencer
> playing (just imagine a grid), and you simply activate/deactivate events on
> the grid.
> Playback keeps smoothly going on. The event you are inserting will be played
> back the first time it will be reached by the tape head, so to say.
> Now, I know how to change the stream of a Pbind.
> But when I replace it (AFAIK) it starts from the beginning (am I right?).
> I think I can do it with a task etc but I wa curious to know what's the
> easier way with patternism...
> Thanks
> Best
> -a-
>
> --------------------------------------------------
> Andrea Valle
> --------------------------------------------------
> CIRMA - DAMS
> Università degli Studi di Torino
> --> http://www.cirma.unito.it/andrea/
> --> http://www.myspace.com/andreavalle
> --> http://www.flickr.com/photos/vanderaalle/
> --> http://www.youtube.com/user/vanderaalle
> --> andrea.valle@xxxxxxxx
> --------------------------------------------------
> " This is a very complicated case, Maude. You know, a lotta ins, a lotta
> outs, a lotta what-have-yous."
> (Jeffrey 'The Dude' Lebowski)
>
>
>
--
http://www.mcld.co.uk
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/