summaryrefslogtreecommitdiff
path: root/doc/examples.rst
blob: 3f0eb16c67cd430af9201c8a37785c2084229c91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Example Programs
================

Play a Sound File
-----------------

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

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

Play a Very Long Sound File
---------------------------

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

.. literalinclude:: ../examples/play_long_file.py

Input to Output Pass-Through
----------------------------

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

.. literalinclude:: ../examples/wire.py

Plot Microphone Signal(s) in Real-Time
--------------------------------------

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

.. literalinclude:: ../examples/plot_input.py

Real-Time Text-Mode Spectrogram
-------------------------------

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

.. literalinclude:: ../examples/spectrogram.py

Recording with Arbitrary Duration
---------------------------------

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

.. literalinclude:: ../examples/rec_unlimited.py