diff --git a/samplebrain/src/brain_block.cpp b/samplebrain/src/brain_block.cpp index f1d800c..0024320 100644 --- a/samplebrain/src/brain_block.cpp +++ b/samplebrain/src/brain_block.cpp @@ -9,6 +9,11 @@ brain_block::brain_block(const sample &pcm) : { init_fft(m_pcm.get_length()); + m_fft = m_fftw(impulse2freq(m_pcm.get_non_const_buffer(), + m_fft.get_non_const_buffer()) + + + } void brain_block::init_fft(u32 block_size) diff --git a/samplebrain/src/config.h.in b/samplebrain/src/config.h.in new file mode 100644 index 0000000..1f86776 --- /dev/null +++ b/samplebrain/src/config.h.in @@ -0,0 +1,91 @@ +/* src/config.h.in. Generated from configure.ac by autoheader. */ + +/* Define to 1 if you have the header file. */ +#undef HAVE_INTTYPES_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_IOSTREAM + +/* Define to 1 if you have the `bcm_host' library (-lbcm_host). */ +#undef HAVE_LIBBCM_HOST + +/* Define to 1 if you have the `dl' library (-ldl). */ +#undef HAVE_LIBDL + +/* Define to 1 if you have the `EGL' library (-lEGL). */ +#undef HAVE_LIBEGL + +/* Define to 1 if you have the `GL' library (-lGL). */ +#undef HAVE_LIBGL + +/* Define to 1 if you have the `GLESv1_CM' library (-lGLESv1_CM). */ +#undef HAVE_LIBGLESV1_CM + +/* Define to 1 if you have the `glut' library (-lglut). */ +#undef HAVE_LIBGLUT + +/* Define to 1 if you have the `jpeg' library (-ljpeg). */ +#undef HAVE_LIBJPEG + +/* Define to 1 if you have the `lo' library (-llo). */ +#undef HAVE_LIBLO + +/* Define to 1 if you have the `m' library (-lm). */ +#undef HAVE_LIBM + +/* Define to 1 if you have the `png' library (-lpng). */ +#undef HAVE_LIBPNG + +/* Define to 1 if you have the `portaudio' library (-lportaudio). */ +#undef HAVE_LIBPORTAUDIO + +/* Define to 1 if you have the `pthread' library (-lpthread). */ +#undef HAVE_LIBPTHREAD + +/* Define to 1 if you have the `X11' library (-lX11). */ +#undef HAVE_LIBX11 + +/* Define to 1 if you have the header file. */ +#undef HAVE_MEMORY_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDINT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDLIB_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRINGS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRING_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_STAT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_TYPES_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_UNISTD_H + +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT + +/* Define to the full name of this package. */ +#undef PACKAGE_NAME + +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING + +/* Define to the one symbol short name of this package. */ +#undef PACKAGE_TARNAME + +/* Define to the home page for this package. */ +#undef PACKAGE_URL + +/* Define to the version of this package. */ +#undef PACKAGE_VERSION + +/* Define to 1 if you have the ANSI C header files. */ +#undef STDC_HEADERS