#include <ivstprocesscontext.h>
Public Types | |
| kPlaying = 1 << 1 | |
| currently playing | |
| kCycleActive = 1 << 2 | |
| cycle is active | |
| kRecording = 1 << 3 | |
| currently recording | |
| kSystemTimeValid = 1 << 8 | |
| systemTime contains valid information | |
| kContTimeValid = 1 << 17 | |
| continousTimeSamples contains valid information | |
| kProjectTimeMusicValid = 1 << 9 | |
| projectTimeMusic contains valid information | |
| kBarPositionValid = 1 << 11 | |
| barPositionMusic contains valid information | |
| kCycleValid = 1 << 12 | |
| cycleStartMusic and barPositionMusic contain valid information | |
| kTempoValid = 1 << 10 | |
| tempo contains valid information | |
| kTimeSigValid = 1 << 13 | |
| timeSigNumerator and timeSigDenominator contain valid information | |
| kChordValid = 1 << 18 | |
| chord contains valid information | |
| kSmpteValid = 1 << 14 | |
| smpteOffset and frameRate contain valid information | |
| kClockValid = 1 << 15 | |
| samplesToNextClock valid | |
| enum | TransportStates { kPlaying = 1 << 1, kCycleActive = 1 << 2, kRecording = 1 << 3, kSystemTimeValid = 1 << 8, kContTimeValid = 1 << 17, kProjectTimeMusicValid = 1 << 9, kBarPositionValid = 1 << 11, kCycleValid = 1 << 12, kTempoValid = 1 << 10, kTimeSigValid = 1 << 13, kChordValid = 1 << 18, kSmpteValid = 1 << 14, kClockValid = 1 << 15 } |
Public Attributes | |
| uint32 | state |
| transport state ( | |
| double | sampleRate |
| current sample rate (always valid) | |
| TSamples | projectTimeSamples |
| project time in samples (always valid) | |
| int64 | systemTime |
| system time in nanoseconds (optional) | |
| TSamples | continousTimeSamples |
| project time, without loop (optional) | |
| TQuarterNotes | projectTimeMusic |
| musical position in quarter notes (1.0 equals 1 quarter note) | |
| TQuarterNotes | barPositionMusic |
| last bar start position, in quarter notes | |
| TQuarterNotes | cycleStartMusic |
| cycle start in quarter notes | |
| TQuarterNotes | cycleEndMusic |
| cycle end in quarter notes | |
| double | tempo |
| tempo in BPM (Beats Per Minute) | |
| int32 | timeSigNumerator |
| time signature numerator (e.g. 3 for 3/4) | |
| int32 | timeSigDenominator |
| time signature denominator (e.g. 4 for 3/4) | |
| Chord | chord |
| musical info | |
| int32 | smpteOffsetSubframes |
| SMPTE (sync) offset in subframes (1/80 of frame). | |
| FrameRate | frameRate |
| frame rate | |
| int32 | samplesToNextClock |
| MIDI Clock Resolution (24 Per Quarter Note), can be negative (nearest). | |
Definition at line 95 of file ivstprocesscontext.h.
transport states & flags
Definition at line 99 of file ivstprocesscontext.h.
musical position in quarter notes (1.0 equals 1 quarter note)
Definition at line 128 of file ivstprocesscontext.h.
MIDI Clock Resolution (24 Per Quarter Note), can be negative (nearest).
Definition at line 142 of file ivstprocesscontext.h.
SMPTE (sync) offset in subframes (1/80 of frame).
Definition at line 139 of file ivstprocesscontext.h.