Mercurial > hg > libxtract
comparison examples/puredata/xtract~.c @ 9:90b3a3a25d99
Tweaks to enable build on OS X
author | Jamie Bullock <jamie@postlude.co.uk> |
---|---|
date | Sun, 08 Oct 2006 15:01:54 +0000 |
parents | 46efa5536d04 |
children | 81eb5810a301 |
comparison
equal
deleted
inserted
replaced
8:34c52ec0e66c | 9:90b3a3a25d99 |
---|---|
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | 16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
17 */ | 17 */ |
18 | 18 |
19 /* calculates the spectral xtract of one frame, given peak frequency and amplitude to first and second inputs respectively */ | 19 /* calculates the spectral xtract of one frame, given peak frequency and amplitude to first and second inputs respectively */ |
20 | 20 |
21 #define XTRACT | |
21 #include "xtract/libxtract.h" | 22 #include "xtract/libxtract.h" |
22 #include "m_pd.h" | 23 #include "m_pd.h" |
23 | 24 |
24 #define BLOCKSIZE 1024 | 25 #define BLOCKSIZE 1024 |
25 #define NYQUIST 22050.0f | 26 #define NYQUIST 22050.0f |