Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

Flutter SoLoud audio

Explains how to use the flutter_soloud audio plugin correctly and which feature fits each game sound problem.

Claude's review

7/10 Detailed flutter_soloud mental model and a problem-to-feature map, though details live in sibling skills not included.

We asked Claude the question you would ask: would I be glad I installed this? We only sell skills it rates 7 or higher.

In detail

Core mental model for the flutter_soloud audio plugin — the SoLoud.instance singleton lifecycle (init/deinit), the AudioSource vs SoundHandle distinction, synchronous play semantics, cross-platform constraints, and a map of which flutter_soloud feature fits which situation (scheduling, low latency, fades, filters, buses, 3D, loading, voices, streaming, metering). Start here for game audio (gunshots, footsteps, music, UI sounds) and for any flutter_soloud task. Use when the user asks to play a sound, add sound effects or music to a Flutter app or game, set up audio, debug SoLoudNotInitializedException or silent playback, or migrate from audioplayers/just_audio.

How you use it

  1. Add it to your pack, then download your pack (1 credit).
  2. In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
  3. Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide

Safety check

Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: flutter-soloud-idioms
version: 4
description: Core mental model for the flutter_soloud audio plugin — the SoLoud.instance singleton lifecycle (init/deinit), the AudioSource vs SoundHandle distinction, synchronous play semantics, cross-platform constraints, and a map of which flutter_soloud feature fits which situation (scheduling, low latency, fades, filters, buses, 3D, loading, voices, streaming, metering). Start here for game audio (gunshots, footsteps, music, UI sounds) and for any flutter_soloud task. Use when the user asks to play a sound, add sound effects or music to a Flutter app or game, set up audio, debug SoLoudNotInitializedException or silent playback, or migrate from audioplayers/just_audio.
---

# flutter_soloud idioms

flutter_soloud is a thin Dart FFI wrapper over the SoLoud C++ engine (miniaudio backend). It is a low-level mixer API, not a media player: you load sounds (`AudioSource`), then spawn playing instances of them (`SoundHandle` voices). Everything lives on one global engine behind `SoLoud.instance`. Read this before writing any flutter_soloud code — assumptions carried over from audioplayers, just_audio, or the Web Audio API will produce wrong code.

## Minimal example

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

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();

  // MUST be awaited before any other SoLoud call.
  await SoLoud.instance.init();

  // Load once: an AudioSource is the loaded sample, identified by its
  // SoundHash. Loading is async; keep the source around.
  final sound = await SoLoud.instance.loadAsset('assets/explosion.mp3');

  // play() is SYNCHRONOUS: it spawns a voice and returns its handle
  // immediately. The handle controls that one playing instance.
  final SoundHandle handle = SoLoud.instance.play(
    sound,
    volume: 0.8,
    looping: false,
  );

  // ... on teardown (e.g. top-level widget dispose()):
  SoLoud.instance.deinit(); // or: await SoLoud.instance.deinitAsync();
}
```

## The API shape

...

From alnitak's repository, MIT licence.

Related skills

  • Checked

    Flutter positional audio

    Adds positional 3D sound to Flutter apps with flutter_soloud, so effects shift and fade as things move around.

    by alnitak 427
    8/101 credit
  • Checked

    Flutter audio scheduling

    Schedules flutter_soloud sounds to the exact sample with low latency, so game and music audio stay in time.

    by alnitak 427
    8/101 credit
  • Checked

    Game Audio Mixing

    Sets up game audio buses, volume sliders, music ducking and adaptive music for Godot, Unity or FMOD.

    by gamedev-skills 13k
    8/101 credit
  • Checked

    Godot game audio

    Wires up sound effects, music and volume sliders in Godot and fixes sounds that go silent or will not loop.

    by gamedev-skills 13k
    8/101 credit
  • Checked

    melonJS Game Audio

    Adds sound effects, music and positional audio to melonJS browser games, and fixes silent or stuck sound.

    by melonjs 6.5k
    8/101 credit
  • Checked

    Podcast show notes

    Turns a podcast transcript into search friendly show notes with timestamps, key quotes and social captions.

    by calebvbi
    7/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added