Agent skill

Flutter Soloud Synthesis

by alnitak in alnitak/flutter_soloud

Teaches how to generate audio without assets in fluttersoloud using loadWaveform() with the 9 WaveForm oscillators, runtime setWaveform() tweaks, speechText() (built-in robotic TTS that creates and…

MITAuto-check passedMobile

Install Flutter Soloud Synthesis

skills CLI
$ npx skills add alnitak/flutter_soloud --skill flutter-soloud-synthesis -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install alnitak/flutter_soloud flutter-soloud-synthesis --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/alnitak/flutter_soloud.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/flutter-soloud-synthesis .claude/skills/flutter-soloud-synthesis && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
flutter-soloud-synthesis
GitHub stars
425
Token cost
~1.8k tokens
SKILL.md length
662 words
Files
1
Skills in repo
14
Repo updated
First seen
Licence
MIT

At a glance

Teaches how to generate audio without assets in fluttersoloud using loadWaveform() with the 9 WaveForm oscillators, runtime setWaveform() tweaks, speechText() (built-in robotic TTS that creates and…

  • Works in 4 steps: await SoLoud.instance.init() once;… → Create the source with loadWaveform,… → Wire UI controls straight to… → …
  • The user asks for a tone generator
  • SKILL.md covers Minimal example, The API shape, Recipe: tone generator /… and Traps, plus 2 more sections
  • Calls dart

What it does

Flutter Soloud Synthesis is an agent skill from alnitak/flutter_soloud. Teaches how to generate audio without assets in fluttersoloud using loadWaveform() with the 9 WaveForm oscillators, runtime setWaveform() tweaks, speechText() (built-in robotic TTS that creates and plays a source), and SoLoudTools.createNotes(). Use when the user asks for a tone generator, beeps/alerts, a keyboard/instrument, synthesized sound effects, or text-to-speech without audio files.

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Mobile, covering Cross-platform mobile apps, Text to speech and voice and Music and audio generation. It works with Flutter. The repository describes itself as: Flutter low-level audio plugin using SoLoud C++ library and FFI. The licence is MIT.

When your agent uses it

  • The user asks for a tone generator
  • A keyboard/instrument
  • Synthesized sound effects
  • Text-to-speech without audio files

Example prompts

  • “Use the flutter-soloud-synthesis skill to teach how to generate audio without assets in fluttersoloud using loadWaveform() with the 9 WaveForm…”
  • “/flutter-soloud-synthesis”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. await SoLoud.instance.init() once; SoLoud.instance.deinit() in the owning widget's dispose().
  2. Create the source with loadWaveform, then play() it and keep both AudioSource and SoundHandle in state.
  3. Wire UI controls straight to setWaveform* on the source while it plays.
  4. On stop: await SoLoud.instance.stop(handle), and dispose the source when it's no longer needed (await…

What it can do on your machine

Read from SKILL.md and the folder at commit 289697e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • dart

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Flutter Soloud Synthesis loads about 1.8k tokens when it runs. Until then it costs about 105 tokens; SKILL.md has 662 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~105
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from alnitak/flutter_soloud at commit 289697e, republished under its MIT licence (© alnitak). 662 words, ~1,803 tokens.

Download SKILL.mdSave it as .claude/skills/flutter-soloud-synthesis/SKILL.md (or your agent's skills folder).
name
flutter-soloud-synthesis
description
Teaches how to generate audio without assets in flutter_soloud using loadWaveform() with the 9 WaveForm oscillators, runtime setWaveform*() tweaks, speechText() (built-in robotic TTS that creates and plays a source), and SoLoudTools.createNotes(). Use when the user asks for a tone generator, beeps/alerts, a keyboard/instrument, synthesized sound effects, or text-to-speech without audio files.
version
1

Synthesis: waveforms and speech without assets

flutter_soloud can synthesize audio with zero files. SoLoud.instance.loadWaveform() creates an AudioSource from an oscillator (not a stream to "set" — there is no setSource/setUrl like audioplayers; you create a source, then play() it). The returned AudioSource is reused and disposed exactly like one loaded from an asset. Runtime tweaks (setWaveform*) act on the source, so they affect every playing instance of it.

Minimal example

dart
import 'package:flutter_soloud/flutter_soloud.dart';

Future<void> beep() async {
  if (!SoLoud.instance.isInitialized) {
    await SoLoud.instance.init();
  }

  final tone = await SoLoud.instance.loadWaveform(
    WaveForm.sin, // oscillator type
    false,        // superWave
    1.0,          // scale
    0.0,          // detune
  );
  SoLoud.instance.setWaveformFreq(tone, 440); // Hz

  final handle = SoLoud.instance.play(tone); // sync, returns SoundHandle

  // ... later
  await SoLoud.instance.stop(handle);
  await SoLoud.instance.disposeSource(tone); // required: it's an AudioSource
}

The API shape

Loading
dart
Future<AudioSource> loadWaveform(
  WaveForm waveform,
  bool superWave,
  double scale,
  double detune,
)

Positional args, all required. superWave combines several detuned oscillators for a fatter sound; scale and detune only matter when superWave is true. Throws SoLoudNotInitializedException before init().

WaveForm enum (exact names, lib/src/enums.dart)

square, saw, sin, triangle, bounce (abs(sin)), jaws (quarter sine, rest quiet), humps (half sine, rest quiet), fSquare ("Fourier" square, less noisy), fSaw ("Fourier" saw, less noisy).

Note the casing: fSquare / fSaw — not fsquare/fsaw (the upstream docs page lists them lowercase; the code is authoritative).

Runtime tweaks (all void, all take the AudioSource, not the handle)
MethodEffect
setWaveform(AudioSource sound, WaveForm newWaveform)switch oscillator type
setWaveformFreq(AudioSource sound, double newFrequency)frequency in Hz
setWaveformSuperWave(AudioSource sound, bool superwave)toggle super wave
setWaveformScale(AudioSource sound, double newScale)super-wave scale
setWaveformDetune(AudioSource sound, double newDetune)super-wave detune

These change live playback — call them on slider changes; no need to reload or stop.

Speech
dart
AudioSource speechText(String textToSpeech)

Synchronous, and it creates AND immediately plays the source — don't call play() on it. The voice is SoLoud's own built-in formant synth: deliberately retro/robotic, not the platform's system TTS (no flutter_tts-style voice/rate/pitch controls, no per-platform quality differences).

Note bank helper
dart
static Future<List<AudioSource>> SoLoudTools.createNotes({
  int octave = 3,               // asserted 0..4
  WaveForm waveForm = WaveForm.sin,
  bool superwave = true,
})

Returns 12 AudioSources (the chromatic notes starting at 55 Hz * 2^octave) ready to play(). Each is a separate source — dispose all 12 when done. Typical keyboard pattern:

dart
final notes = await SoLoudTools.createNotes(octave: 2);
SoLoud.instance.play(notes[4]);                       // key pressed
await SoLoud.instance.stop(notes[4].handles.first);   // key released

Recipe: tone generator / instrument

Model on example/lib/waveform/waveform.dart:

  1. await SoLoud.instance.init() once; SoLoud.instance.deinit() in the owning widget's dispose().
  2. Create the source with loadWaveform, then play() it and keep both AudioSource and SoundHandle in state.
  3. Wire UI controls straight to setWaveform* on the source while it plays.
  4. On stop: await SoLoud.instance.stop(handle), and dispose the source when it's no longer needed (await SoLoud.instance.disposeSource(source)).
Show full SKILL.md (322 more words)Show less

Traps

  • play() is synchronous and returns SoundHandle — no await, and unlike just_audio there is no setUrl/AudioPlayer object; the SoLoud singleton is the whole player.
  • Every synthesis call requires init() first and throws SoLoudNotInitializedException otherwise. init() is async; isInitialized lets you check synchronously.
  • Waveform/speech sources are AudioSources like file-based ones. They are NOT auto-freed when playback ends: call disposeSource(source) (or disposeAllSources()), or let deinit() clean everything up. Creating a new loadWaveform per beep without disposing leaks.
  • speechText() plays immediately. Calling play() on its returned source is wrong. Dispose it like any other source when finished (see example/tests/tests/speech_text.dart).
  • setWaveformScale/setWaveformDetune are no-ops in practice unless super wave is on (loadWaveform(..., superWave: true, ...) or setWaveformSuperWave(sound, true)). The docs' own demo disables those sliders when super wave is off.
  • setWaveform* targets the source, not a handle — it retunes all currently playing instances of that source. For per-note pitch, create one source per note (SoLoudTools.createNotes) instead of retuning one shared source.
  • createNotes asserts octave in 0..4 and each call creates 12 sources — dispose them all, and don't call it repeatedly per key press; build the bank once.
  • No envelopes/ADSR built in. Raw oscillators drone until stopped. Fade or stop handles yourself (stop(handle), or fadeVolume(handle, 0, duration) then stop) to avoid clicks and endless tones.
  • Square/saw are loud and harsh — consider lowering play(..., volume: ...) or using the fSquare/fSaw filtered variants for smoother output.

More depth

  • Demo: example/lib/waveform/waveform.dart — full tone generator UI (superWave/scale/detune sliders, all 9 WaveForm buttons).
  • Tests with idiomatic usage: example/tests/tests/create_notes.dart, example/tests/tests/speech_text.dart, example/tests/tests/waveform_controls.dart.
  • Real signatures: loadWaveform/setWaveform*/speechText at lib/src/soloud.dart:2076-2195; WaveForm at lib/src/enums.dart:290-317; SoLoudTools.createNotes in lib/src/tools/soloud_tools.dart.

Keeping this skill current

This skill ships inside the flutter_soloud package, so upgrading flutter_soloud can carry a newer revision of it than the copy installed in the project. To check, run:

sh
dart run flutter_soloud:skills --check

It reports the installed and bundled skill versions and exits non-zero when an update is available. Offer to update with dart run flutter_soloud:skills (which touches only the skills, never pubspec or build files).

© alnitak, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/flutter-soloud-synthesis of alnitak/flutter_soloud.

Open the folder on GitHubat commit 289697e

Compare with similar skills

Flutter Soloud Synthesis next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Flutter Soloud Synthesis compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Flutter Soloud Synthesis this skillalnitak/flutter_soloud425—~1.8kAutomated safety check: PassMIT
Add Flutter Docusaurus Localematthiasn/lotti1.2k—~1.2kAutomated safety check: PassGPL-3.0
Tm Launcher DesignFar-Se/tabame372—~3.1kAutomated safety check: PassMIT
Flutter Initbear2u/my-skills933—~2.5kAutomated safety check: PassNone
Mobile App UI Designceorkm/mobile-app-ui-design403—~2kAutomated safety check: PassNone
Marionette Flutter Drive Appleancodepl/marionette_mcp482—~11kAutomated safety check: PassApache-2.0

Similar skills

  • Add, complete, or audit a locale across a Flutter application's ARB catalogs and a localized Docusaurus manual, including generated localization code, locale selectors, native platform declarations…

    1.2k GitHub stars~1.2k tokensUpdated today
    MobileAuto-check passed
  • Tm Launcher Design

    Far-Se/tabame

    Create or revise Tabame's Flutter launcher designs: frames, search bars, result rows, palettes, typography, and action dialogs.

    372 GitHub stars~3.1k tokensUpdated 2 days ago
    MobileAuto-check passed
  • Flutter Init

    bear2u/my-skills

    A skill your agent uses when user wants to create a new Flutter project (Todo/Habit/Note/Expense/Custom domain) with Clean Architecture, Riverpod 3.0, Drift, and modern Flutter stack

    933 GitHub stars~2.5k tokensUpdated 3 mo ago
    MobileAuto-check passed
  • Mobile App UI Design

    ceorkm/mobile-app-ui-design

    Design high-quality mobile app UI/UX screens, flows, and components.

    403 GitHub stars~2k tokensUpdated 3 mo ago
    MobileAuto-check passed
  • Marionette Flutter Drive App

    leancodepl/marionette_mcp

    Set up and drive a running Flutter app (debug or profile) with Marionette — an AI agent's hands and eyes for the app.

    482 GitHub stars~11k tokensUpdated 3 days ago
    MobileAuto-check passed
  • Flutter Screenshot

    JustLookAtNow/pt_mate

    Capture and show two Flutter UI screenshots for this project: one landscape/large-screen preview and one portrait/mobile preview, without using Flutter Web.

    503 GitHub stars~511 tokensUpdated 4 days ago
    MobileAuto-check passed

More from alnitak/flutter_soloud

All 14 skills in this repo
  • Flutter SoLoud Audio Filters

    alnitak/flutter_soloud

    Explains how to add and tune flutter_soloud's 13 audio filters at global, per-sound and mixing-bus level, including activation order and parameter fades.

    425 GitHub stars~2.1k tokensUpdated 2 days ago
    Auto-check passed
  • flutter_soloud Mixing Buses

    alnitak/flutter_soloud

    Teaches flutter_soloud mixing buses for routing groups of sounds through shared sub-mixes with collective volume and filters, such as separate music, SFX and UI sliders.

    425 GitHub stars~1.7k tokensUpdated 2 days ago
    Auto-check passed
  • flutter_soloud Setup

    alnitak/flutter_soloud

    Walks through adding the flutter_soloud audio engine to a Flutter app, with per-platform setup, initialization, binary-size and logging options, and output device switching.

    425 GitHub stars~3.6k tokensUpdated 2 days ago
    Auto-check: notes
  • Teaches the push buffer-stream API of flutter_soloud for playing audio that arrives in chunks, such as icecast radio, WebSocket PCM feeds or streaming TTS, instead of a complete file.

    425 GitHub stars~2.5k tokensUpdated 2 days ago
    Auto-check passed
  • Shows how to build audio visualizers in Flutter with flutter_soloud, using live FFT and wave data or offline waveform extraction, plus volume readings for level meters.

    425 GitHub stars~2.5k tokensUpdated 2 days ago
    Auto-check passed
  • Flutter Soloud 3D Audio

    alnitak/flutter_soloud

    Teaches positional (3D) audio in fluttersoloud — play3d/play3dClocked/play3dScheduled, listener position/orientation/velocity, per-source attenuation and Doppler, and the per-frame update pattern.

    425 GitHub stars~2.2k tokensUpdated 2 days ago
    Auto-check passed

Works with

Questions about Flutter Soloud Synthesis

What does Flutter Soloud Synthesis do?

Teaches how to generate audio without assets in fluttersoloud using loadWaveform() with the 9 WaveForm oscillators, runtime setWaveform() tweaks, speechText() (built-in robotic TTS that creates and…. Flutter Soloud Synthesis is an agent skill from alnitak/flutter_soloud.createNotes().

When should I use Flutter Soloud Synthesis?

Flutter Soloud Synthesis fits situations like: the user asks for a tone generator; A keyboard/instrument; synthesized sound effects; text-to-speech without audio files.

How do I install Flutter Soloud Synthesis in Claude Code?

Run `npx skills add alnitak/flutter_soloud --skill flutter-soloud-synthesis -a claude-code`. Or copy the skill folder (skills/flutter-soloud-synthesis in alnitak/flutter_soloud) into .claude/skills/flutter-soloud-synthesis in your project. Claude Code loads it when a task matches its description.

How do I install Flutter Soloud Synthesis in Codex?

Run `npx skills add alnitak/flutter_soloud --skill flutter-soloud-synthesis -a codex`. Or copy the skill folder (skills/flutter-soloud-synthesis in alnitak/flutter_soloud) into .agents/skills/flutter-soloud-synthesis in your project. Codex loads it when a task matches its description.

Can I use Flutter Soloud Synthesis in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add alnitak/flutter_soloud --skill flutter-soloud-synthesis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/flutter-soloud-synthesis, .gemini/skills/flutter-soloud-synthesis, .github/skills/flutter-soloud-synthesis and .opencode/skills/flutter-soloud-synthesis in your project.

What does Flutter Soloud Synthesis need to run?

Going by SKILL.md and its folder, Flutter Soloud Synthesis needs the command-line tools its instructions call (dart).

Does Flutter Soloud Synthesis access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Flutter Soloud Synthesis safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Flutter Soloud Synthesis use?

Flutter Soloud Synthesis is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Flutter Soloud Synthesis use?

About 1.8k tokens (SKILL.md is roughly 7.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Flutter Soloud Synthesis?

Skills that share tags, products or a category with Flutter Soloud Synthesis: Add Flutter Docusaurus Locale (matthiasn/lotti, 1.2k stars), Tm Launcher Design (Far-Se/tabame, 372 stars), Flutter Init (bear2u/my-skills, 933 stars) and Mobile App UI Design (ceorkm/mobile-app-ui-design, 403 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Flutter Soloud Synthesis?

alnitak (a GitHub user) maintains it in alnitak/flutter_soloud, which has 425 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 6, 2026.

Source: alnitak/flutter_soloud on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.