Csound Csound-dev Csound-tekno Search About

[Cs-dev] csound->onedsr

Date2014-07-01 20:57
FromGleb
Subject[Cs-dev] csound->onedsr
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

Date2014-07-01 21:00
FromSteven Yi
SubjectRe: [Cs-dev] csound->onedsr
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

Date2014-07-01 21:14
FromVictor Lazzarini
SubjectRe: [Cs-dev] csound->onedsr
1.0/sr

========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie




On 1 Jul 2014, at 20:57, 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

Date2014-07-01 21:15
FromGleb
SubjectRe: [Cs-dev] csound->onedsr
Thank you, Steven!



-----
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-tp5736098p5736102.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