Skip to content

Why use scipy.io.wave rather than stdlib wave? #3

Description

@Russell-Jones

Rather than
self.wav = scipy.io.wavfile.read(self.wavPath)
why not
self.wav = wave.open(self.wavPath, 'rb').readframes()
?

It's available in Python 2.6+ https://docs.python.org/2.6/library/wave.html
Is it to avoid type conversion complexities in 2.x?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions