NeomGeneratorController class

Inheritance
Implemented types

Constructors

NeomGeneratorController()

Properties

activeIncienso Incienso?
no setter
activeNumericTarget → Rx<NeomNumericTarget>
final
beatEditCtrl TextEditingController
final
breathDepth → RxDouble
final
breathMode → Rx<NeomBreathMode>
final
breathRate → RxDouble
final
chamber → Rx<NeomChamber>
final
chamberPreset ↔ NeomChamberPreset
getter/setter pair
chamberRepository → ChamberRepository
final
chambers → RxMap<String, NeomChamber>
final
currentBeat → RxDouble
final
currentFreq → RxDouble
final
currentOctave → RxInt
final
currentVol → RxDouble
final
detectedFrequency ↔ RxDouble
getter/setter pair
detectedPitches List<double>
getter/setter pair
effectiveFrequency double
Effective frequency sent to the audio engine (base * 2^octave). Positive octaves multiply (2x, 4x, 8x, 16x). Negative octaves divide (/2, /4, /8, /16).
no setter
existsInChamber → RxBool
final
frequencyDescription ↔ RxString
getter/setter pair
frequencyEditCtrl TextEditingController
final
frequencyServiceImpl ↔ FrequencyService?
getter/setter pair
frequencyState → RxInt
final
hashCode int
The hash code for this object.
no setterinherited
inciensoCount int
Qualifying breath cycles in this session.
no setter
inciensoRecorder InciensoRecorder
final
inciensoTracker InciensoTracker
final
initialized bool
Checks whether the controller has already been initialized.
no setterinherited
isAdmin bool
getter/setter pair
isButtonDisabled → RxBool
final
isClosed bool
Checks whether the controller has already been closed.
no setterinherited
isDisposed bool
no setterinherited
isEditingBeat → RxBool
final
isEditingFrequency → RxBool
final
isInciensoRecording bool
Whether the incienso recorder is actively recording.
no setter
isIsochronicEnabled → RxBool
final
isLoading ↔ RxBool
getter/setter pair
isModulationEnabled → RxBool
final
isochronicDuty → RxDouble
final
isochronicFreq → RxDouble
final
isPlaying ↔ RxBool
getter/setter pair
isRecording ↔ RxBool
getter/setter pair
isUpdate → RxBool
final
listenersLength int
no setterinherited
longPressed ↔ RxBool
getter/setter pair
micWaveform → RxList<double>
Real-time microphone waveform bars for visualization during voice detection. Values are normalized 0.0–1.0 amplitudes, max 200 bars.
final
modulationDepth → RxDouble
final
modulationFreq → RxDouble
final
modulationType → Rx<NeomModulationType>
final
neuroState → Rx<NeomNeuroState>
final
noChambers bool
getter/setter pair
orbitDirection → RxInt
final
orbitSpeed → RxDouble
final
oscTimeScale → RxDouble
Oscilloscope time scale (1.0 = full buffer, 0.15 = zoomed in).
final
painterEngine NeomFrequencyPainterEngine
final
posX → RxDouble
final
posY → RxDouble
final
posZ → RxDouble
final
profile ↔ AppProfile?
getter/setter pair
qualityRatio double
Quality ratio: qualifying / total cycles.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedTarget → Rx<NeomFrequencyTarget>
final
sessionStartedAt DateTime?
no setter
showCircuitWave → RxBool
final
showPerimeterWave → RxBool
final
spatialIntensity → RxDouble
final
spatialMode → Rx<NeomSpatialMode>
final
timerDuration ↔ RxInt
getter/setter pair
userServiceImpl ↔ UserService?
getter/setter pair
visualMode → Rx<NeomVisualMode>
final
wavePhase → RxDouble
final

Methods

