Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Listen to the Snake by Travis Pawley

Pycon ZA
October 06, 2016

Listen to the Snake by Travis Pawley

Python is a great tool that's used in the music industry, anything from low level protocol support and device integration to streaming and application automation. My talk will focus on:

MIDI

What is it? How does it work?
CC - Control Change messages and how they are used in modern controllers / devices
Mido - MIDI Objects for Python

OSC

What is Open Sound Control?
Live OSC and controlling Live from a mobile device
PyOSC
Ableton Live and Controllerism
Introduction to Ableton

Ableton's Live Object Model

Python remote scripts and Ableton's API
Demo: -- Creating a new python remote script for a controller -- Changing the state of the controller -- Kicking off an action from the controller to Ableton using the LOM
Internet Radio

What is Darkice

What is Icecast
Audio signal programming with Liquidsoap
Tying it all together with Airtime and Python

Pycon ZA

October 06, 2016
Tweet

More Decks by Pycon ZA

Other Decks in Programming

Transcript

  1. Listen to the Snake __author__ = “Travis Pawley”

  2. None
  3. None
  4. None
  5. None
  6. MIDI

  7. MIDI • Musical Instrument Digital Interface • Notation, Pitch, Velocity

    • Control Signals (Volume, vibrato, panning) • Clock Signals (Synchronise tempo) • MIDI Message: • Status (Note on, note off, control change) • Channel 1 - 16 • Data 0 - 127 • Djing, Vjing, Lighting
  8. MIDI

  9. MIDI - USB

  10. Controllers

  11. Controllers

  12. Controllers

  13. Controllers

  14. Identify the Duo?

  15. Perfection

  16. MIDI Demo

  17. Open Sound Control • Protocol for networking multimedia devices •

    Open-ended, dynamic, URL-style symbolic naming scheme. • Often used in conjunction with a bridge, OSC to virtual MIDI port(s) • python-osc (UDP)
  18. OSC Demo

  19. Touchable Demo

  20. DAW • Digital audio workstation • IDE for musicians •

    MIDI, audio and video • Fruity Loops, Cubase, Logic, Pro Tools, GarageBand, Nuendo, Reason, Sonar, Ableton Live
  21. Ableton Live

  22. Ableton Live • Live session and sequencer • Matrix track

    and clip layout for creative design • Remote MIDI scripts… Python!
  23. Ableton Live

  24. None
  25. Ableton Live Controller Demo

  26. Audio Streaming

  27. Streaming Applications • Darkice • Butt • Nicecast • Mixxx

  28. Liquid soap • “Programming” language for streams

  29. IceCast 2 • Streaming media server • Been around since

    1998
  30. Airtime • Open source platform for broadcasting streaming radio •

    Python Services: • airtime-playout • airtime-liquidsoap • airtime-media-monitor
  31. Airtime

  32. Internet Radio

  33. References, Thanks & Questions • http://www.bpython-interpreter.org/ • https://atom.io/ • https://pypi.python.org/pypi/mido

    • https://pypi.python.org/pypi/python-osc • http://remotescripts.blogspot.co.za/ • http://www.darkice.org/ • http://icecast.org/ • https://www.sourcefabric.org/en/airtime/