[Cs-dev] Documentation?
Date | 2013-11-26 15:21 |
From | john ffitch |
Subject | [Cs-dev] Documentation? |
I noticed a new opcode cpsmidiin2 with no corresponding manual entry. What does it do? ==John ffitch ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2013-11-26 15:43 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Documentation? |
Attachments | None None |
It does what the comment in the code says it does. It is more precise than cpsmidinn, and I would be surprised if it were significantly slower. I introduced this opcode because I found that the cpsmidinn opcode was computing results with what, to me, seemed insufficient precision. It is fine with me to replace the existing implementation (table lookup) with the new one (log and pow) in the existing opcodes, or to introduce new implementations and keep the old ones. But I need the precision. Which approach would you prefer?
Best, Mike -----------------------------------------------------
Michael GoginsIrreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Tue, Nov 26, 2013 at 10:21 AM, john ffitch <jpff@codemist.co.uk> wrote: I noticed a new opcode cpsmidiin2 with no corresponding manual |
Date | 2013-11-26 15:56 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Cs-dev] Documentation? |
Attachments | None |
Date | 2013-11-26 16:01 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Documentation? |
Attachments | None None |
That sounds good to me. I will remove the new implementation, and replace the lookup tables in the existing implementation with the correct math functions.
Best, Mike ----------------------------------------------------- Michael GoginsIrreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Tue, Nov 26, 2013 at 10:56 AM, <jpff@cs.bath.ac.uk> wrote: I would prefer just replacing the old code in a case like this. I |