FrequencyState class

A single frequency-based experience accessible via /x/{stateId}.

Each state defines the audio parameters (binaural beat frequencies), visual parameters (screen color + pulse), duration, and multi-phase timeline for states that evolve over time.

Constructors

FrequencyState({required String id, required Map<String, String> names, required Map<String, String> descriptions, required double leftFrequency, required double rightFrequency, required Duration duration, required Color screenColor, double pulseFrequency = 0, List<FrequencyPhase> phases = const [], bool requiresSpeakers = false, bool isPro = false, IconData icon = Icons.waves})
const

Properties

binauralBeat double
no setter
descriptions Map<String, String>
final
duration Duration
final
hashCode int
The hash code for this object.
no setterinherited
icon IconData
final
id String
final
isMultiPhase bool
True if this state has multiple phases (frequency changes over time).
no setter
isPro bool
final
leftFrequency double
final
names Map<String, String>
final
phases List<FrequencyPhase>
final
pulseFrequency double
final
requiresSpeakers bool
final
rightFrequency double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenColor Color
final

Methods

description(String locale) String
name(String locale) String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited