maxgillham / 8D-Audio

Some dsp to make songs "8D"

Home Page:http://www.8daudio.ca/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AttributeError: module 'librosa' has no attribute 'output'

vijaypanchal opened this issue · comments

App generates below logs

`

  • Serving Flask app 'app' (lazy loading)
  • Environment: production
    WARNING: This is a development server. Do not use it in a production deployment.
    Use a production WSGI server instead.
  • Debug mode: on
  • Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
  • Restarting with stat
  • Debugger is active!
  • Debugger PIN: 666-792-098
    [youtube] a4NGZFMhEUY: Downloading webpage
    [download] Destination: out/test.wav
    [download] 100% of 3.63MiB in 00:00
    [ffmpeg] Post-process file out/test.wav exists, skipping
    127.0.0.1 - - [23/May/2021 12:22:59] "POST /convert HTTP/1.1" 200 -
    /home/vijay/Downloads/8D-Audio/librosa/librosa/core/audio.py:165: UserWarning: PySoundFile failed. Trying audioread instead.
    warnings.warn("PySoundFile failed. Trying audioread instead.")
    /home/vijay/Downloads/8D-Audio/librosa/librosa/core/audio.py:165: UserWarning: PySoundFile failed. Trying audioread instead.
    warnings.warn("PySoundFile failed. Trying audioread instead.")
    Debugging middleware caught exception in streamed response at a point where response headers were already sent.
    Traceback (most recent call last):
    File "/home/vijay/.local/lib/python3.8/site-packages/werkzeug/wsgi.py", line 462, in next
    return self._next()
    File "/home/vijay/.local/lib/python3.8/site-packages/werkzeug/wrappers/response.py", line 49, in _iter_encoded
    for item in iterable:
    File "/home/vijay/Downloads/8D-Audio/app.py", line 47, in long_time
    save_song('./out/in.wav', wav, sampling_rate)
    File "/home/vijay/Downloads/8D-Audio/audio_features.py", line 31, in save_song
    librosa.output.write_wav(name, wav, sampling_rate)
    AttributeError: module 'librosa' has no attribute 'output'`