[PD-cvs] externals/miXed/cyclone/sickle rand.c,1.1.1.1,1.2

krzyszcz at users.sourceforge.net krzyszcz at users.sourceforge.net
Thu Feb 19 23:23:19 CET 2004


Update of /cvsroot/pure-data/externals/miXed/cyclone/sickle
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15203/cyclone/sickle

Modified Files:
	rand.c 
Log Message:
many small improvements in toxy, plustot added

Index: rand.c
===================================================================
RCS file: /cvsroot/pure-data/externals/miXed/cyclone/sickle/rand.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** rand.c	23 May 2003 12:29:51 -0000	1.1.1.1
--- rand.c	19 Feb 2004 22:23:16 -0000	1.2
***************
*** 12,16 ****
  {
      t_sic    x_sic;
-     t_float  x_rate;
      double   x_lastphase;
      double   x_nextphase;
--- 12,15 ----
***************
*** 72,76 ****
  }
  
! static void *rand_new(t_floatarg inirate)
  {
      t_rand *x = (t_rand *)pd_new(rand_class);
--- 71,75 ----
  }
  
! static void *rand_new(t_floatarg f)
  {
      t_rand *x = (t_rand *)pd_new(rand_class);
***************
*** 81,85 ****
      x->x_nextphase = 1.;  /* start from 0, force retargetting */
      x->x_target = x->x_scaling = 0;
!     x->x_rate = (inirate > 0 ? -inirate : 0);
      outlet_new((t_object *)x, &s_signal);
      return (x);
--- 80,84 ----
      x->x_nextphase = 1.;  /* start from 0, force retargetting */
      x->x_target = x->x_scaling = 0;
!     sic_newinlet((t_sic *)x, (f > 0. ? -f : 0.));
      outlet_new((t_object *)x, &s_signal);
      return (x);





More information about the Pd-cvs mailing list