• easy_fly

    import sound
    import dialogs
    
    recorder = sound.Recorder('speech.m4a')
    #recorder.record()
    
    dialogs.alert('Recording...', '',   'Finish', hide_cancel_button=True)
    
    #recorder.stop()
    
    p=sound.Player('speech.m4a')
    p.play()
    
    
    

    When I comment that record code, the sound came out from the speaker.

    but when i use the record code,the player sound come from the headphone.

    how can i record sound and replay it in speaker at once?

    thx

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!