[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] SF.net SVN: supercollider:[8135] trunk/Source/plugins/FilterUGens.cpp



Thanks Josh.

This line not needed:
>  +       int tmp = unit->mRate->mFilterLoops;

2008/12/15, joshpar@xxxxxxxxxxxxxxxxxxxxx <joshpar@xxxxxxxxxxxxxxxxxxxxx>:
> Revision: 8135
>           http://supercollider.svn.sourceforge.net/supercollider/?rev=8135&view=rev
>  Author:   joshpar
>  Date:     2008-12-15 07:55:49 +0000 (Mon, 15 Dec 2008)
>
>  Log Message:
>  -----------
>  add Dans macros, fix Ringz
>
>  Modified Paths:
>  --------------
>     trunk/Source/plugins/FilterUGens.cpp
>
>  Modified: trunk/Source/plugins/FilterUGens.cpp
>  ===================================================================
>  --- trunk/Source/plugins/FilterUGens.cpp        2008-12-15 07:55:17 UTC (rev 8134)
>  +++ trunk/Source/plugins/FilterUGens.cpp        2008-12-15 07:55:49 UTC (rev 8135)
>  @@ -23,6 +23,16 @@
>
>   #define PI 3.1415926535898f
>
>  +#define PUSH_LOOPVALS \
>  +int tmp_floops = unit->mRate->mFilterLoops; \
>  +int tmp_fremain = unit->mRate->mFilterRemain; \
>  +unit->mRate->mFilterLoops = 0; \
>  +unit->mRate->mFilterRemain = 1;
>  +
>  +#define POP_LOOPVALS \
>  +unit->mRate->mFilterLoops = tmp_floops; \
>  +unit->mRate->mFilterRemain = tmp_fremain;
>  +
>   static InterfaceTable *ft;
>
>   struct Ramp : public Unit
>  @@ -3165,7 +3175,10 @@
>         unit->m_y2 = 0.f;
>         unit->m_freq = 0.f;
>         unit->m_decayTime = 0.f;
>  +       int tmp = unit->mRate->mFilterLoops;
>  +       PUSH_LOOPVALS
>         Ringz_next(unit, 1);
>  +       POP_LOOPVALS
>   }
>
>
>
>
>  This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
>
>  _______________________________________________
>  sc-dev mailing list
>
>  info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
>  archive: https://listarc.bham.ac.uk/marchives/sc-dev/
>  search: https://listarc.bham.ac.uk/lists/sc-dev/search/
>


-- 
http://www.mcld.co.uk

_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/