You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wenn I try to run the script "examples/split_audio_on_tone.py" with the wav-data attached in the folder "files" I get this error:
Traceback (most recent call last):
File "/Users/tamaki/Desktop/pyAcoustics/examples/split_audio_on_tone.py", line 72, in <module>
audiosplitOnTone(_dataPath, _fn, _pitchPath, _tgPath, _wavOutputPath,
File "/Users/tamaki/Desktop/pyAcoustics/examples/split_audio_on_tone.py", line 52, in audiosplitOnTone
split_on_tone.extractSubwavs(timeDict, inputPath, fn, subwavPath)
File "/Users/tamaki/miniconda3/envs/Praktikum/lib/python3.9/site-packages/pyacoustics/speech_detection/split_on_tone.py", line 83, in extractSubwavs
audio_scripts.extractSubwav(join(path, fn),
File "/Users/tamaki/miniconda3/envs/Praktikum/lib/python3.9/site-packages/pyacoustics/signals/audio_scripts.py", line 231, in extractSubwav
audioFrames = getSubwav(fn, startT, endT, singleChannelFlag)
File "/Users/tamaki/miniconda3/envs/Praktikum/lib/python3.9/site-packages/pyacoustics/signals/audio_scripts.py", line 210, in getSubwav
audiofile.setpos(int(framerate * startT))
File "/Users/tamaki/miniconda3/envs/Praktikum/lib/python3.9/wave.py", line 229, in setpos
raise Error('position not in range')
wave.Error: position not in range
What am I doing wrong?
I am on macOS Catalina 10.15.7 and using python 3.9.0. I also tried it with other versions and It didn't work.
Thank you in advance for your answer.
The text was updated successfully, but these errors were encountered:
Wenn I try to run the script "examples/split_audio_on_tone.py" with the wav-data attached in the folder "files" I get this error:
What am I doing wrong?
I am on macOS Catalina 10.15.7 and using python 3.9.0. I also tried it with other versions and It didn't work.
Thank you in advance for your answer.
The text was updated successfully, but these errors were encountered: