Hey everyone, I'm new to the world of audio, so can you please drop some very basic audio knowledge on me? What's the correct way to convert from float audio samples to integer ones like FLAC uses? If I'm converting to 8-bit, that has a range of -128 to 127, right? Do I multiply my float input by 127 or 128? Brendan
On 19-07-13 17:57, Brendan Bolles wrote:> If I'm converting to 8-bit, that has a range of -128 to 127, right? Do I multiply my float input by 127 or 128?Depends on what you want to do, the range of values used in the float input etc. You have to take care of dithering too. I'd use a tool like SoX because there are some very knowledgable people who thought it over. If you want to learn how, what or why, this list is definitely not the right place. Try hydrogenaudio.org, there might be a few people there able to answer your question.
On Jul 19, 2013, at 11:58 AM, Martijn van Beurden wrote:> Depends on what you want to do, the range of values used in the float > input etc. You have to take care of dithering too. I'd use a tool like > SoX because there are some very knowledgable people who thought it over. > > If you want to learn how, what or why, this list is definitely not the > right place. Try hydrogenaudio.org, there might be a few people there > able to answer your question.Thanks for the info. I have posted my question here: http://www.hydrogenaudio.org/forums/index.php?showtopic=100148&st=0&p=839849&#entry839849 Brendan