InciensoKeyframe class
A single moment captured during a recorded Incienso session.
Keyframes are sampled at ~1 Hz (every second) during recording. When someone "plays" a recorded Incienso, the system interpolates between keyframes to reproduce the frequency journey.
Constructors
- InciensoKeyframe({required double timestampMs, required double leftHz, required double rightHz, double coherence = 0.0, double volume = 0.7, String neuroState = 'neutral', double breathPhase = 0.0, String? visualExperience, bool isUserAction = false})
-
const
-
InciensoKeyframe.fromJson(Map<
String, dynamic> json) -
factory
Properties
- beatHz → double
-
Binaural beat at this moment.
no setter
- breathPhase → double
-
Breath phase at this moment (0.0 = exhale, 1.0 = inhale peak).
final
- coherence → double
-
Coherence reading at this moment (0.0–1.0).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isUserAction → bool
-
Whether this keyframe marks a manual state change by the user.
final
- leftHz → double
-
Left ear frequency at this moment (Hz).
final
- neuroState → String
-
Neuro state active at this moment.
final
- rightHz → double
-
Right ear frequency at this moment (Hz).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestampMs → double
-
Milliseconds from session start.
final
- visualExperience → String?
-
Visual experience active at this moment (may change mid-session).
final
- volume → double
-
Volume level at this moment (0.0–1.0).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited