Skip to content

Commit

Permalink
Fix flip flop ugens declared range
Browse files Browse the repository at this point in the history
  • Loading branch information
smrg-lm committed Apr 30, 2023
1 parent 2bdefd5 commit 971026e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion sc3/synth/ugens/trig.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,9 @@ def kr(cls, trig=0.0, div=2.0, start=0.0):


class SetResetFF(PulseCount):
pass
@classmethod
def signal_range(cls): # override
return 'unipolar'


class ToggleFF(ugn.UGen):
Expand All @@ -166,6 +168,10 @@ def ar(cls, trig=0.0):
def kr(cls, trig=0.0):
return cls._multi_new('control', trig)

@classmethod
def signal_range(cls): # override
return 'unipolar'


class ZeroCrossing(ugn.UGen):
@classmethod
Expand Down

0 comments on commit 971026e

Please sign in to comment.