addListener(SintStateUpdate listener) → Disposer
Register a closure to be called when the object notifies its listeners.
inherited
addListenerId(Object? key, SintStateUpdate listener) → Disposer
inherited
addPreset(BuildContext context, {int frequencyPracticeState = 0}) Future<void>
buildInciensoSession({String inciensoId = '', InciensoSource source = InciensoSource.userCreated, InciensoSessionEnd endReason = InciensoSessionEnd.stoppedByUser}) InciensoSession
Build an InciensoSession from the current tracker data. Call after stopping playback.
containsListener(SintStateUpdate listener) bool
inherited
debounce<T>(RxInterface<T> rx, void callback(T), {Duration duration = const Duration(milliseconds: 400)}) → void
Calls callback after rx stops changing for duration. Useful for search-as-you-type, form validation, etc.
inherited
decreaseActiveValue({double step = 1}) Future<void>
decreaseFrequency({double step = 1}) Future<void>
decreaseOnLongPress() → void
decreaseSelected({double step = 1}) Future<void>
disableMultiFrequency() → void
Disable multi-frequency mode and return to standard binaural.
dispose() → void
inherited
ever<T>(RxInterface<T> rx, void callback(T)) → void
Calls callback every time rx changes. Auto-cancels on controller disposal.
inherited
finishEditBeat() → void
finishEditFrequency() → void
frequencyAlreadyInItemlist() bool
getMostFrequentPitch() double
getPitchFromAudioData(Uint8List audioData) Future<double>
increaseActiveValue({double step = 1}) Future<void>
increaseFrequency({double step = 1}) Future<void>
increaseOnLongPress() → void
increaseSelected({double step = 1}) Future<void>
initializeRecorder() Future<void>
initializeStreamController() → void
interval<T>(RxInterface<T> rx, void callback(T), {Duration duration = const Duration(seconds: 1)}) → void
Calls callback at most once per duration, ignoring intermediate changes. Useful for rate-limiting UI updates.
inherited
launchVisualExperience() → void
Navigate to the fullscreen visual experience matching the active incienso. Falls back to photonicPulse behavior (no navigation) if no visual is set.
loadIncienso(Incienso incienso, {bool autoStart = true}) Future<void>
Load an Incienso preset into the generator, configuring all parameters (frequencies, binaural beat, isochronic, visual, breathing) and optionally auto-starting playback.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
once<T>(RxInterface<T> rx, void callback(T)) → void
Calls callback only the first time rx changes, then cancels.
inherited
onClose() → void
Called before onDelete method. onClose might be used to dispose resources used by the controller. Like closing events, or streams before the controller is destroyed. Or dispose objects that can potentially create some memory leaks, like TextEditingControllers, AnimationControllers. Might be useful as well to persist some data on disk.
override
onDelete() → void
inherited
onInit() → void
Called immediately after the widget is allocated in memory. You might use this to initialize something for the controller.
override
onReady() → void
Called 1 frame after onInit(). It is the perfect place to enter navigation events, like snackbar, dialogs, or a new route, or async request.
override
onStart() → void
Called at the exact moment the widget is allocated in memory. It uses an internal "callable" type, to avoid any @overrides in subclasses. This method should be internal and is required to define the lifetime cycle of the subclass.
inherited
playStopPreview({bool stop = false}) Future<void>
refresh() → void
inherited
refreshGroup(Object id) → void
inherited
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that the object notifies.
inherited
removeListenerId(Object id, VoidCallback listener) → void
inherited
removePreset(BuildContext context) Future<void>
reportAdd(VoidCallback disposer) → void
inherited
reportRead() → void
inherited
saveAsIncienso(String name) Incienso?
Stop recording and build a shareable Incienso from the session. Returns null if session was too short (< 30s or < 5 keyframes).
selectBinauralBeat() → void
selectRootFrequency() → void
setBinauralBeat({double beat = 0}) → void
override
setBreathDepth(double depth) → void
setBreathMode(NeomBreathMode mode) → void
setBreathRate(double bpm) → void
setFrequency(double frequency) Future<void>
override
setFrequencyFromText(String value) → void
setFrequencyState(AppItemState newState) → void
setIsochronicDuty(double duty) → void
setIsochronicEnabled(bool enabled) Future<void>
setIsochronicFrequency(double hz) → void
setModulationDepth(double depth) → void
setModulationEnabled(bool enabled) → void
setModulationFrequency(double hz) → void
setModulationType(NeomModulationType type) → void
setMultiFrequency({required double subHz, required double leftHz, required double rightHz}) → void
Set multi-frequency mode with 3 independent oscillators.
setNeuroState(NeomNeuroState state) → void
setOctave(int octave) → void
setOrbitDirection(int dir) → void
setOrbitSpeed(double speed) → void
setParameterPosition({required double x, required double y, required double z}) → void
override
setSelectedItemlist(String selectedItemlist) → void
setSpatialIntensity(double v) → void
setSpatialMode(NeomSpatialMode mode) → void
setVisualAmplitude(double v) → void
setVisualMode(NeomVisualMode mode) → void
setVolume(double volume, {bool? rightOrLeft}) → void
override
startEditBeat() → void
startEditFrequency() → void
startRecording() Future<void>
stopRecording() → void
toString() String
A string representation of this object.
inherited
update([List<Object>? ids, bool condition = true]) → void
Notifies listeners to update the UI.
inherited
updateDescriptionForFrequency(double frequency) → void
updateFrequency(double freq) → void
Update the main frequency directly (for controller-to-controller calls).

Operators

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