spotify / basic-pitch

A lightweight yet powerful audio-to-MIDI converter with pitch bend detection
https://basicpitch.io
Apache License 2.0
3.48k stars 274 forks source link

[Bug] AttributeError: module 'scipy.signal' has no attribute 'gaussian' #120

Closed Davilarek closed 7 months ago

Davilarek commented 7 months ago

Describe the bug Fresh install of basic-pitch inside a venv throws error on any sound file provided. Error message: AttributeError: module 'scipy.signal' has no attribute 'gaussian'

To Reproduce Steps to reproduce the behavior:

  1. Make a venv and get into it
  2. Install basic-pitch
  3. Execute basic-pitch <output dir> <input file>
  4. Wait some seconds
  5. See error

Expected behavior For basic pitch to work

Desktop (please complete the following information):

Additional context Here's log:

log.txt

TeeJayBaker commented 7 months ago

Downgrading scipy from 1.13 to 1.12 will fix the issue temporarily scipy.signal.gaussian has been replaced with scipy.signal.windows.gaussian

drubinstein commented 7 months ago

Fixed in the 0.3.1 release