| title |
Sample Projects |
| description |
Learn from example implementations using flutter_soloud |
The flutter_soloud package includes several example projects demonstrating various features. These examples can be found in the example folder of the plugin.
lib/main.dart - Basic setup and usage example
lib/output_device/output_device.dart - How to list and select output devices
lib/audio_data/audio_data.dart - Visualize audio using AudioData
lib/wave_data/wave_data.dart - Read and display audio samples from files
lib/waveform/waveform.dart - Generate and control waveforms in real-time
lib/metronome/metronome.dart - Create a precise metronome
lib/buffer_stream/generate.dart - Generate PCM audio in an Isolate
lib/buffer_stream/websocket.dart - Stream PCM and Opus audio via WebSocket
| Example |
Description |
lib/filters/compressor.dart |
Dynamic range compression |
lib/filters/limiter.dart |
Peak limiting and volume control |
lib/filters/pitchshift.dart |
Real-time pitch shifting |
- Clone the repository:
git clone https://github.com/alnitak/flutter_soloud.git
- Navigate to the example directory:
cd flutter_soloud/example
- Install dependencies:
- Run a specific example:
flutter run -t lib/main.dart
# Or any other example file
flutter run -t lib/waveform/waveform.dart