Changeset ff89a06 for python/ext/py-musicutils.c
- Timestamp:
- May 13, 2016, 5:23:20 PM (9 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, pitchshift, sampler, timestretch, yinfft+
- Children:
- 98e4106
- Parents:
- 7876b67
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/ext/py-musicutils.c
r7876b67 rff89a06 9 9 10 10 if (!PyArg_ParseTuple (args, "|sI", &wintype, &winlen)) { 11 PyErr_SetString (PyExc_ValueError, "failed parsing arguments");12 11 return NULL; 13 12 } … … 30 29 31 30 if (!PyArg_ParseTuple (args, "O:level_lin", &input)) { 32 PyErr_SetString (PyExc_ValueError, "failed parsing arguments");33 31 return NULL; 34 32 } … … 59 57 60 58 if (!PyArg_ParseTuple (args, "O:db_spl", &input)) { 61 PyErr_SetString (PyExc_ValueError, "failed parsing arguments");62 59 return NULL; 63 60 } … … 89 86 90 87 if (!PyArg_ParseTuple (args, "O" AUBIO_NPY_SMPL_CHR ":silence_detection", &input, &threshold)) { 91 PyErr_SetString (PyExc_ValueError, "failed parsing arguments");92 88 return NULL; 93 89 } … … 119 115 120 116 if (!PyArg_ParseTuple (args, "O" AUBIO_NPY_SMPL_CHR ":level_detection", &input, &threshold)) { 121 PyErr_SetString (PyExc_ValueError, "failed parsing arguments");122 117 return NULL; 123 118 }
Note: See TracChangeset
for help on using the changeset viewer.