[Cs-dev] list of pow-two / integer indexing opcodes
Date | 2012-01-20 19:07 |
From | Victor Lazzarini |
Subject | [Cs-dev] list of pow-two / integer indexing opcodes |
John, this is a list I compiled by looking which opcodes depended on ftp->lenmask and/or ftp->lobits. I have not examine their code in detail, but my understanding is that if the index is wrapped around using lobits, then the table needs to be power of two, am I correct? envlpx envlpxr oscil oscili oscil3 oscil1 oscili1 foscil foscili loscil loscil3 (these don't depend on pow2 but maths could be simplified with floating point). table tablei table3 buzz gbuzz tablew vco fof fog fof2 grain partikkel specscal specfilt atsadd atscross pitch oscbank grain2 grain3 oscilikt osciliktp oscilitkts vco2 ========= Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2012-01-20 19:09 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] list of pow-two / integer indexing opcodes |
Also given the number of opcodes and the possibility of us getting it wrong, I think we might consider postponing the change for after 5.16. It would be advisable to have a release that is concentrated in getting one thing right, the parser. Victor On 20 Jan 2012, at 19:07, Victor Lazzarini wrote: > John, > > this is a list I compiled by looking which opcodes depended on ftp->lenmask and/or ftp->lobits. I have not examine their code in detail, > but my understanding is that if the index is wrapped around using lobits, then the table needs to be power of two, am I correct? > > envlpx > envlpxr > > oscil > oscili > oscil3 > > oscil1 > oscili1 > > foscil > foscili > > loscil > loscil3 (these don't depend on pow2 but maths could be simplified with > floating point). > > table > tablei > table3 > > buzz > gbuzz > > tablew > > vco > > fof > fog > fof2 > > grain > > partikkel > > specscal > specfilt > atsadd > atscross > > pitch > > oscbank > > grain2 > grain3 > oscilikt > osciliktp > oscilitkts > vco2 > > ========= > > > > Dr Victor Lazzarini > Senior Lecturer > Dept. of Music > NUI Maynooth Ireland > tel.: +353 1 708 3545 > Victor dot Lazzarini AT nuim dot ie > > > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2012-01-20 19:09 |
From | "Dr. Richard Boulanger" |
Subject | Re: [Cs-dev] list of pow-two / integer indexing opcodes |
Attachments | None None |
maybe for 5.17 - a goal for that release? ___________________________________ Dr. Richard Boulanger, Ph.D. Professor of Electronic Production and Design Professional Writing and Music Technology Division Berklee College of Music 1140 Boylston Street Boston, MA 02215-3693 617-747-2485 (office) 774-488-9166 (cell) ____________________________________ ____________________________________ ____________________________________ On Jan 20, 2012, at 2:09 PM, Victor Lazzarini wrote:
|
Date | 2012-01-22 13:56 |
From | john ffitch |
Subject | Re: [Cs-dev] list of pow-two / integer indexing opcodes |
Victor Thanks for the list of power-of-2 opcodes. Perhaps a sane way forward now is to implement non-power-of-2 versions of all these as we have time. I have "completed" poscil3.xx opcodes, which finishes oscili and oscil3 families (whatever the relative costs). Only problems are to ensure we do not step on each other, and energy! Suggest we use pfoscil, ploscil etc as markers for these new opcodes. ==John ffitch ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2012-01-22 14:06 |
From | joachim heintz |
Subject | Re: [Cs-dev] list of pow-two / integer indexing opcodes |
sorry for getting in - if these new oscillators are meant to become the new standard (i think they will), i'd strongly recommend a short name. what about osc osci osc3 ? joachim Am 22.01.2012 14:56, schrieb john ffitch: > Victor > Thanks for the list of power-of-2 opcodes. Perhaps a sane way > forward now is to implement non-power-of-2 versions of all these as > we have time. I have "completed" poscil3.xx opcodes, which finishes > oscili and oscil3 families (whatever the relative costs). Only > problems are to ensure we do not step on each other, and energy! > Suggest we use pfoscil, ploscil etc as markers for these new opcodes. > ==John ffitch > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |