Google Collab
Opened this issue · 1 comments
johntheo commented
Is there any interest to put this content available on google collaboratory for easy run?
brunoimbrizi commented
@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
- Skip
stanford_mir
. Even when fetched from the repository with wget it throws an error oninit()
. The notebook seems to run just fine without it
# import stanford_mir; stanford_mir.init()
- 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"
- Replace
librosa.display.waveplot
withlibrosa.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.