Skip to content

Error loading wav #7

@drone1

Description

@drone1

Hi Paul,

I'm trying to run this on MacOS High Sierra 10.13.6. Python 2.7.10.

I've tried a variety of wav files from sample packs and so forth as a test, and have gotten nothing but "Error loading wav..."; I added a bit of code to get more information. Seems I get a ValueError exception, which contains the following: "string size must be a multiple of element size"

It is triggered from this line:

wavedata=scipy.io.wavfile.read(filename)

I can dig further but was hoping you might just have an idea of what might be wrong here.

All I did was clone, copy a wav to the working directory as a.wav, then run:

./paulstretch_stereo.py a.wav b.wav

Full output:

Paul's Extreme Sound Stretch (Paulstretch) - Python version 20141220
by Nasca Octavian PAUL, Targu Mures, Romania

stretch amount = 8
window size = 0.25 seconds
Error loading wav: a.wav
Traceback (most recent call last):
  File "./paulstretch_stereo.py", line 149, in <module>
    (samplerate,smp)=load_wav(args[0])
TypeError: 'NoneType' object is not iterable

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