Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.


Music and Jupyter
A combo for creating collaborative
narratives for teaching
Carol Willing
Project Jupyter
Cal Poly SLO
...
Headline Slide
Sub-headline
Hello
Headline Slide
Sub-headline
Hi
Carol Willing
Project Jupyter
Steering Council and Developer
Cal Poly SLO
Software Engineer
Python Software Foundation
Rec...
Learning results from what a
student does and thinks and
only what the student does
and thinks.
Herbert A. Simon
Why music?
Real world interest matters.
Jupyter notebooks engage learners
Engaging students and musicians
PyCon 2014
Universal
Cross-cultural understanding
Creative
Lifelong
learning
Access and
opportunities
...see mistakes
...as interesting
opportunities
to learn
Photo taken by Matthew Bowers
Benjamin Zander


Tools
Jupyter Notebook and JupyterLab
markdown
language kernels (Python, R, Julia)
ipywidgets
nbconvert
RISE, nbpresent
...


Content
music21 - Michael Cuthbert
magenta - tensorflow music generation
Allen Downey’s Think DSP notebooks
Extempore - ...
Jupyter
Notebook
A Jupyter Notebook document with a visualization of measles data.
Jupyter
Notebook
Interactive
Browser-based computing environment
Exploratory
Science, machine learning, visualization, ana...


Prose
Code
Visualizations
Video and animations
Widgets
Audio
Jupyter ingredients
Prose
#, ##, ### Headings
*music* music
**corpus** corpus
`print(chord)` chord
Shift-Enter Execute cell
Live preview in JupyterLab
previewsource
Code
• JupyterLab (attach a console for exploration)
• List and install requirements
• Drop into file system
• Export as s...
Run code in the notebook
Shift-Enter to execute a code cell.
Shift-Command-Enter to enter single document mode. Similar to...
Visualizations
music21 - sheet music
Visualizations
music21 interact with MuseScore
Visualizations 
music21 translate to braille
Video and
Animation
ipywidgets
Docs
https://ipywidgets.readthedocs.io
cookiecutter to simplify
creating new widgets
Interactive
Documentation
...
Audio
magenta.tensorflow.org
Audio
https://github.com/tensorflow/magenta-demos/tree/master/jupyter-notebooks
Audio
https://magenta.tensorflow.org/performance-rnn

Ian Simon and Sageev Oore. "Performance RNN:
Generating Music with E...
Audio
https://magenta.tensorflow.org/nsynth-instrument
Everyday
Sounds
https://experiments.withgoogle.com/ai/drum-machine

https://github.com/googlecreativelab/aiexperiments-dru...
Nature’s
music
https://experiments.withgoogle.com/ai/bird-sounds
https://experiments.withgoogle.com/ai/drum-machine
https://experiments.withgoogle.com/ai/bird-sounds
36
How?
Start with content (videos, code, notebooks)
Gather into a repo
Create and iterate on notebooks
Use Binder to share
R...
Live code
on
Binder
https://beta.mybinder.org/v2/gh/minrk/ligo-binder/master?filepath=index.ipynb
https://losc.ligo.org/tu...
Exploration and experimentation
Physical media with electronics
Real world, self-directed projects
Teaching Signal Process...
Using Jupyter Notebooks with R in the
classroom
Tanya Schlusser
Excellent resource on using tmpnb and
JupyterHub for teach...
What can
you do
with
Jupyter?
Extend Remix
Apply
Collaborate
?
?
Creating gateways to learning
PyLadies
DjangoGirls
Workshops
Conferences
User groups
Sprints
pyvideo.org
Documentation
Cre...
You create the future
Credit: http://pythonineducation.org/
Sub-headline
Thank you
• Demba Ba
• Jeremy Freeman, Binder
• Michael Cuthbert, music21
• Allen Downey, Think DSP
• AnnMarie Thomas, Visualizing M...


Music and Jupyter
A combo for creating collaborative
narratives for teaching
Carol Willing
Project Jupyter
Cal Poly SLO
...
Nächste SlideShare
Wird geladen in …5
×

Jupyter and Music

1.076 Aufrufe

Veröffentlicht am

JupyterCon 2017 talk on August 24, 2017

Veröffentlicht in: Technologie

