This page will gather the changes to the SignalFlow language and standard functions.
Duration atoms are no longer supported.
Duration atoms. In order to make it more "Pythonic", SignalFlow will no longer allow duration atoms. Duration atoms are durations expressed like
Those atoms must now be quoted as strings or expressed directly as milliseconds longs, e.g.
For example, the following program:
Should now be expressed as:
The label parameter on detect (function) function is being deprecated . It will be replaced by using the publish (detect method) method which requires a label parameter. This is to make the data (function) created stream and detect (function) paradigms to match. Eventually the label on the detect (function) will no longer be supported and will be a runtime error.
the duration passed to timeshift (stream method) methods should now be a positive value.
The order and required arguments for the detect (function) function have changed.
detect(on, off=None, label=None)
detect(label, on, off=None)