Bugs item #3424431, was opened at 2011-10-16 19:27 Message generated for change (Settings changed) made by veplaini You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=564599&aid=3424431&group_id=81968 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: csound Group: csound5 >Status: Closed Resolution: Fixed Priority: 5 Private: No Submitted By: Menno (menno0) Assigned to: Victor Lazzarini (veplaini) Summary: duserrnd or GEN41 Initial Comment: according to the manual on the GEN41 page: it is suggested to give it a percent value, in order to make it clearer for the user. But when i do: f1 0 -20 -41 2 .1 8 .9 (=percent value) i do not get the right result whereas i do : f1 0 -20 -41 2 1 8 9 (=integers) it works ; Select audio/midi flags here according to platform -odac ;;;realtime audio out ;-iadc ;;;uncomment -iadc if RT audio input is needed too ; For Non-realtime ouput leave only the line below: ; -o duserrnd.wav -W ;;; for file output any platform sr = 44100 ksmps = 32 nchnls = 2 0dbfs = 1 instr 1 k1 duserrnd 1 printk 0, k1 asig poscil .5, 220*k1, 2 outs asig, asig endin f1 0 -20 -41 2 1 8 9 f2 0 8192 10 1 i1 0 2 e ---------------------------------------------------------------------- Comment By: Victor Lazzarini (veplaini) Date: 2011-10-16 22:21 Message: Maybe what is meant by percentage here is 20, 30 etc. However, I fixed the code so that fractional numbers can also be used as in your example above (it was only taking integers, now it takes floating-point numbers). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=564599&aid=3424431&group_id=81968 ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net