[Cs-dev] Outstanding issue with vrandh
Date | 2007-01-12 02:03 |
From | Andres Cabrera |
Subject | [Cs-dev] Outstanding issue with vrandh |
Hi, I remembered there's still a bug in vrandh, because the random values are not being scaled appropriately. It was discussed with Anthony, that probably the best solution was to use csound's random functions. What's the best way to use random functions on csound opcodes? Does the API provide some functionality for this? Cheers, Andrés ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2007-03-19 14:06 |
From | Andres Cabrera |
Subject | Re: [Cs-dev] Outstanding issue with vrandh |
Hi, I don't remember who reported it, but I've fixed the scaling issue with vrandh and vrandi, and added some new optional arguments. I've also made these opcodes use the 31 bit PRNG from randh. See documentation. Cheers, Andrés Andres Cabrera wrote: > Hi, > I remembered there's still a bug in vrandh, because the random values > are not being scaled appropriately. It was discussed with Anthony, that > probably the best solution was to use csound's random functions. What's > the best way to use random functions on csound opcodes? Does the API > provide some functionality for this? > > Cheers, > Andrés > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2007-03-19 17:13 |
From | jpff |
Subject | Re: [Cs-dev] Outstanding issue with vrandh |
>>>>> "Andres" == Andres Cabrera |
Date | 2007-03-20 03:40 |
From | Andres Cabrera |
Subject | Re: [Cs-dev] Outstanding issue with vrandh |
Hi, I thought about that, but the opcode was broken from the start, and the shorter period algorithm would cause problems if used with long vectors, so I decided to make it default. It will only break compatibility with csoundAV orchestras. Should I add another optional argument to use the old PRNGs? Cheers, Andrés jpff wrote: >>>>>> "Andres" == Andres Cabrera |
Date | 2007-03-20 08:41 |
From | jpff |
Subject | Re: [Cs-dev] Outstanding issue with vrandh |
>>>>> "Andres" == Andres Cabrera |
Date | 2007-03-20 12:19 |
From | Andres Cabrera |
Subject | Re: [Cs-dev] Outstanding issue with vrandh |
Hi John, Yes, I gave it some thought, but if anyone feels this parameter should be added, I'll do it. Cheers, Andres jpff wrote: >>>>>> "Andres" == Andres Cabrera |
Date | 2007-03-20 15:23 |
From | Andres Cabrera |
Subject | Re: [Cs-dev] Outstanding issue with vrandh |
Hi, I meant the implementation in Csound5, not in CsoundAV. Cheers, Andrés Andres Cabrera wrote: >> Andres> I thought about that, but the opcode was broken from the start, and the >> Andres> shorter period algorithm would cause problems if used with long vectors, >> Andres> so I decided to make it default. It will only break compatibility with >> Andres> csoundAV orchestras. Should I add another optional argument to use the >> Andres> old PRNGs? >> ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |