[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-users] Sample synchronous bundle/beats?
- To: sc-users <sc-users@xxxxxxxxxxxxxxxx>
- Subject: [sc-users] Sample synchronous bundle/beats?
- From: Lucas Samaruga <samarugalucas@xxxxxxxxx>
- Date: Thu, 11 Dec 2014 21:37:05 -0300
- 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=xu+ohMdf/RKTSikQYz4HTGic9maKWmRJicT/Jnep1CM=; b=TqHKsJvrRVPKYEWIcIlQCuLiwGQVym4XyQ7aIhhVDugr+b3XwlP0RfawDAhvl4lgVv X8j8RtLaFb8rv6sHK09PViAygaMboDrO0Jyo4ofu3D10fxesB1nDcsarhqAfPbjbi0kV N1pqf2t/kablk/GqYonVykG41ntqGt4QMo1KUkHdYpKhftYjI7cF2FKE1LEg38DERjO2 gBhUphmi+4DVjuzP5FUflIPYoz0RCD65LkMxsx7NzWjPEBzQ1qX8ZGlHtnQH7lQiJegX xF9YGR9CWHACNak2SUmvcBcinGr5OWW81UblLaippK+4aTII0quPjxalRol63+pYtiTw vL8Q==
- List-id: SuperCollider users mailing list <sc-users.create.ucsb.edu>
- Reply-to: sc-users@xxxxxxxxxxxxxxxx
- Sender: owner-sc-users@xxxxxxxxxxxxxxxx
Hi
I want to cancel the phase of two sinusoids but sending messages separately at any time. I did the following test:
t = TempoClock.default;
f = { arg freq = 440, iph = 1; SinOsc.ar(freq, mul: iph) };
t.schedAbs(t.elapsedBeats.roundUp(1), {s.makeBundle(0.5, {x = f.play(args:[freq: 440, iph: 1])})});
t.schedAbs(t.elapsedBeats.roundUp(1), {s.makeBundle(0.5, {y = f.play(args:[freq: 440, iph: -1])})});
x.free;
y.free;
But it does not work, the time varies. Am I doing something wrong? Can it be done?
Best
Lucas