sound_recipes 0.3.0-dev
sound_recipes: ^0.3.0-dev copied to clipboard
Game sounds with no audio files: write a recipe, it is synthesised to WAV at start-up and played through flutter_soloud. A stock set by material, and music crossfaded by context.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add sound_recipesThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
sound_recipes: ^0.3.0-devAlternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:sound_recipes/sound_recipes.dart';