Skip to content

IndexError: tuple index out of range #156

Closed
@ghost

Description

I always get the error IndexError: tuple index out of range when trying to write. I cannot even run the example on the documentation. Do you know why it always skips the check 414 if data.ndim == 1: and fails at 417 channels = data.shape[1]

import soundfile as sf
data, samplerate = sf.read('piano.wav') # mono signal 
sf.write(data, 'new_file.ogg', samplerate=samplerate)

I tried on Ubuntu 14.04 and OSX 10.11

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