Class HostSequence
- Namespace
- Sigil.Sound
- Assembly
- Sigil.Sound.Notes.dll
Lets a host learn that a script plays a sequence on the host's clock, so it can offer play, pause and stop and a tempo for it.
A pattern played without a tempo (pattern.Play(voice)) follows the host; one given a bpm keeps its own time and
does not report.
public static class HostSequenceInheritance
Inherited Members
Remarks
Reports happen while the script runs to build its sound, on the thread that runs it, so an observer is per thread and costs nothing when none is set.
Methods
Observe(Action)
Calls onFollowsHost whenever a sequence that follows the host clock is built on this thread, until disposed.
public static IDisposable Observe(Action onFollowsHost)Parameters
onFollowsHostAction