- Timestamp:
- Mar 24, 2017, 7:46:40 PM (8 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, sampler
- Children:
- 4e2173e
- Parents:
- 67e0eeb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/develop.rst
r67e0eeb r5782f99 86 86 -------------------- 87 87 88 In this example, ``aubio_source`` is used to read a media file. 88 In this example, `aubio_source <https://aubio.org/doc/latest/source_8h.html>`_ 89 is used to read a media file: 89 90 90 First, create the objects we need.91 First, define a few variables and allocate some memory. 91 92 92 93 .. literalinclude:: ../tests/src/io/test-source.c … … 104 105 :lines: 40-44 105 106 106 At the end of the processing loop, clean-up and de-allocate memory:107 At the end of the processing loop, memory is deallocated: 107 108 108 109 .. literalinclude:: ../tests/src/io/test-source.c 109 110 :language: C 110 :lines: 5 0-56111 :lines: 55-56 111 112 112 113 See the complete example: :download:`test-source.c … … 126 127 .. literalinclude:: ../tests/src/spectral/test-phasevoc.c 127 128 :language: C 128 :lines: 21-35 129 :lines: 20-37 130 131 Time to clean up the previously allocated memory: 132 133 .. literalinclude:: ../tests/src/spectral/test-phasevoc.c 134 :language: C 135 :lines: 39-44 129 136 130 137 See the complete example: :download:`test-phasevoc.c
Note: See TracChangeset
for help on using the changeset viewer.