Author Topic: Less that 8 bit depth file export option?  (Read 180 times)

Offline 8bit_coder

  • Shy artist
  • Posts: 1
  • Operating System: Windows 8.1 x64
Less that 8 bit depth file export option?
« on: November 10, 2017, 22:07:03 »
After opening up a MOD file to export, I chose the lossless export option. The bit depth of export can go from 32 bit down to 8 bit. But what happens if I want to export a file in a bit depth lower than 8? It's for an experiment, and I would like to try 6, 4, 2, and 1 bit depth. If anyone can help out, thanks.

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 6,320
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 7 x64
Re: Less that 8 bit depth file export option?
« Reply #1 on: November 10, 2017, 23:02:54 »
There is no way to specify such a bit depth in most streaming audio formats. You can specify almost any bit depth you want in the WAV format, but it will still be padded to multiples of 8 bit, e.g. if you were to specify a bit depth of 4 bit, it's really just an 8-bit file with the lower 4 bits set to 0 (or being ignored). If it's just about wanting to know what the result would sound like, you can amplify the volume of the exported sample by 50% for each bit that you want to remove, e.g. amplify by 50% for 8 bit to 7 bit conversion, and then another 50% for 7 bit to 6 bit conversion, etc... and then of course normalize it again afterwards to hear the result at full volume.
« Last Edit: November 11, 2017, 19:26:00 by Saga Musix »
ยป No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.