diff attic/Nodes/delay.py @ 299:6931479b657a

Make attic, move a bunch of old files to it
author David McClosky <dmcc@bigasterisk.com>
date Mon, 20 Jun 2005 18:52:21 +0000
parents Nodes/delay.py@45b12307c695
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/attic/Nodes/delay.py	Mon Jun 20 18:52:21 2005 +0000
@@ -0,0 +1,14 @@
+"""delay node outputs the input a fixed time later"""
+
+
+class DelayOps(Ops):
+    def clocked(self, input, output, stateaccess):
+        stateaccess.buffer
+
+
+class Delay(Node):
+    def __init__(self):
+        Node.__init__(self)
+        
+    def getnodeparams(self):
+        return {'delay':State.Time}