[L2Ork-dev] dsp chain indeterminism

Matt Barber brbrofsvl at gmail.com
Mon Jun 25 15:52:46 EDT 2018


Only good way to do this is to reset phase when the dsp graph changes.
[cyclone/cycle~] does this, in fact:

static void cycle_dsp(t_cycle *x, t_signal **sp)
  cycle_gettable(x);
    x->x_conv = 1.0 / sp[0]->s_sr;
    cycle_phase_reset(x); // <------------------------------RESET PHASE
    dsp_add(cycle_perform, 5, x, sp[0]->s_n,
    sp[0]->s_vec, sp[1]->s_vec, sp[2]->s_vec);
}

On Mon, Jun 25, 2018 at 3:40 PM Jonathan Wilkes <jon.w.wilkes at gmail.com>
wrote:

> Hi list,
>
> Check out the following patch (attached):
>
> 1. Click [bang(. You'll get a block of ones.
>
> 2. Disconnect the output of [sig~ 0] from the input of [osc~ 440].
>
> 3. Click the [bang( again. You'll get output based on the floatarg 440.
>
> 4. Now re-connect [sig~ 0] to [osc~ 440]. You'll get indeterministic
> output.
>
> Is there any workaround to make the output deterministic in this case?
>
> -Jonathan
> _______________________________________________
> L2Ork-dev mailing list
> L2Ork-dev at disis.music.vt.edu
> https://disis.music.vt.edu/listinfo/l2ork-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://disis.music.vt.edu/pipermail/l2ork-dev/attachments/20180625/72181909/attachment.html>


More information about the L2Ork-dev mailing list