source: python/ext/py-musicutils.c @ 913a7f1

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since 913a7f1 was 913a7f1, checked in by Paul Brossier <piem@piem.org>, 9 years ago

python/ext/py-musicutils.{c,h}: first .c and test

  • Property mode set to 100644
File size: 409 bytes
Line 
1#include "aubio-types.h"
2
3PyObject *
4Py_aubio_window(PyObject *self, PyObject *args)
5{
6  PyObject *output = NULL;
7  char_t *wintype = NULL;
8  uint_t winlen = 0;
9  fvec_t *window;
10
11  if (!PyArg_ParseTuple (args, "|sd", &wintype, &winlen)) {
12    PyErr_SetString (PyExc_ValueError,
13        "failed parsing arguments");
14    return NULL;
15  }
16
17  //return (PyObject *) PyAubio_CFvecToArray(vec);
18  Py_RETURN_NONE;
19}
Note: See TracBrowser for help on using the repository browser.