Bugs item #3349333, was opened at 2011-07-02 14:02 Message generated for change (Comment added) made by veplaini You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=564599&aid=3349333&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: Opcodes Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Tarmo Johannes (tarmoj) >Assigned to: Victor Lazzarini (veplaini) Summary: compress does not work wit 0dbfs=1 Initial Comment: If the max 0dbfs is set to 1, compress opcode does not compress the the sound over limit any more. Example code: sr = 44100 ksmps = 10 nchnls = 1 0dbfs = 32767 ;1 instr 1 imaxamp=1.5 * 0dbfs print imaxamp kamp linseg 0, p3/2, imaxamp, p3/2,0 asine oscil kamp,220,1 acomp compress asine,asine, 0,89,89, 100, 0.01, 0.1, 0.05 out acomp endin f 1 0 2048 10 1 0.9 0.8 0.7 i 1 0 5 if 0dbfs is set to 1, the result is: overall amps: 1.49972 overall samples out of range: 9763 if to 32767: overall amps: 31815.2 overall samples out of range: 0 Csound 5.13.0 double precision openSuse Linux 11.3 ---------------------------------------------------------------------- >Comment By: Victor Lazzarini (veplaini) Date: 2011-07-02 17:22 Message: Code assumes 16bit range; fixed now to take signals in any range ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=564599&aid=3349333&group_id=81968 ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net