Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WAV format - ModuleNotFoundError: No module named 'mutagen.wave' #353

Closed
dariushazimi opened this issue Sep 29, 2018 · 1 comment
Closed

Comments

@dariushazimi
Copy link

Here is what I am trying to do using the wav file. Flac and MP3 works fine but can't get the wav to work.

Here is what I have.

import mutagen

from mutagen.wave import WAVE

audio = WAVE("harvard.wav")
print("Lenght: ", audio.info.length)
print("Bitrate: ", audio.info.bitrate)

Here is the output

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-124-53514baee23f> in <module>()
      1 import mutagen
      2 
----> 3 from mutagen.wave import WAVE
      4 
      5 

ModuleNotFoundError: No module named 'mutagen.wave'
@lazka
Copy link
Member

lazka commented Sep 29, 2018

mutagen doesn't contain a wave module, there is some work in #321 which would add one.

@lazka lazka closed this as completed Sep 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants