aboutsummaryrefslogtreecommitdiff
path: root/cyclone
diff options
context:
space:
mode:
Diffstat (limited to 'cyclone')
-rw-r--r--cyclone/build_counter2
-rw-r--r--cyclone/hammer/coll.c1
-rw-r--r--cyclone/hammer/comment.c2
-rw-r--r--cyclone/hammer/grab.c5
-rw-r--r--cyclone/hammer/sustain.c1
-rw-r--r--cyclone/sickle/rand.c5
6 files changed, 9 insertions, 7 deletions
diff --git a/cyclone/build_counter b/cyclone/build_counter
index 778edc3..6178b17 100644
--- a/cyclone/build_counter
+++ b/cyclone/build_counter
@@ -1,3 +1,3 @@
#define CYCLONE_VERSION "0.1"
#define CYCLONE_RELEASE "alpha"
-#define CYCLONE_BUILD 47
+#define CYCLONE_BUILD 48
diff --git a/cyclone/hammer/coll.c b/cyclone/hammer/coll.c
index 3d9aa68..5308341 100644
--- a/cyclone/hammer/coll.c
+++ b/cyclone/hammer/coll.c
@@ -9,6 +9,7 @@
#include "common/loud.h"
#include "hammer/file.h"
+/* FIXME sort -1 -1, sort 1 crashes in pd large */
/* FIXME sort crashes after (corrupt?) transfers from the editor */
/* LATER make sure that ``reentrancy protection hack'' is really working... */
/* CHECKME default fname for 'write' -- c_filename, x_name, nothing? */
diff --git a/cyclone/hammer/comment.c b/cyclone/hammer/comment.c
index 3fe6ec6..72e8a57 100644
--- a/cyclone/hammer/comment.c
+++ b/cyclone/hammer/comment.c
@@ -5,6 +5,8 @@
/* FIXME creation lag (X-specific) */
/* LATER think about pushing text to the text editor (ctrl-t)
-- not easy, because we are not 'textedfor' */
+/* LATER think about making the <Button> binding for the entire bbox,
+ instead of the text item, to ease the pain of resizing, somewhat. */
#include <stdlib.h>
#include <stdio.h>
diff --git a/cyclone/hammer/grab.c b/cyclone/hammer/grab.c
index a54a3eb..2ffc152 100644
--- a/cyclone/hammer/grab.c
+++ b/cyclone/hammer/grab.c
@@ -89,10 +89,9 @@ static t_pd *grab_next(t_grab *x)
nextremote:
if (x->x_tograbbed)
{
- t_inlet *ip;
int inno;
- x->x_tograbbed = obj_nexttraverseoutlet(x->x_tograbbed,
- &x->x_grabbed, &ip, &inno);
+ x->x_tograbbed =
+ fragile_outlet_nextconnection(x->x_tograbbed, &x->x_grabbed, &inno);
if (x->x_grabbed)
{
if (inno)
diff --git a/cyclone/hammer/sustain.c b/cyclone/hammer/sustain.c
index 975e6aa..8764f5d 100644
--- a/cyclone/hammer/sustain.c
+++ b/cyclone/hammer/sustain.c
@@ -23,6 +23,7 @@ static void sustain_float(t_sustain *x, t_float f)
int pitch = (int)f;
if (pitch >= 0 && pitch < SUSTAIN_NPITCHES)
{
+ /* CHECKED a plain note-off accumulator */
if (x->x_velocity || !x->x_switch)
{
outlet_float(x->x_voutlet, x->x_velocity);
diff --git a/cyclone/sickle/rand.c b/cyclone/sickle/rand.c
index 146cbc9..30014a5 100644
--- a/cyclone/sickle/rand.c
+++ b/cyclone/sickle/rand.c
@@ -11,7 +11,6 @@
typedef struct _rand
{
t_sic x_sic;
- t_float x_rate;
double x_lastphase;
double x_nextphase;
float x_rcpsr;
@@ -71,7 +70,7 @@ static void rand_dsp(t_rand *x, t_signal **sp)
dsp_add(rand_perform, 4, x, sp[0]->s_n, sp[0]->s_vec, sp[1]->s_vec);
}
-static void *rand_new(t_floatarg inirate)
+static void *rand_new(t_floatarg f)
{
t_rand *x = (t_rand *)pd_new(rand_class);
/* borrowed from d_osc.c, LATER rethink */
@@ -80,7 +79,7 @@ static void *rand_new(t_floatarg inirate)
x->x_lastphase = 0.;
x->x_nextphase = 1.; /* start from 0, force retargetting */
x->x_target = x->x_scaling = 0;
- x->x_rate = (inirate > 0 ? -inirate : 0);
+ sic_newinlet((t_sic *)x, (f > 0. ? -f : 0.));
outlet_new((t_object *)x, &s_signal);
return (x);
}