aboutsummaryrefslogtreecommitdiff
path: root/external/Counter.cs
diff options
context:
space:
mode:
Diffstat (limited to 'external/Counter.cs')
-rwxr-xr-xexternal/Counter.cs16
1 files changed, 7 insertions, 9 deletions
diff --git a/external/Counter.cs b/external/Counter.cs
index 9ec6ddc..c634f83 100755
--- a/external/Counter.cs
+++ b/external/Counter.cs
@@ -6,16 +6,9 @@ using System;
public class Counter:
PureData.External
{
- public Counter()
+ public Counter(PureData.AtomList args)
{
- Post("Count");
-
-// EventFloat += new MethodFloat(MyFloat);
- }
-
- public Counter(PureData.Atom[] args)
- {
- Post("Count with args");
+ Post("Count.ctor");
// pd.AddInlet(x, "init", ParametersType.Float);
// pd.AddOutlet(x, ParametersType.Float);
@@ -53,6 +46,11 @@ public class Counter:
Post("Count-SYMBOL "+s.ToString());
}
+ protected override void MethodList(PureData.AtomList l)
+ {
+ Post("Count-LIST "+l.ToString());
+ }
+
/*
public void Init(float f)
{