+static PyObject *
+Py_filterbank_set_power(Py_filterbank *self, PyObject *args)
+{
+ uint_t playing;
+
+ if (!PyArg_ParseTuple (args, "I", &playing)) {
+ return NULL;
+ }
+ if(aubio_filterbank_set_power (self->o, playing)) {
+ if (PyErr_Occurred() == NULL) {
+ PyErr_SetString (PyExc_ValueError,
+ "error running filterbank.set_power");
+ } else {
+ // change the RuntimeError into ValueError
+ PyObject *type, *value, *traceback;
+ PyErr_Fetch(&type, &value, &traceback);
+ PyErr_Restore(PyExc_ValueError, value, traceback);
+ }
+ return NULL;
+ }
+ Py_RETURN_NONE;
+}
+
+static PyObject *
+Py_filterbank_set_norm(Py_filterbank *self, PyObject *args)
+{
+ uint_t playing;
+
+ if (!PyArg_ParseTuple (args, "I", &playing)) {
+ return NULL;
+ }
+ if(aubio_filterbank_set_norm (self->o, playing)) {
+ if (PyErr_Occurred() == NULL) {
+ PyErr_SetString (PyExc_ValueError,
+ "error running filterbank.set_power");
+ } else {
+ // change the RuntimeError into ValueError
+ PyObject *type, *value, *traceback;
+ PyErr_Fetch(&type, &value, &traceback);
+ PyErr_Restore(PyExc_ValueError, value, traceback);
+ }
+ return NULL;
+ }
+ Py_RETURN_NONE;
+}
+