Quefumas / gensound

Pythonic audio processing and generation framework
Apache License 2.0
81 stars 6 forks source link

Pop in automation example #33

Open Quefumas opened 2 years ago

Quefumas commented 2 years ago
from gensound.signals import Triangle
from gensound.curve import Logistic, Line, Constant

freq = Line(220, 330, 1e3) | Constant(330, 1e3) | Logistic(330, 220, 1e3)
s = Triangle(freq, 4e3)
s.play()

This example in the autmation page creates a pop at 00:02. By examining the audio it appears that phase inference was taking effect, but resulted in the wrong starting phase for the last segment of the curve.