|
From: Klaus S. <kls...@go...> - 2010-04-15 10:05:51
|
On Thu, Apr 15, 2010 at 10:51 AM, Pavel Hofman <pav...@iv...>wrote: > Klaus Schulz napsal(a): > > > > vol also works in db. Have a look at the man pages. > > Yes, but you have to explicitly give the type of the value, i.e. "db". > Please read the man page carefully. > > Does this mean vol > > will change phase on linear and it won't on db according to your above > > logic. > > Linear notation can provide negative numbers for volume calculation, > leading to phase change. Decibel notation cannot, negative decibels > stand for attenuation. > > It depends. You could change that linear phase shift behavior in vol if you disregard the sign for the multiplication and convert +10% to 1,1 and -10% to 0,9 This way you'd end up as done when calculating db with no phase shift. There wouldn't be an inconsistency any longer and no accidental phase shift would occor. > > > > Then the man page needs to be updated. It is pretty confusing. It took > > me a while to realize this behavior at all. > > > > Your patch will be certainly welcome if appropriate. > > Regards, > > Pavel. > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Sox-users mailing list > Sox...@li... > https://lists.sourceforge.net/lists/listinfo/sox-users > |