Skip to content

converting data to a numpy array #120

Open
@gmabey

Description

The docs would be much more useful to me if this introductory sample

with audioread.audio_open(filename) as f:
    print(f.channels, f.samplerate, f.duration)
    for buf in f:
        do_something(buf)

included some notion of how to convert buf to a numpy array. If you have a minute. (and, if that's easy to do)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions