aboutsummaryrefslogtreecommitdiff
path: root/cyclone/sickle
diff options
context:
space:
mode:
Diffstat (limited to 'cyclone/sickle')
-rw-r--r--cyclone/sickle/Clip.c6
-rw-r--r--cyclone/sickle/Line.c6
-rw-r--r--cyclone/sickle/Scope.c6
-rw-r--r--cyclone/sickle/Snapshot.c6
4 files changed, 24 insertions, 0 deletions
diff --git a/cyclone/sickle/Clip.c b/cyclone/sickle/Clip.c
index d6efd96..0eb0136 100644
--- a/cyclone/sickle/Clip.c
+++ b/cyclone/sickle/Clip.c
@@ -55,5 +55,11 @@ void Clip_tilde_setup(void)
clip_class = class_new(gensym("Clip~"),
(t_newmethod)clip_new, 0,
sizeof(t_clip), 0, A_GIMME, 0);
+ class_addcreator((t_newmethod)clip_new, gensym("clip~"), A_GIMME, 0);
sic_setup(clip_class, clip_dsp, SIC_FLOATTOSIGNAL);
}
+
+void clip_tilde_setup(void)
+{
+ Clip_tilde_setup();
+}
diff --git a/cyclone/sickle/Line.c b/cyclone/sickle/Line.c
index 4a8eccd..64c34ba 100644
--- a/cyclone/sickle/Line.c
+++ b/cyclone/sickle/Line.c
@@ -297,9 +297,15 @@ void Line_tilde_setup(void)
(t_newmethod)line_new,
(t_method)line_free,
sizeof(t_line), 0, A_DEFFLOAT, 0);
+ class_addcreator((t_newmethod)line_new, gensym("line~"), A_DEFFLOAT, 0);
sic_setup(line_class, line_dsp, SIC_NOMAINSIGNALIN);
class_addfloat(line_class, line_float);
class_addlist(line_class, line_list);
class_addmethod(line_class, (t_method)line_ft1,
gensym("ft1"), A_FLOAT, 0);
}
+
+void line_tilde_setup(void)
+{
+ Line_tilde_setup();
+}
diff --git a/cyclone/sickle/Scope.c b/cyclone/sickle/Scope.c
index 1982092..ea53ea9 100644
--- a/cyclone/sickle/Scope.c
+++ b/cyclone/sickle/Scope.c
@@ -1025,6 +1025,7 @@ void Scope_tilde_setup(void)
(t_newmethod)scope_new,
(t_method)scope_free,
sizeof(t_scope), 0, A_GIMME, 0);
+ class_addcreator((t_newmethod)scope_new, gensym("scope~"), A_GIMME, 0);
sic_setup(scope_class, scope_dsp, scope_float);
class_addmethod(scope_class, (t_method)scope_bufsize,
gensym("bufsize"), A_GIMME, 0);
@@ -1053,3 +1054,8 @@ void Scope_tilde_setup(void)
gensym("_motion"), A_FLOAT, A_FLOAT, 0);
fitter_setup(scope_class, 0);
}
+
+void scope_tilde_setup(void)
+{
+ Scope_tilde_setup();
+}
diff --git a/cyclone/sickle/Snapshot.c b/cyclone/sickle/Snapshot.c
index 7c7e974..02f2d1d 100644
--- a/cyclone/sickle/Snapshot.c
+++ b/cyclone/sickle/Snapshot.c
@@ -148,6 +148,7 @@ void Snapshot_tilde_setup(void)
(t_method)snapshot_free,
sizeof(t_snapshot), 0,
A_DEFFLOAT, A_DEFFLOAT, 0);
+ class_addcreator((t_newmethod)snapshot_new, gensym("snapshot~"), A_DEFFLOAT, A_DEFFLOAT, 0);
sic_setup(snapshot_class, snapshot_dsp, snapshot_float);
class_addbang(snapshot_class, snapshot_bang);
class_addmethod(snapshot_class, (t_method)snapshot_ft1,
@@ -159,3 +160,8 @@ void Snapshot_tilde_setup(void)
class_addmethod(snapshot_class, (t_method)snapshot_stop,
gensym("stop"), 0);
}
+
+void snapshot_tilde_setup(void)
+{
+ Snapshot_tilde_setup();
+}