David Grove
March 20th, 2011, 03:44 PM
I'm wondering if there is an audio editing or processing tool that will permit me to so a bit left-shift operation.
I have a wav file that is very low level, and I'd like to left shift the bits 2 or 3 positions. That would avoid any integer-to-float-back-to-integer conversions. Just want to do integer multiplication by some power of 2. The background noise in this live recording makes loss of the extra precision from low order bits irrelevant, and I'd prefer a ligher level signal on the CD.
I don't see how to do this with Audacity, and am thinking probably not possible, because I think Audacity already makes the conversion to float (or maybe double) when the wav file is imported.
Is there any way to do integer multiplication in Audacity? Or some other audio tool?
Or should I just use the Audacity "Amplify" tool and specify 12db of gain, if I want to shift left 2 bits, figuring that the precision in Audacity is sufficient that there won't really be any rounding error for the "round trip" of integer-->float-->floating multiplication arithmetic-->integer?
Thank you for any comments.
Regards,
DG
I have a wav file that is very low level, and I'd like to left shift the bits 2 or 3 positions. That would avoid any integer-to-float-back-to-integer conversions. Just want to do integer multiplication by some power of 2. The background noise in this live recording makes loss of the extra precision from low order bits irrelevant, and I'd prefer a ligher level signal on the CD.
I don't see how to do this with Audacity, and am thinking probably not possible, because I think Audacity already makes the conversion to float (or maybe double) when the wav file is imported.
Is there any way to do integer multiplication in Audacity? Or some other audio tool?
Or should I just use the Audacity "Amplify" tool and specify 12db of gain, if I want to shift left 2 bits, figuring that the precision in Audacity is sufficient that there won't really be any rounding error for the "round trip" of integer-->float-->floating multiplication arithmetic-->integer?
Thank you for any comments.
Regards,
DG