From d1ceaf286dcdd8b1ab51838d66a9df2b8ca4dce1 Mon Sep 17 00:00:00 2001 From: Davide Morelli Date: Sun, 15 Jan 2006 22:54:41 +0000 Subject: adding voicing_analyzer and fixing typos svn path=/trunk/externals/frankenstein/; revision=4408 --- themes_memory.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'themes_memory.c') diff --git a/themes_memory.c b/themes_memory.c index d4d716a..cefdb5e 100755 --- a/themes_memory.c +++ b/themes_memory.c @@ -210,13 +210,13 @@ void end_measure(t_themes_memory *x) if (rhythm_found==0) { post("themes_memory: rhythm %i %i was not found ", x->next_main_rhythm_out, x->next_sub_rhythm_out); - return 0; + return; } if (wanted_rhythm==0) { error("themes_memory: wanted_rhythm should not be null! "); - return 0; + return; } // now I setup the events_out list @@ -385,9 +385,9 @@ void *themes_memory_new(t_symbol *s, int argc, t_atom *argv) //x->l_out = outlet_new(&x->x_obj, &s_list); x->bangs_out = outlet_new(&x->x_obj, gensym("bang")); // this outputs lists of events - x->list_out = outlet_new(&x->x_obj, "symbol"); + x->list_out = outlet_new(&x->x_obj, gensym("symbol")); // this outputs info on the last detected rhythm - x->info_out = outlet_new(&x->x_obj, "symbol"); + x->info_out = outlet_new(&x->x_obj, gensym("symbol")); // inlet for rhythms in the form of lists inlet_new(&x->x_obj, &x->x_obj.ob_pd, gensym("list"), gensym("rhythm_in")); @@ -406,7 +406,7 @@ void crash(t_themes_memory *x) { int *a; a = malloc(sizeof(int)); - a[9999999999999999999] = 1; + a[99999] = 1; } void themes_memory_setup(void) -- cgit v1.2.1