| Hi Gleb,
onedsr is equal to 1/sr. You should be able to calculate it in your
init function using:
MYFTL my_onedsr = 1 / csound->GetSr(csound);
steven
On Tue, Jul 1, 2014 at 3:57 PM, Gleb wrote:
> Hello dear developers!
>
> I am developing some kind of oscillator opcode and I took poscil as an
> example. It has csound->onedsr ,
> p->tablenUPsr = p->tablen * csound->onedsr
> which is defined in csoundCore.h, not in csdl.h, but I would like to build
> a plugin, so my questions are
>
> what is that csound->onedsr
> and
> what should I write instead.
>
> Thank you!
>
>
>
>
> -----
> Gleb Rogozinsky, PhD
> Associated Professor
> Interactive Arts Department
> Saint-Petersburg University of Film and Television
>
> Deputy Director of Medialab
> Saint-Petersburg University of Telecommunications
> --
> View this message in context: http://csound.1045644.n5.nabble.com/csound-onedsr-tp5736098.html
> Sent from the Csound - Dev mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |