sound_recipes 0.1.2-dev
sound_recipes: ^0.1.2-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 Dart:
$ dart pub add sound_recipesWith Flutter:
$ flutter pub add sound_recipesThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
sound_recipes: ^0.1.2-devAlternatively, your editor might support dart pub get or 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';