compressionBitrateToQuality#
- csoundengine.csoundlib.compressionBitrateToQuality(bitrate, format='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, 500format – the encoding format (ogg at the moment)
- Return type:
float