This scriptable object holds "sequences", data used to record and play events in sequence MMSequences can be played by MMFeedbacks from their Timing section, by Sequencers and potentially other classes
More...
This scriptable object holds "sequences", data used to record and play events in sequence MMSequences can be played by MMFeedbacks from their Timing section, by Sequencers and potentially other classes
◆ ComputeLength()
virtual void MoreMountains.Feedbacks.MMSequence.ComputeLength |
( |
| ) |
|
|
virtual |
Computes the length of the sequence
◆ OnValidate()
virtual void MoreMountains.Feedbacks.MMSequence.OnValidate |
( |
| ) |
|
|
protectedvirtual |
On validate, we initialize our track's properties
◆ QuantizeOriginalSequence()
virtual void MoreMountains.Feedbacks.MMSequence.QuantizeOriginalSequence |
( |
| ) |
|
|
virtual |
Quantizes the original sequence, filling the QuantizedSequence list, arranging events on the beat
◆ QuantizeSequenceToBPM()
virtual void MoreMountains.Feedbacks.MMSequence.QuantizeSequenceToBPM |
( |
List< MMSequenceNote > |
baseSequence | ) |
|
|
virtual |
Makes every timestamp in the sequence match the BPM track
◆ RandomizeTrackColors()
virtual void MoreMountains.Feedbacks.MMSequence.RandomizeTrackColors |
( |
| ) |
|
|
protectedvirtual |
◆ RandomSequenceColor()
static Color MoreMountains.Feedbacks.MMSequence.RandomSequenceColor |
( |
| ) |
|
|
static |
Returns a random color for the sequence tracks
- Returns
◆ RoundFloatToArray()
static float MoreMountains.Feedbacks.MMSequence.RoundFloatToArray |
( |
float |
value, |
|
|
float[] |
array |
|
) |
| |
|
static |
Rounds a float to the closest float in an array (array has to be sorted)
- Parameters
-
- Returns
◆ SortOriginalSequence()
virtual void MoreMountains.Feedbacks.MMSequence.SortOriginalSequence |
( |
| ) |
|
|
virtual |
Sorts the original sequence based on timestamps
◆ _deleteList
◆ _quantizedBeats
float [] MoreMountains.Feedbacks.MMSequence._quantizedBeats |
|
protected |
◆ EndSilenceDuration
float MoreMountains.Feedbacks.MMSequence.EndSilenceDuration = 0f |
the duration in seconds to apply after the last input
◆ Length
float MoreMountains.Feedbacks.MMSequence.Length |
the length (in seconds) of the sequence
◆ OriginalSequence
the original sequence (as outputted by the input sequence recorder)
◆ Quantized
bool MoreMountains.Feedbacks.MMSequence.Quantized |
whether this sequence should be used in quantized form or not
◆ QuantizedSequence
List<MMSequenceList> MoreMountains.Feedbacks.MMSequence.QuantizedSequence |
the contents of the quantized sequence
◆ RandomizeTrackColorsButton
bool MoreMountains.Feedbacks.MMSequence.RandomizeTrackColorsButton |
◆ SequenceTracks
the list of tracks for this sequence
◆ TargetBPM
int MoreMountains.Feedbacks.MMSequence.TargetBPM = 120 |
the target BPM for this sequence
The documentation for this class was generated from the following file:
- F:/Github/Store/Feel/Assets/Feel/MMFeedbacks/MMFeedbacks/Sequencing/Scripts/MMSequence.cs