Skip to content

πŸŽ› πŸ”Š A Python library for audio.

291 B
Raw Blame
# This file is not intended to be executed - it's intended to be used to ensure MyPy compatibility!

from pedalboard.io import AudioFile

with AudioFile(b"some_binary_string") as f:
    f.read(f.frames)

with open("some_path", "r") as f:
    with AudioFile(f) as r:
        r.read(r.frames)