:orphan:

Example Programs
================

Chatty Client
-------------

:download:`chatty_client.py <../examples/chatty_client.py>`

.. literalinclude:: ../examples/chatty_client.py

Pass-Through Client
-------------------

:download:`thru_client.py <../examples/thru_client.py>`

.. literalinclude:: ../examples/thru_client.py

Sound File Playback
-------------------

:download:`play_file.py <../examples/play_file.py>`

.. literalinclude:: ../examples/play_file.py

"Showtime" Client
-----------------

:download:`showtime.py <../examples/showtime.py>`

.. literalinclude:: ../examples/showtime.py

MIDI Monitor
------------

:download:`midi_monitor.py <../examples/midi_monitor.py>`

.. literalinclude:: ../examples/midi_monitor.py

MIDI Chord Generator
--------------------

:download:`midi_chords.py <../examples/midi_chords.py>`

.. literalinclude:: ../examples/midi_chords.py

Simple MIDI Synth
-----------------

:download:`midi_sine.py <../examples/midi_sine.py>`

.. literalinclude:: ../examples/midi_sine.py

Simple MIDI Synth (NumPy Edition)
---------------------------------

:download:`midi_sine_numpy.py <../examples/midi_sine_numpy.py>`

.. literalinclude:: ../examples/midi_sine_numpy.py
