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

Make handy shortcut for accessing example videos and the notebook #236

Closed
balintlaczko opened this issue Sep 23, 2021 · 0 comments
Closed
Assignees
Labels
enhancement New feature or request testing

Comments

@balintlaczko
Copy link
Collaborator

This would generally make it easy to access the files that "ship" with musicalgestures. It also happens to be very handy for testing. :-) #205

For example the path for the infamous dance.avi could be used as musicalgestures.examples.dance:

import musicalgestures
dance = musicalgestures.MgObject(musicalgestures.examples.dance, starttime=5, endtime=15)

If we don't have this, the user has to manually probe where musicalgestures is installed, and then (with knowing the file names to look for) construct the path. Can be done, but it's not smooth. musicalgestures.examples.file could just instantly do this for all the exampleswe have (so far the 2 videos and the notebook).

@balintlaczko balintlaczko added enhancement New feature or request testing labels Sep 23, 2021
@balintlaczko balintlaczko self-assigned this Sep 23, 2021
balintlaczko added a commit that referenced this issue Sep 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request testing
Projects
None yet
Development

No branches or pull requests

1 participant