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. 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
  2. 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)
  3. DAW • Digital audio workstation • IDE for musicians •

    MIDI, audio and video • Fruity Loops, Cubase, Logic, Pro Tools, GarageBand, Nuendo, Reason, Sonar, Ableton Live
  4. Ableton Live • Live session and sequencer • Matrix track

    and clip layout for creative design • Remote MIDI scripts… Python!
  5. Airtime • Open source platform for broadcasting streaming radio •

    Python Services: • airtime-playout • airtime-liquidsoap • airtime-media-monitor
  6. 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/