- Timestamp:
- May 15, 2008, 8:20:06 PM (17 years ago)
- 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:
- 92c70f6
- Parents:
- 954585a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/puredata/aubio_setup.c
r954585a r9bfecce3 2 2 #include <m_pd.h> 3 3 4 char aubio_version[] = "aubio external for pd, version 0. 1";4 char aubio_version[] = "aubio external for pd, version 0.2"; 5 5 6 static t_class *aubio_class; 7 8 typedef struct aubio 9 { 10 t_object x_ob; 11 } t_aubio; 12 13 void *aubio_new (void); 6 14 void aubio_setup (void); 7 15 extern void aubioonset_tilde_setup (void); … … 11 19 extern void aubiopitch_tilde_setup (void); 12 20 21 void *aubio_new (void) 22 { 23 t_aubio *x = (t_aubio *)pd_new(aubio_class); 24 return (void *)x; 25 } 26 13 27 void aubio_setup (void) 14 28 { 15 post(aubio_version); 16 aubioonset_tilde_setup(); 17 aubiotempo_tilde_setup(); 18 aubiotss_tilde_setup(); 19 aubioquiet_tilde_setup(); 20 aubiopitch_tilde_setup(); 29 post(aubio_version); 30 aubioonset_tilde_setup(); 31 aubiotempo_tilde_setup(); 32 aubiotss_tilde_setup(); 33 aubioquiet_tilde_setup(); 34 aubiopitch_tilde_setup(); 35 aubio_class = class_new(gensym("aubio"), (t_newmethod)aubio_new, 0, 36 sizeof(t_aubio), 0, 0); 21 37 }
Note: See TracChangeset
for help on using the changeset viewer.