diff options
| author | Matthias Geier <Matthias.Geier@gmail.com> | 2020-07-07 21:02:31 +0200 |
|---|---|---|
| committer | Matthias Geier <Matthias.Geier@gmail.com> | 2020-07-07 21:13:07 +0200 |
| commit | 4bb8ef9c1c6b999d84bf69799215b7054958ec85 (patch) | |
| tree | c03a50e8dff34931fbed6ef2018e79b2c654060f /doc/examples.rst | |
| parent | 5c1a9de051cfa6b72bf26923c37a43c5ee5a0a59 (diff) | |
DOC: gh-example role
Diffstat (limited to 'doc/examples.rst')
| -rw-r--r-- | doc/examples.rst | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/examples.rst b/doc/examples.rst index a4d86bd..5fc1d9b 100644 --- a/doc/examples.rst +++ b/doc/examples.rst @@ -3,69 +3,69 @@ Play a Sound File ----------------- -:download:`play_file.py <../examples/play_file.py>` +:gh-example:`play_file.py` .. literalinclude:: ../examples/play_file.py Play a Very Long Sound File --------------------------- -:download:`play_long_file.py <../examples/play_long_file.py>` +:gh-example:`play_long_file.py` .. literalinclude:: ../examples/play_long_file.py Play a Web Stream ----------------- -:download:`play_stream.py <../examples/play_stream.py>` +:gh-example:`play_stream.py` .. literalinclude:: ../examples/play_stream.py Play a Sine Signal ------------------ -:download:`play_sine.py <../examples/play_sine.py>` +:gh-example:`play_sine.py` .. literalinclude:: ../examples/play_sine.py Input to Output Pass-Through ---------------------------- -:download:`wire.py <../examples/wire.py>` +:gh-example:`wire.py` .. literalinclude:: ../examples/wire.py Plot Microphone Signal(s) in Real-Time -------------------------------------- -:download:`plot_input.py <../examples/plot_input.py>` +:gh-example:`plot_input.py` .. literalinclude:: ../examples/plot_input.py Real-Time Text-Mode Spectrogram ------------------------------- -:download:`spectrogram.py <../examples/spectrogram.py>` +:gh-example:`spectrogram.py` .. literalinclude:: ../examples/spectrogram.py Recording with Arbitrary Duration --------------------------------- -:download:`rec_unlimited.py <../examples/rec_unlimited.py>` +:gh-example:`rec_unlimited.py` .. literalinclude:: ../examples/rec_unlimited.py Using a stream in an `asyncio` coroutine ---------------------------------------- -:download:`asyncio_coroutines.py <../examples/asyncio_coroutines.py>` +:gh-example:`asyncio_coroutines.py` .. literalinclude:: ../examples/asyncio_coroutines.py Creating an `asyncio` generator for audio blocks ------------------------------------------------ -:download:`asyncio_generators.py <../examples/asyncio_generators.py>` +:gh-example:`asyncio_generators.py` .. literalinclude:: ../examples/asyncio_generators.py |
