TODO
+- test zero crossing in python/aubiocut
+- complete manpages
- drop the multichannel bits ?
- drop the midi/jack bits ?
-- looks like it really needs ring buffers
-- move mathutils and sample to use gsl or some faster library
+- move mathutils and sample to use gsl or some faster library ?
- code cleanup and optimisation
+- really enable ladcca support
- mix with libsoundtouch and make a melodyne gui
#SUBDIRS=onsets
# global flags
-AM_CFLAGS = -I../src
-AM_LDFLAGS = -L../src -laubio
+AM_CFLAGS = -I../src @LADCCA_CFLAGS@
+AM_LDFLAGS = -L../src @LADCCA_LIBS@ -laubio
#AM_SOURCES = utils.c
# add your programs to this list
target_alias = @target_alias@
# global flags
-AM_CFLAGS = -I../src
-AM_LDFLAGS = -L../src -laubio
+AM_CFLAGS = -I../src @LADCCA_CFLAGS@
+AM_LDFLAGS = -L../src @LADCCA_LIBS@ -laubio
#AM_SOURCES = utils.c
# add your programs to this list
#include "aubio.h"
#include <unistd.h>
+/* not supported yet */
+#ifdef LADCCA_SUPPORT
+#include <ladcca/ladcca.h>
+cca_client_t * aubio_cca_client;
+#endif /* LADCCA_SUPPORT */
+
int main(int argc, char **argv) {
#if ALSA_SUPPORT
aubio_midi_player_t * mplay = new_aubio_midi_player();
#include "aubio.h"
#include <unistd.h>
+/* not supported yet */
+#ifdef LADCCA_SUPPORT
+#include <ladcca/ladcca.h>
+cca_client_t * aubio_cca_client;
+#endif /* LADCCA_SUPPORT */
+
int main(int argc, char ** argv) {
#if ALSA_SUPPORT
aubio_midi_player_t * mplay = new_aubio_midi_player();
#include "aubio.h"
#include <unistd.h>
+/* not supported yet */
+#ifdef LADCCA_SUPPORT
+#include <ladcca/ladcca.h>
+cca_client_t * aubio_cca_client;
+#endif /* LADCCA_SUPPORT */
+
int main(int argc, char ** argv) {
#if ALSA_SUPPORT
aubio_midi_player_t * mplay = new_aubio_midi_player();
#include <math.h> /* for isfinite */
#include "utils.h"
+/* not supported yet */
#ifdef LADCCA_SUPPORT
#include <ladcca/ladcca.h>
cca_client_t * aubio_cca_client;
#include <string.h>
#endif
+#ifdef ALSA_SUPPORT
+#ifdef LADCCA_SUPPORT
+#include <ladcca/ladcca.h>
+extern cca_client_t * aubio_cca_client;
+#endif /* LADCCA_SUPPORT */
+#endif /* ALSA_SUPPORT */
+
#include "types.h"
#include "midi_parser.h"
#include "midi_driver.h"
-
#if ALSA_SUPPORT
#define ALSA_PCM_NEW_HW_PARAMS_API
#include "config.h"
-#ifdef LADCCA_SUPPORT
-#include <ladcca/ladcca.h>
-extern cca_client_t * aubio_cca_client;
-#endif /* LADCCA_SUPPORT */
-
-
#define AUBIO_ALSA_DEFAULT_MIDI_DEVICE "default"
/** \bug double define? */
#include <sys/poll.h>
/* #include <errno.h> //perror is in stdio.h */
-
-#ifdef LADCCA_SUPPORT
-#include <ladcca/ladcca.h>
-extern cca_client_t * aubio_cca_client;
-#endif /* LADCCA_SUPPORT */
-
#define AUBIO_ALSA_DEFAULT_SEQ_DEVICE "default"
#define AUBIO_ALSA_BUFFER_LENGTH 512