-
Notifications
You must be signed in to change notification settings - Fork 6
Visualisation
Quefumas edited this page Jul 11, 2021
·
1 revision
Although this is not Gensound's primary goal, it is planned to provide basic visualisation functionality.
The features below require
matplotlib
.
By calling Signal.realise(sample_rate)
, we obtain an Audio
object, which supports the plot()
function:
from gensound import Square, Triangle
w = Square(220, 0.1e3) + 0.3*Triangle(370, 0.1e3)
w.realise(44100).plot() # alien script