compressionQualityToBitrate#
- csoundengine.csoundlib.compressionQualityToBitrate(quality, fmt='ogg')[source]#
Convert compression quality to bitrate
- Parameters:
quality (
float) – the compression quality (0-1) as passed to –vbr-qualityfmt – the encoding format (ogg at the moment)
- Return type:
int- Returns:
the resulting bit rate
quality
bitrate
0.0
64
0.1
80
0.2
96
0.3
112
0.4
128
0.5
160
0.6
192
0.7
224
0.8
256
0.9
320
1.0
500