Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It plays directly. It is possible to capture the audio data directly with a little hacking. For instance, something like

    with open("data.dat", "ab") as f:
        f.write(frame.planes[0].to_bytes())
in Audio's process() does indeed dump out the captured data to something that can be replayed.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: