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

Google Collab #57

Open
johntheo opened this issue Nov 28, 2020 · 1 comment
Open

Google Collab #57

johntheo opened this issue Nov 28, 2020 · 1 comment
Assignees

Comments

@johntheo
Copy link

Is there any interest to put this content available on google collaboratory for easy run?

@stevetjoa stevetjoa self-assigned this Apr 24, 2022
@brunoimbrizi
Copy link

@stevetjoa I'd like to help with updating the notebooks to run online on Google Colab. I have a few suggestions, whcih I tried to capture in the screen recording below:

ipython_audio.ipynb.mp4
  1. Skip stanford_mir. Even when fetched from the repository with wget it throws an error on init(). The notebook seems to run just fine without it
# import stanford_mir; stanford_mir.init()
  1. Add a line of code to fetch the audio file referenced in the notebook i.e.
# On Google Colab run this to fetch the audio file
!wget -P "audio" "https://github.com/stevetjoa/musicinformationretrieval.com/raw/gh-pages/audio/simple_loop.wav"
  1. Replace librosa.display.waveplot with librosa.display.waveshow
librosa.display.waveshow(x, sr=sr)

I used ipython_audio.ipynb only as an example. If you like my suggestions, I can to submit a PR with similar updates applied to all other files. I just think the repo is great and I'd be happy to contribute.

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

3 participants