fvec_t *window = NULL;
if (!PyArg_ParseTuple (args, "|sI", &wintype, &winlen)) {
- PyErr_SetString (PyExc_ValueError, "failed parsing arguments");
return NULL;
}
PyObject *level_lin;
if (!PyArg_ParseTuple (args, "O:level_lin", &input)) {
- PyErr_SetString (PyExc_ValueError, "failed parsing arguments");
return NULL;
}
PyObject *db_spl;
if (!PyArg_ParseTuple (args, "O:db_spl", &input)) {
- PyErr_SetString (PyExc_ValueError, "failed parsing arguments");
return NULL;
}
smpl_t threshold;
if (!PyArg_ParseTuple (args, "O" AUBIO_NPY_SMPL_CHR ":silence_detection", &input, &threshold)) {
- PyErr_SetString (PyExc_ValueError, "failed parsing arguments");
return NULL;
}
smpl_t threshold;
if (!PyArg_ParseTuple (args, "O" AUBIO_NPY_SMPL_CHR ":level_detection", &input, &threshold)) {
- PyErr_SetString (PyExc_ValueError, "failed parsing arguments");
return NULL;
}