sounds library

Classes

AdtsAacMediaFormat
A native media format MediaFormat: adts/aac Format/Container: ADTS in an MPEG container.
Album
An Album allows you to play a collection of Tracks via the OS's builtin audio UI.
AndroidAudioFocusGain
CafOpusMediaFormat
The native opus/caff media format.
Downloader
Provides methods for downloading files.
FileUtil
Collection of useful methods for managing files.
IOSSessionCategoryOption
Options for setSessionCategory on iOS
MediaFormat
MP3MediaFormat
The native mp3 media format.
NativeMediaFormat
Base class for all Native MediaFormat. Native MediaFormat are those MediaFormat which are supported by the underlying OS.
NativeMediaFormats
Provides a means to determine the list of natively supported MediaFormats on the current OS and sdk verison.
OggOpusMediaFormat
The native Ogg/Opus media format.
OggVorbisMediaFormat
The native ogg/vorbis media format.
PCMMediaFormat
The native wav media format.
PlaybackDisposition
Used to stream data about the position of the playback as playback proceeds.
QuickPlay
Provides the ability to playback a single audio file from a variety of sources.
RecorderPlaybackController
This class is a Provider style widget designed to co-ordinate a SoundRecorderUI and a SoundPlayerUI so that a user can record and playback in a co-ordinated manner.
RecordingDisposition
Holds point in time details of the recording disposition including the current duration and decibels. Use the dispositionStream method to subscribe to a stream of RecordingDisposition will be emmited whilst recording.
SoundPlayer
An api for playing audio.
SoundPlayerUI
A HTML 5 style audio play bar. Allows you to play/pause/resume and seek an audio track. The SoundPlayerUI displays: a spinner whilst loading audio play/resume buttons a slider to indicate and change the current play position. optionally displays the album title and track if the Track contains those details.
SoundRecorder
Provide an API for recording audio.
SoundRecorderUI
A UI for recording audio.
Track
The Track class lets you define an audio track either from a path (uri) or a databuffer.
WellKnownMediaFormats
List of well known MediaFormats

Properties

iosSessionCategory List<String>
final
iosSessionMode List<String>
List of IOS Session Modes.
final

Enums

AudioFocus
Used by AudioPlayer.audioFocus to control the focus mode.
IOSSessionCategory
IOSSessionMode

Typedefs

TrackChange = Track Function(int currentTrackIndex, Track current)

Exceptions / Errors

MediaFormatException
Throw if an unsupported MediaFormat is passed. Different OS's support a different set of codecs.
NoTracksAlbumException
throw if you try to create an album with no tracks.
RecorderException
Execeptions
RecorderInvalidStateException
Thrown if you attempt an operation that requires the recorder to be in a particular state and its not.