[PD-dev] More info about dsp_phase in d_ugen.c

Pierre Guillot guillotpierre6 at gmail.com
Fri Nov 18 13:37:20 CET 2016


Hi Nicolas,
I'm not sure but I think it's the total amount of dsp ticks since the
opening of PD and it's mostly used by the block objects to know when to run
their DSP blocks (something like if dsp_phase%block_size==0 then perform).

2016-11-18 7:55 GMT+01:00 Nicolas Danet <nicolas.danet at free.fr>:

> Hello,
>
> I really have hard time to understand what's the dsp_phase variable
> (d_ugen.c) is supposed to do.
> I obtain always zero or weird values in the prolog / epilog calls.
> Is it related to the one shot tick feature provided by the block object?
> Thanks for clues or links to any information/discussion.
>
> < https://sourceforge.net/p/pure-data/pure-data/ci/master/
> tree/src/d_ugen.c#l101 >
> < https://sourceforge.net/p/pure-data/pure-data/ci/master/
> tree/src/g_io.c#l518 >
>
> _______________________________________________
> Pd-dev mailing list
> Pd-dev at lists.iem.at
> https://lists.puredata.info/listinfo/pd-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20161118/9a92b8b5/attachment.html>


More information about the Pd-dev mailing list