nativemind_sound_generator 1.2.0
nativemind_sound_generator: ^1.2.0 copied to clipboard
Tone generator plugin of NativeMind: sound_generator 0.0.5 by Mert Güner (MIT) with Anton Dodonov's MULTI generator (Android DSP, 2021–22, harmonics gain 2025) and the iOS AudioKit settings of 2021; i [...]
nativemind_sound_generator #
Tone generator plugin of the NativeMind framework (Android, iOS): the vendored
sound_generator 0.0.5 by Mert Güner (MIT) as iScillator had it on
2022-03-20, with Anton Dodonov's MULTI generator (Android DSP multiGenerator.java, 2021-11 … 2022-02),
setParams / getFrequency, and the iOS AudioKit 4.11 settings of Anton Dodonov (aka Ananta Shakti) (2021-12).
Install #
dependencies:
nativemind_sound_generator: ^1.1.0
NmSoundGeneratorEngine implements NmSoundEngine of nativemind_sound:
import 'package:nativemind_sound_generator/nativemind_sound_generator.dart';
NmSoundScope(globals: globals, engine: NmSoundGeneratorEngine(), child: child)
- Android: sinus / square / triangle / sawtooth / MULTI (program, target, environment, modulation, multiplier, angle, oscillator).
- Android, 1.1.0:
NmSoundGenerator.setHarmonicsDbDifference(db)— attenuates the harmonics of the MULTI generator bydbdB (fundamental unchanged); Anton Dodonov's 2025 addition, generated by early AI. Call it aftersetParams(which rebuilds the amplitudes); repeated calls compound. Not implemented on iOS (MissingPluginException). - iOS: sinus via AudioKit 4.11 (MULTI and
getFrequencywere not implemented there in 2021–22; the engine falls back to the last set frequency). - The system volume is never changed (iScillator's
volume_controlcall that set it to 100 % is not carried). - Replacing a vendored or pub.dev
sound_generator: doc/migration-1.0.md.
The example/ app is the harness: the four iScillator editions (vl / pro / lite / dev) through core NmConfigs.
cd example && flutter run --dart-define=NM_EDITION=com.soundhealer.pro
Handmade authors #
Dart lib/: 103 of 159 lines are by people (Mert Güner's upstream code and Anton Dodonov's additions; 25 upstream lines adapted by Anton) — 65 %;
the rest is the engine adapter by Claude Code and the 2025 early-AI method. The Java / Swift sources carry the same
author lines per method (PROVENANCE.md).
| Author | Role | In this package |
|---|---|---|
| Mert Güner | author of sound_generator (upstream, MIT, 2020–21) | the plugin skeleton, wave generators, Dart API |
| Anton Dodonov | founder and CTO; iScillator 2021–22, without AI | MULTI generator, setParams / getFrequency, 16-bit stereo buffer; 2025 (early AI): setHarmonicsDbDifference |
| Anton Dodonov (aka Ananta Shakti) | the same person, commits as anantashakti |
iOS AudioKit 4.11 settings (SwiftSoundGeneratorPlugin.swift) |
Links #
- pub.dev: nativemind_sound_generator · publisher framework.nativemind.net
- Source: gitlab.com/nativemind/widgets.nativemind.net,
flutter/nativemind_sound_generator· upstream mertguner/sound_generator - CHANGELOG.md · doc/migration-1.0.md · PROVENANCE.md · NOTICE
License #
NativeMindNONC (LICENSE) for NativeMind's code, as the whole NativeMind framework; the upstream sound_generator parts
stay under the MIT License of Mert Güner (LICENSE-MIT-sound_generator). Per-file details: NOTICE and
PROVENANCE.md.