compressionBitrateToQuality#
- csoundengine.csoundlib.compressionBitrateToQuality(bitrate, fmt='ogg')[source]#
Convert a bitrate to a compression quality between 0-1, as passed to –vbr-quality
- Parameters:
bitrate (
int) – the bitrate in kb/s, oneof 64, 80, 96, 128, 160, 192, 224, 256, 320, 500fmt – the encoding format (ogg at the moment)
- Return type:
float