[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] Sample synchronous bundle/beats?
Am 13.12.2014 um 00:40 schrieb Daniel Mayer <daniel-mayer@xxxxxxxx>:
>
> Am 12.12.2014 um 19:27 schrieb Stephan Wittwer <stephan.wittwer@xxxxxxxxx>:
>
>> Maybe I don't understand the problem or the formulation ("separately at any time") ?
>
> Because ideally, at every full second we have a multiple of the period length,
> so a separate entry with opposite phase would, again ideally, annul the first signal.
> This doesn't work here either, not even nearby.
>
Checking now with prepared Synthdef.
EnvGate invents a fadeTime of 0.02 sec.
(
SynthDef(\test, { |freq = 440, iph = 1|
OffsetOut.ar(1, SinOsc.ar(freq, mul: iph * 0.5) * EnvGate())
}).add;
p = Pbind(\instrument, \test, \freq, 440, \dur, inf);
q = Pbind(\instrument, \test, \freq, 440, \dur, inf, \iph, -1);
)
// try several times, sometimes annulling after 5 seconds, sometimes not
// (tested on osx, core audio, hardware buffer size 512)
Ptpar([0, p, 5, q]).play
I think this is much the same phenomenon as in the RT case here
> http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/sample-accuracy-with-lang-timing-was-Various-timing-issues-td7615278.html
After some seconds within which scheduling is sample-exact
there are jumps, means time is not exactly transformed into samples
according to sample rate.
If the 5 seconds above fall into such sample-exact window, the signals annul each other.
Greetings
Daniel
-----------------------------
www.daniel-mayer.at
-----------------------------
_______________________________________________
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/