Ignore:
Timestamp:
Jul 10, 2015, 2:34:48 AM (9 years ago)
Author:
Paul Brossier <piem@piem.org>
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:
0e362b5
Parents:
31a09d2
Message:

ext/py-musicutils.c: add level_detection (closes #21)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/ext/py-musicutils.h

    r31a09d2 r9c8c8a6  
    6060PyObject * Py_aubio_silence_detection(PyObject *self, PyObject *args);
    6161
     62static char Py_aubio_level_detection_doc[] = ""
     63"Get buffer level in dB SPL if over a given threshold, 1. otherwise.\n"
     64"\n"
     65"Example\n"
     66"-------\n"
     67"\n"
     68">>> import numpy\n"""
     69">>> level_detection(0.7*numpy.ones(1024, dtype=\"float32\"), -80)\n"
     70"0";
     71
     72PyObject * Py_aubio_level_detection(PyObject *self, PyObject *args);
     73
    6274#endif /* _PY_AUBIO_MUSICUTILS_H_ */
Note: See TracChangeset for help on using the changeset viewer.