Flutter SoLoud playback
Controls sound in Flutter with flutter_soloud, from quick effects to looping music, so app and game audio behaves.
Claude's review
8/10 Precise flutter_soloud playback API guidance with traps and proactive recommendations.
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
Teaches everyday playback control in the flutter_soloud package — play()/playSource, pause/stop/seek, looping regions, play speed, per-play pitch/volume variation, voice limit and protection, and voice groups. Use when the user asks to play a sound or sound effect, play the same sound many times (gunshots, footsteps, hits, UI clicks), loop music or an engine hum, pause/resume/stop playback or build a pause menu, seek or show position, loop a region of a track, change playback speed, or manage concurrent voices with flutter_soloud. For repeated sounds on a regular cadence, the lowest latency on a tap, or sample-accurate timing (playClocked, playScheduled), see flutter-soloud-scheduling.
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- 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-playback
version: 5
description: Teaches everyday playback control in the flutter_soloud package — play()/playSource, pause/stop/seek, looping regions, play speed, per-play pitch/volume variation, voice limit and protection, and voice groups. Use when the user asks to play a sound or sound effect, play the same sound many times (gunshots, footsteps, hits, UI clicks), loop music or an engine hum, pause/resume/stop playback or build a pause menu, seek or show position, loop a region of a track, change playback speed, or manage concurrent voices with flutter_soloud. For repeated sounds on a regular cadence, the lowest latency on a tap, or sample-accurate timing (playClocked, playScheduled), see flutter-soloud-scheduling.
---
flutter_soloud is not a "player object" API like audioplayers or just_audio. You load audio once into an `AudioSource` (the sample data, kept in RAM or on disk), then start any number of playing instances of it with `play()`. Each instance is a `SoundHandle` — an ephemeral voice that becomes invalid the moment it stops or ends. All control methods (`setPause`, `seek`, `setVolume`, ...) take a `SoundHandle`, not the source.
## Minimal example
```dart
import 'package:flutter_soloud/flutter_soloud.dart';
Future<void> main() async {
await SoLoud.instance.init();
final source = await SoLoud.instance.loadAsset('assets/music.mp3');
// play() is synchronous and returns immediately.
final handle = SoLoud.instance.play(
source,
volume: 0.8,
pan: 0.0, // -1.0 left .. 0.0 center .. 1.0 right
);
SoLoud.instance.seek(handle, const Duration(seconds: 10));
SoLoud.instance.setPause(handle, true); // pause
SoLoud.instance.setPause(handle, false); // resume
await SoLoud.instance.stop(handle); // completes when the voice really ends
await SoLoud.instance.disposeSource(source);
}
```
## The API shape
All methods below live on the singleton `SoLoud.instance` and throw `SoLoudNotInitializedException` if called before `await SoLoud.instance.init()` completes.
### Starting playback
...From alnitak's repository, MIT licence.
Related skills
-
Checked
Android Gradle Plugin upgrade
Moves Kotlin Multiplatform projects to Android Gradle Plugin 9 and fixes the build failures it causes.
8/101 credit -
Checked
CocoaPods to SwiftPM
Moves Kotlin Multiplatform projects from CocoaPods to Swift Package Manager and updates the Xcode project.
8/101 credit -
Checked
Kotlin Native build speed
Diagnoses and fixes slow Kotlin/Native iOS builds in Kotlin Multiplatform projects, both locally and on CI.
8/101 credit -
Checked
SwiftUI Liquid Glass
Adds and reviews Liquid Glass in SwiftUI apps for iOS 26, avoiding pitfalls with bars, buttons and scrolling.
8/101 credit -
Checked
Compose Multiplatform UI
Builds one shared Compose UI in Kotlin for Android, iOS and desktop, so you write your screens once.
7/101 credit -
Checked
SwiftUI Mac app rules
Writes and debugs Swift 6 and SwiftUI code for Mac apps, fixing concurrency, state and common compiler errors.
7/101 credit