[Pythonsound-devel] Design changes
Status: Beta
Brought to you by:
mupuxeddu
|
From: Maurizio U. P. <um...@ti...> - 2001-10-20 00:16:50
|
Hello. Since the same generators could be used not only in pmask but in other context (for example Aggregate.timewarp() method), they are now part of OMDE. There are now two kind of "generator" base classes: Function and Generator. Function are function of time, they are evaluated at a specific time f(t0) Generator are objects that simply return something each time you call them. There is a way to convert a Generator to a Function and to freeze a Function into a Generator. I introduced the Converter subclass of Generator to integrate the code by Erasmus. There is no more a pmask package but only a omde.pmask module. Maurizio Umberto Puxeddu. |