[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] Drum patterns with patterns?
- To: sc-users@xxxxxxxxxxxxxxxx
- Subject: Re: [sc-users] Drum patterns with patterns?
- From: Dan Stowell <danstowell@xxxxxxxxx>
- Date: Fri, 24 Jul 2009 07:26:23 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=LSQXN2oe2NX2UPGpp170T4mcK2vFuaZSl8LdFL+7+0Y=; b=vP1iflUgfPdNkXYCslZETkMNR2ylddadNauwfzczT/xSF7KoXJT/KbA1hpXzV+Bo2A j+D1PO8km5AsJLemqAc9zlv//4WmN/jHz/xxY3IXP6MEHjAjHTTCTOwbgKNjWWS1jyQ7 4+xYXex6UTDvf/LTdfp3WKuDMnaCbVHvw5iA0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=BrYiIrYdjf7Tllrua/cSThOLdIHwgqyToUyu0f8dn/kScFdj4IQbrfryWIPHGzqd9+ I107AwJGE2a7WxpKVADg4aNHgyQK1TmK1ILB+0Ie+R8fInr9B1kV7qoV6+kqxD0ZWHph 3g5qd+8dSRXFBQ/PYm4HS67KW93MhrVB09DzA=
- In-reply-to: <de6c367c0907231226k1ec86550uc4f672fdd035f4a5@xxxxxxxxxxxxxx>
- List-id: SuperCollider users mailing list <sc-users.create.ucsb.edu>
- References: <de6c367c0907231226k1ec86550uc4f672fdd035f4a5@xxxxxxxxxxxxxx>
- Reply-to: sc-users@xxxxxxxxxxxxxxxx
- Sender: owner-sc-users@xxxxxxxxxxxxxxxx
One approach: Sometimes I have a single long-running synth for a
percussion instrument (as opposed to one synth per event), with a
t_trig input. Then you can trigger it with things like
Pbind(
...
\trig, Pseq([0,0,0,0,1,0,0,0.5, 0,0.5,0,0,1,0,0,0], inf),
...
)
Here the triggers are maybe being used for velocity as well as
triggering of a snare.
Dan
2009/7/23, Nathaniel Virgo <nathanielvirgo@xxxxxxxxx>:
> Hi,
>
> I was wondering if anyone has any hints for programming drum patterns in
> SuperCollider? I'm particularly interested in Pattern-based methods.
>
> The reason I tend to find it tricky is that with Patterns you have to enter
> the duration of each note in a sequence rather than the beat on which the
> note occurs. This means that if you want, for example, a snare pattern that
> has hits on beats 2 and 4 of a bar, you either have to enter a note on beat
> 1 that has a freq of \rest, or else you have to use Plag to offset the snare
> pattern. Neither of these is very convenient and both tend to mean that
> it's quite hard to read what the code is doing.
>
> Ideally what I want is a way to enter patterns where you enter the time of
> each note instead of its duration. So for a basic snare pattern you'd enter
> something like
>
> PTimeBind(
> \instrument, \snare,
> \time, Pseq([1,3])
> )
>
> Times 1 and 3 correspond to beats 2 and 4 since time starts at 0 instead of
> 1. This would create a single bar that can be triggered repeatedly using
> Pspawn(er).
>
> Is there a way of doing this that I've missed?
>
> Nathaniel
>
>
>
--
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/