From 6e1106e148ba32f529e7b154f95351281508978d Mon Sep 17 00:00:00 2001 From: Davide Morelli Date: Sat, 21 Jan 2006 15:14:09 +0000 Subject: added an outlet to chords_memory which tells you how new is the chord you are adding svn path=/trunk/externals/frankenstein/; revision=4461 --- GArhythm.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'GArhythm.c') diff --git a/GArhythm.c b/GArhythm.c index 9de31ff..a055026 100755 --- a/GArhythm.c +++ b/GArhythm.c @@ -2,6 +2,7 @@ */ #include +#include #include "m_pd.h" #define BUFFER_LENGHT 16 // lunghezza dei buffers (quanti elementi nel pattern) @@ -49,6 +50,7 @@ void GArhythm_init_pop(t_GArhythm *x) { int i, j, tmp, k; double rnd; + for (i=0; ireinsert_src=REINSERT_SRC; x->reinsert_last=REINSERT_LAST; - + srand( (unsigned)time( NULL ) ); + if (argc>0) { x->x_arrayname_src_strum1 = atom_getsymbolarg(0, argc, argv); -- cgit v1.2.1