Files @ fe9dff7dbffd
Branch filter:

Location: light9/attic/Nodes/delay.py

Drew Perttula
added C-l to launch subcomposer- in progress
keyboardcomposer will probably launch subcomposer correctly,
but i don't even know if KC blocks or not (untested), and
the SC is certainly a child process of the KC, which is
undesirable. We think that some sort of setpgrp call in
the child may fix that.
"""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}