Jupyter and Music

  1. 1. 
 Music and Jupyter A combo for creating collaborative narratives for teaching Carol Willing Project Jupyter Cal Poly SLO August 24, 2017 JupyterCon 2017 @carolwilling
  2. 2. Headline Slide Sub-headline Hello
  3. 3. Headline Slide Sub-headline Hi
  4. 4. Carol Willing Project Jupyter Steering Council and Developer Cal Poly SLO Software Engineer Python Software Foundation Recent Director CPython Core Developer Fab Lab San Diego Geek in Residence @willingcarol
  5. 5. Learning results from what a student does and thinks and only what the student does and thinks. Herbert A. Simon
  6. 6. Why music?
  7. 7. Real world interest matters.
  8. 8. Jupyter notebooks engage learners
  9. 9. Engaging students and musicians PyCon 2014
  10. 10. Universal Cross-cultural understanding
  11. 11. Creative
  12. 12. Lifelong learning
  13. 13. Access and opportunities
  14. 14. ...see mistakes ...as interesting opportunities to learn Photo taken by Matthew Bowers Benjamin Zander
  15. 15. 
 Tools Jupyter Notebook and JupyterLab markdown language kernels (Python, R, Julia) ipywidgets nbconvert RISE, nbpresent Sphinx JupyterHub and Binder
  16. 16. 
 Content music21 - Michael Cuthbert magenta - tensorflow music generation Allen Downey’s Think DSP notebooks Extempore - live coding of music Visualizing music - AnnMarie Thomas
  17. 17. Jupyter Notebook A Jupyter Notebook document with a visualization of measles data.
  18. 18. Jupyter Notebook Interactive Browser-based computing environment Exploratory Science, machine learning, visualization, analysis, stats Reproducible document format Code Narrative text (markdown) Equations (LaTeX) Images, visualizations Over 50 programming languages Everything open-source (BSD license)
  19. 19. 
 Prose Code Visualizations Video and animations Widgets Audio Jupyter ingredients
  20. 20. Prose #, ##, ### Headings *music* music **corpus** corpus `print(chord)` chord Shift-Enter Execute cell
  21. 21. Live preview in JupyterLab previewsource
  22. 22. Code • JupyterLab (attach a console for exploration) • List and install requirements • Drop into file system • Export as script
  23. 23. Run code in the notebook Shift-Enter to execute a code cell. Shift-Command-Enter to enter single document mode. Similar to classic notebook.
  24. 24. Visualizations music21 - sheet music
  25. 25. Visualizations music21 interact with MuseScore
  26. 26. Visualizations music21 translate to braille
  27. 27. Video and Animation
  28. 28. ipywidgets Docs https://ipywidgets.readthedocs.io cookiecutter to simplify creating new widgets Interactive Documentation Engaging User Content Rapid“what if” scenarios http://jupyter.org/widgets.html Widgets
  29. 29. Audio magenta.tensorflow.org
  30. 30. Audio https://github.com/tensorflow/magenta-demos/tree/master/jupyter-notebooks
  31. 31. Audio https://magenta.tensorflow.org/performance-rnn Ian Simon and Sageev Oore. "Performance RNN: Generating Music with Expressive Timing and Dynamics." Magenta Blog, 2017. https://magenta.tensorflow.org/performance- rnn
  32. 32. Audio https://magenta.tensorflow.org/nsynth-instrument
  33. 33. Everyday Sounds https://experiments.withgoogle.com/ai/drum-machine https://github.com/googlecreativelab/aiexperiments-drum-machine
  34. 34. Nature’s music https://experiments.withgoogle.com/ai/bird-sounds
  35. 35. https://experiments.withgoogle.com/ai/drum-machine https://experiments.withgoogle.com/ai/bird-sounds
  36. 36. 36
  37. 37. How? Start with content (videos, code, notebooks) Gather into a repo Create and iterate on notebooks Use Binder to share Run a workshop or lesson (RISE, nbpresent) Publish (Sphinx supports markdown, reStructuredText, notebooks) Create a website
  38. 38. Live code on Binder https://beta.mybinder.org/v2/gh/minrk/ligo-binder/master?filepath=index.ipynb https://losc.ligo.org/tutorials/
  39. 39. Exploration and experimentation Physical media with electronics Real world, self-directed projects Teaching Signal Processing using Wearables and Jupyter Notebooks Dr. Demba Ba http://pyvideo.org/scipy-2016/labs-in-the-wild-teaching-signal-processing-using-wearables-jupyter-notebooks-scipy-2016.html
  40. 40. Using Jupyter Notebooks with R in the classroom Tanya Schlusser Excellent resource on using tmpnb and JupyterHub for teaching http://jupyter.rocks/ https://github.com/tanyaschlusser/Jupyter-with-R
  41. 41. What can you do with Jupyter? Extend Remix Apply Collaborate ? ?
  42. 42. Creating gateways to learning PyLadies DjangoGirls Workshops Conferences User groups Sprints pyvideo.org Documentation Credit: http://bostonpythonworkshop.com/
  43. 43. You create the future Credit: http://pythonineducation.org/
  44. 44. Sub-headline Thank you
  45. 45. • Demba Ba • Jeremy Freeman, Binder • Michael Cuthbert, music21 • Allen Downey, Think DSP • AnnMarie Thomas, Visualizing Music Attributions and recognition A huge thank you to the Project Jupyter team and community. Your hard work and passion makes this all possible. • Tanya Schuller • Magenta team • FabLab San Diego • Photo credits on individual slides • Content credit on slides
  46. 46. 
 Music and Jupyter A combo for creating collaborative narratives for teaching Carol Willing Project Jupyter Cal Poly SLO August 24, 2017 JupyterCon 2017 @carolwilling

×