Class Pattern
- Namespace
- Sigil.Sound
- Assembly
- Sigil.Sound.Notes.dll
Notes placed in time: an immutable timeline that Sigil.Sound.Patterns.Play(Sigil.Sound.Pattern,System.Func{Sigil.Sound.Voice,Sigil.Sound.Sound},System.Nullable{System.Double},System.Int32) turns into sound. Create one with Sigil.Sound.Patterns.Every(System.Collections.Generic.IEnumerable{Sigil.Sound.Note},System.Double,System.Double), change it with Sigil.Sound.Pattern.Loop and Sigil.Sound.Pattern.Transpose(System.Int32).
public sealed class PatternInheritance
Inherited Members
Extension Methods
Properties
Events
The notes, sorted by start time.
public IReadOnlyList<TimedNote> Events { get; }Property Value
IsLooping
True if the pattern starts over after Sigil.Sound.Pattern.Length beats instead of stopping.
public bool IsLooping { get; }Property Value
Length
Beats before a looping pattern starts over.
public double Length { get; }Property Value
Methods
Loop()
The same pattern, repeating forever.
public Pattern Loop()Returns
Transpose(int)
The same pattern moved by semitones.
public Pattern Transpose(int semitones)Parameters
semitonesint