Moduletidal-1.10.3Haskell2010
Sound.Tidal.Stream.Process
Synopsis
- data ProcessedEvent
- value doTick
- value processCps
- value toOSC
- value toData
- value toDatum
- value substitutePath
- value getString
- value playStack
- value hasSolo
- value onSingleTick
- value updatePattern
- value setPreviousPatternOrSilence
- Packagetidal-1.10.3
- Exports13
- LanguageHaskell2010
- LicenceGPL-3.0-only
- SourceProcess.hs
Query the current pattern (contained in argument stream :: Stream)
for the events in the current arc (contained in argument st :: T.State),
translate them to OSC messages, and send these.
If an exception occurs during sending, this functions prints a warning and continues, because the likely reason is that the backend (supercollider) isn't running.
If any exception occurs before or outside sending (e.g., while querying the pattern, while computing a message), this function prints a warning and resets the current pattern to the previous one (or to silence if there isn't one) and continues, because the likely reason is that something is wrong with the current pattern.