@@ -6,73 +6,84 @@ Play a Sound File
66:gh-example: `play_file.py `
77
88.. literalinclude :: ../examples/play_file.py
9+ :language: python
910
1011Play a Very Long Sound File
1112---------------------------
1213
1314:gh-example: `play_long_file.py `
1415
1516.. literalinclude :: ../examples/play_long_file.py
17+ :language: python
1618
1719Play a Very Long Sound File without Using NumPy
1820-----------------------------------------------
1921
2022:gh-example: `play_long_file_raw.py `
2123
2224.. literalinclude :: ../examples/play_long_file_raw.py
25+ :language: python
2326
2427Play a Web Stream
2528-----------------
2629
2730:gh-example: `play_stream.py `
2831
2932.. literalinclude :: ../examples/play_stream.py
33+ :language: python
3034
3135Play a Sine Signal
3236------------------
3337
3438:gh-example: `play_sine.py `
3539
3640.. literalinclude :: ../examples/play_sine.py
41+ :language: python
3742
3843Input to Output Pass-Through
3944----------------------------
4045
4146:gh-example: `wire.py `
4247
4348.. literalinclude :: ../examples/wire.py
49+ :language: python
4450
4551Plot Microphone Signal(s) in Real-Time
4652--------------------------------------
4753
4854:gh-example: `plot_input.py `
4955
5056.. literalinclude :: ../examples/plot_input.py
57+ :language: python
5158
5259Real-Time Text-Mode Spectrogram
5360-------------------------------
5461
5562:gh-example: `spectrogram.py `
5663
5764.. literalinclude :: ../examples/spectrogram.py
65+ :language: python
5866
5967Recording with Arbitrary Duration
6068---------------------------------
6169
6270:gh-example: `rec_unlimited.py `
6371
6472.. literalinclude :: ../examples/rec_unlimited.py
73+ :language: python
6574
6675Using a stream in an `asyncio ` coroutine
6776----------------------------------------
6877
6978:gh-example: `asyncio_coroutines.py `
7079
7180.. literalinclude :: ../examples/asyncio_coroutines.py
81+ :language: python
7282
7383Creating an `asyncio ` generator for audio blocks
7484------------------------------------------------
7585
7686:gh-example: `asyncio_generators.py `
7787
7888.. literalinclude :: ../examples/asyncio_generators.py
89+ :language: python
0 commit comments