Csound Csound-dev Csound-tekno Search About

[Cs-dev] Documentation?

Date2013-11-26 15:21
Fromjohn 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

Date2013-11-26 15:43
FromMichael Gogins
SubjectRe: [Cs-dev] Documentation?
AttachmentsNone  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 Gogins
Irreducible 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
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
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2013-11-26 15:56
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] Documentation?
AttachmentsNone  

Date2013-11-26 16:01
FromMichael Gogins
SubjectRe: [Cs-dev] Documentation?
AttachmentsNone  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 Gogins
Irreducible 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
doubt anyone would have problems with more accurate code.  It looks
sufficiently light not  to have performance concerns.

I just noticed the code but I may have lost any mail about it -- I am
way behind again with a weekend away and then a cold

==John ff

Quoting Michael Gogins <michael.gogins@gmail.com>:

> 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



------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel