Closed vitreo12 closed 4 years ago
Is it really that much better than:
struct Phasor:
phase float
def init(phase = 0.0):
return Phasor.new(phase)
def perform(phasor, phase_increment):
phasor.phase += phase_increment
phasor.phase = phasor.phase mod 1.0
Closing for now