Skip to main content

freedome_device_fx 1.0.0 copy "freedome_device_fx: ^1.0.0" to clipboard
freedome_device_fx: ^1.0.0 copied to clipboard

Freedome device effects plugin: quantum fog (Linux) and quantum silence (iOS / macOS) platform channels, presets as data.

freedome_device_fx #

Device effects of the Freedome SDK, moved out of flutter_freedome 3.0.0 (same class names, same channel names):

Effect Dart API Channels Native implementation
Quantum fog QuantumFogService, QuantumFogPlatform flutter_freedome/quantum_fog, …/state Linux (C++ engine)
Quantum silence QuantumSilenceService, QuantumSilencePlatform flutter_freedome/quantum_silence, …/state iOS, macOS (Swift)

Android, Windows and the web have no implementation: DeviceFx.isSupported(feature) is false there and every call throws UnsupportedError (no silent no-ops).

import 'package:freedome_device_fx/freedome_device_fx.dart';

if (QuantumFogService.isSupported) {
  final fog = QuantumFogService();
  await fog.initialize(environment: FogEnvironment.dome);
  final presets = await DeviceFxPresets.load();
  await DeviceFxPresetRunner(fog: fog).apply(
    presets.firstWhere((p) => p.id == 'fog_generation'),
    duration: const Duration(minutes: 30),
  );
}

Presets are data (assets/presets/*.json: grave_silence, fog_generation, no_fog, full_dome, meditative_atmosphere).

Native test (Linux): bash linux/test/run.sh inside the fd-dart-ci image. iOS / macOS: built, untested until an Apple runner is available.

Licence: NativeMindNONC (see LICENSE); commercial use → NativeMind sales. Support: support@freedome.nativemind.net.

0
likes
140
points
--
downloads

Documentation

API reference

Publisher

unverified uploader

Freedome device effects plugin: quantum fog (Linux) and quantum silence (iOS / macOS) platform channels, presets as data.

Homepage
Repository (GitLab)

License

unknown (license)

Dependencies

flutter

More

Packages that depend on freedome_device_fx

Packages that implement freedome_device_fx