Open genedodd opened 8 months ago
It makes sense that recorder.record would reduce speaker volume while recording but on the iPhone11, it seems to not restore normal volume.
I won't be using the sound.recorder method going forward so I don't need this resolved.
I hit the same issue; iOS 17.4.1 (21E236) on iPhone 15 Pro.
On iPhone 11 using IOS 17.3.1 (no problem on iPad Air 3rd gen same os) using sound.recorder causes speech.say volume to decrease.
import speech import sound
speech.say('before record') record_time = 3 recorder = sound.Recorder('speech.m4a') x = input('"y" to record') if x == 'y': recorder.record(record_time) speech.say('after record')
As long as "recorder.record(record_time)" is not executed, the speech.say volume is controlled by system volume control but once it is executed, any pythonista sounds are very low. Sounds from other IOS apps are not affected. Closing and starting pythonista is required to restore regular volume for pythonista scripts.