Changeset c9ca2608 for python/ext/py-musicutils.h
- Timestamp:
- Sep 15, 2018, 5:34:21 PM (6 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
- Children:
- 3aa60b2
- Parents:
- 3aac194 (diff), ad3770f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/ext/py-musicutils.h
r3aac194 rc9ca2608 72 72 PyObject * Py_aubio_level_detection(PyObject *self, PyObject *args); 73 73 74 static char Py_aubio_shift_doc[] = "" 75 "Swap left and right partitions of a vector\n" 76 "\n" 77 "Returns the swapped vector. The input vector is also modified.\n" 78 "\n" 79 "For a vector of length N, the partition is split at index N - N//2.\n" 80 "\n" 81 "Example\n" 82 "-------\n" 83 "\n" 84 ">>> import numpy\n" 85 ">>> shift(numpy.arange(3, dtype=aubio.float_type))\n" 86 "array([2., 0., 1.], dtype=" AUBIO_NPY_SMPL_STR ")"; 87 PyObject * Py_aubio_shift(PyObject *self, PyObject *args); 88 89 static char Py_aubio_ishift_doc[] = "" 90 "Swap right and left partitions of a vector\n" 91 "\n" 92 "Returns the swapped vector. The input vector is also modified.\n" 93 "\n" 94 "Unlike with shift(), the partition is split at index N//2.\n" 95 "\n" 96 "Example\n" 97 "-------\n" 98 "\n" 99 ">>> import numpy\n" 100 ">>> ishift(numpy.arange(3, dtype=aubio.float_type))\n" 101 "array([1., 2., 0.], dtype=" AUBIO_NPY_SMPL_STR ")"; 102 PyObject * Py_aubio_ishift(PyObject *self, PyObject *args); 103 74 104 #endif /* PY_AUBIO_MUSICUTILS_H */
Note: See TracChangeset
for help on using the changeset viewer.