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 duraiton returns None #9

Open
MonolithFoundation opened this issue Dec 27, 2024 · 1 comment
Open

wav duraiton returns None #9

MonolithFoundation opened this issue Dec 27, 2024 · 1 comment

Comments

@MonolithFoundation
Copy link

wav duraiton returns None

@LaurentMazare
Copy link
Member

Could you provide a repro ideally with a sample problematic file? I just tried it out and it worked fine on my example.

>>> import sphn
>>> fr = sphn.FileReader("/home/laurent/tmp/20240407-out-3.wav")
>>> fr.duration_sec
59.6
>>> sphn.durations(["/home/laurent/tmp/20240407-out-3.wav"])
[59.6]

(note that durations takes a list of filenames and not a single filename)

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