dart_synthizer library Null safety

Bindings for Synthizer.

Working with Synthizer

For Synthizer-specific docs, see the Synthizer manual.

Working with Dart

To begin, create a Synthizer instance:

final synthizer = Synthizer();

Then initialise the library:

synthizer.initialize();

Then create a Context:

final ctx = synthizer.createContext();

For more help, see the API docs.

Classes

AngularPannedSource
A source with azimuth and elevation panning done by hand.
AutomationAppendPropertyCommand
syz_AutomationAppendPropertyCommand.
AutomationBatch
Automation batch.
AutomationClearAllPropertiesCommand
SYZ_AUTOMATION_COMMAND_CLEAR_ALL_PROPERTIES.
AutomationClearEventsCommand
SYZ_AUTOMATION_COMMAND_CLEAR_EVENTS.
AutomationClearPropertyCommand
syz_AutomationClearPropertyCommand.
AutomationCommand
The base class for all automation commands. [...]
AutomationSendUserEventCommand
syz_AutomationSendUserEventCommand
BiquadConfig
Biquad configuration. [...]
Buffer
A synthizer buffer. [...]
BufferGenerator
A buffer generator. [...]
Context
A synthizer context. [...]
DirectSource
A source with no panning. [...]
Double3
A double3 property. [...]
Double6
A double6 property. [...]
EchoTapConfig
An echo tap. Passed to GlobalEcho.set_taps. [...]
FinishedEvent
An event that signals something has finished.
Generator
The base class for all generators.
GlobalEcho
Global echo. [...]
GlobalEffect
The base class for all global effects. [...]
GlobalFdnReverb
FDN reverb. [...]
LoopedEvent
The generator finished a loop.
NoiseGenerator
A noise generator. [...]
ScalarPannedSource
A source with panning done by way of a panningScalar. [...]
Source
The base class for all sources. [...]
Source3D
A source with 3D parameters. [...]
StreamingGenerator
A streaming generator. [...]
Synthizer
The main synthizer class. [...]
SynthizerBiquadConfigProperty
A biquad config property.
SynthizerBoolProperty
A boolean property.
SynthizerDistanceModelProperty
A distance model property.
SynthizerDouble3Property
A double3 property.
SynthizerDouble6Property
A double6 property.
SynthizerDoubleProperty
A double property.
SynthizerEvent
The base class for all Synthizer events.
SynthizerIntProperty
An integer property.
SynthizerNoiseTypeProperty
A noise type property.
SynthizerObject
The base class for all synthizer objects.
SynthizerObjectProperty
An object property.
SynthizerPannerStrategyProperty
A panner strategy property.
SynthizerProperty<T>
A way of getting, setting, and automating synthizer properties.
SynthizerStream
Synthizer streams. [...]
SynthizerVersion
Provides the SynthizerVersion class. A class which represents the version of Synthizer being used.
UserAutomationEvent
The user finished event.

Mixins

GainMixin
Add gain to any SynthizerObject.
PausableMixin
Base class for anything which can be paused. Adds pause and play methods.
PlaybackPosition
Add playback position to any object.

Extensions

AutomationCommandsToInt
An extension for converting Dart to Synthizer values.
DistanceModelToInt
An extension for converting Dart to Synthizer values.
EventTypesToInt
An extension for converting Dart to Synthizer values.
InterpolationTypesToInt
An extension for converting Dart to Synthizer values.
IntToSynthizer
An extension for converting integers to Dart values.
LoggingBackendToInt
An extension for converting Dart to Synthizer values.
LogLevelToInt
An extension for converting Dart to Synthizer values.
NoiseTypeToInt
An extension for converting Dart to Synthizer values.
ObjectTypeToInt
An extension for converting Dart to Synthizer values.
PannerStrategyToInt
An extension for converting Dart to Synthizer values.
PropertiesToInt
An extension for converting Dart to Synthizer values.

Constants

synthizerExecutableFilename → const String
The filename to use to load Synthizer from the current executable. [...]
':executable:'
synthizerProcessFilename → const String
The filename to use to load the Synthizer library from the current process. [...]
':process:'

Enums

AutomationCommands
SYZ_AUTOMATION_COMMANDS.
DistanceModel
SYZ_DISTANCE_MODEL.
EventTypes
SYZ_EVENT_TYPES.
InterpolationTypes
SYZ_INTERPOLATION_TYPES.
LoggingBackend
SYZ_LOGGING_BACKEND.
LogLevel
SYZ_LOG_LEVEL.
NoiseType
SYZ_NOISE_TYPE.
ObjectType
SYZ_OBJECT_TYPE.
PannerStrategy
SYZ_PANNER_STRATEGY.
Properties
SYZ_PROPERTIES.

Exceptions / Errors

SynthizerError
An error reported by synthizer.