[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-users] Strange behavior of event type 'phrase'?
- To: "sc-users@xxxxxxxxxxxxxxxx" <sc-users@xxxxxxxxxxxxxxxx>
- Subject: [sc-users] Strange behavior of event type 'phrase'?
- From: tasos tsesmetzis <ttsesmetzis@xxxxxxxxx>
- Date: Sat, 28 Dec 2013 01:16:16 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=TG2Q7Fwk/CBd/9WG8IUhgfTE95zpoDJqU59FzfIYXXo=; b=WoF+d1VSODSlUKta2QDh4ktnVh1+L/vecBeCwyeLfs3VNmJIPrFWLNT9YtttgBz1Fr 0LQsQga7UVRPbUuf+akkAYaOsSYLw/AiUvBKW++OIsuZzKHIkIk6+QpuCQ00Y4HGwAbA QPMJsst0n+BygpjT5dr7OynRGU8HMUc6wRi1FsuCtGNE5SRB78wUk3W+6NWTDhCqN0lA a3BQfxM9/N1pa+CBnpmwimSbQEEAbB+XedQHUmalqqmdCKk6HtHOj3r4DwpVBhkN9vAI 6WS0LQMVuEfyDUWjGfn4VulXfoozBS4pxfDqKC/nMHyCUjC1ZDmlAqxLaBfXRnLluOvM UAqg==
- List-id: SuperCollider users mailing list <sc-users.create.ucsb.edu>
- Reply-to: sc-users@xxxxxxxxxxxxxxxx
- Sender: owner-sc-users@xxxxxxxxxxxxxxxx
Hello,
I tried to play a Pdef through an Event by using the event type 'phrase'.
However, the frequencies from Pdef's pattern doesn't seem to embed in the Event.
An example:
(
Pdef(\x,
Pbind(
\freq, Pseq( [ 400, 300, 600 ] ),
\dur, Pseq( [0.1, 0.2, 0.3]),
\amp, 0.4
)
)
)
// This gives the expected phrase,
Pdef(\x).play;
// while this gives three successive middle C,
// with durations 0.1, 0.2 and 0.3
( instrument: \x, type: \phrase ).play;
// the same dur sequence, but on a 500Hz freq
( instrument: \x, type: \phrase, freq: 500 ).play;
Any ideas? Am I missing something?
Thanks