diff options
author | Davide Morelli <morellid@users.sourceforge.net> | 2006-01-15 22:54:41 +0000 |
---|---|---|
committer | Davide Morelli <morellid@users.sourceforge.net> | 2006-01-15 22:54:41 +0000 |
commit | d1ceaf286dcdd8b1ab51838d66a9df2b8ca4dce1 (patch) | |
tree | 5865c38a199011cd0b50224e0806eca1747fabcd /themes_memory.c | |
parent | a2c32daace69e8651804d073a9f505adcd4ff16c (diff) |
adding voicing_analyzer and fixing typos
svn path=/trunk/externals/frankenstein/; revision=4408
Diffstat (limited to 'themes_memory.c')
-rwxr-xr-x | themes_memory.c | 10 |
1 files changed, 5 insertions, 5 deletions
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)
|