[PyQt] [Solved]: QAudioRecorder settings not correct in recorded .wav file, (Colin McPhail)

Colin McPhail colin.mcphail at mac.com
Fri Apr 27 15:01:08 BST 2018


On 27 Apr 2018, at 14:32, Alex Tu <axelfowlie at googlemail.com> wrote:

>> What happens if you add      settings.setEncodingMode(QMultimedia.ConstantBitRateEncoding)
>> to your setup?
>> 
>> — Colin
> 
> Hey Colin,
> yes, that did the trick! The EncodingMode was set to ConstantQuality which is why
> I had to remove the QMediaRecorder.VeryHighQuality, which ended in a 96kHz frequency.
> 
> Thanks a lot :)
> 
> Best wishes
> Alex
> 
Well it was just a guess but I’m glad it worked.


More information about the PyQt mailing list