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
Retire the examples/
folder?
#1328
Comments
Yes, this is a good idea. |
Yeah, we can do both of those for the upcoming release. Back on |
As a junior-level end user I think jupyter notebooks is still a good idea for demonstrations. If it sounds valid, there are two options:
A re-naming from |
Thanks for your input here. I don't want to tie us to colab, given google's propensity to discontinue useful services, but it's easy enough to add examples in the gallery. These can automatically export to notebooks, which ought to be good enough. |
I just took a skim through these old demos, and I don't think there's anything in here that isn't covered better by the docstring examples and gallery. This isn't to say that the current gallery couldn't be expanded with more basic, end-to-end examples, but I don't think we lose much by purging |
at the risk of sounding contrarian: the librosa gallery does not explain playback ... import librosa
from IPython.display import Audio
sr = 22050
y = librosa.tone(frequency=440, sr=sr, duration=1.0)
Audio(data=y, rate=sr) |
Fair enough. I've avoided it previously because embedded audio widgets are sketchy territory when it comes to sphinx-gallery. Maybe it works fine though? |
Another possible venue is ... https://librosa.org/blog/ 😋 |
Aha! Audio embeds do work, but the only catch is that you can't stack them using |
It occurs to me that the
examples/
folder isn't serving much of a purpose anymore, and we may do better to retire it. I certainly don't want to maintain it if it's never used.The example scripts are not packaged in the distribution, nor are they referred to in the documentation.
I think almost all of these cases are better covered at this point by either the specific docstring examples (eg onset detector, beat tracker, or time stretch) or the advanced examples in the gallery (audio effects, demo notebook).
I'd be open to expanding to the advanced example gallery to cover anything crucial that we'd lose by removing the examples folder. What do the other devs think?
The text was updated successfully, but these errors were encountered: