dart_synthizer library

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.
AutomatableSynthizerProperty<T>
A property that can be automated.
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.
ContextualSynthizerObject
A synthizer object which relies on a context.
DirectSource
A source with no panning.
Double3
A double3 property.
Double6
A double6 property.
EchoTapConfig
An echo tap. Passed to GlobalEcho.setTaps.
FastSineBankGenerator
A sine bank generator.
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 generatorHandle finished a loop.
NoiseGenerator
A noise generator.
ScalarPannedSource
A source with panning done by way of a panningScalar.
SineBankWave
A sine bank wave.
Source
The base class for all sources.
Source3D
A source with 3D parameters.
StreamingGenerator
A streaming generator.
Synthizer
The main synthizer class.
SynthizerAutomatableDoubleProperty
A double property that can be automated.
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 that cannot be automated.
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 synthizer property.
SynthizerStream
Synthizer streams.
SynthizerVersion
A class which represents the version of Synthizer being used.
UserAutomationEvent
The user finished event.

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.

Mixins

GainMixin
Add automatable 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 on AutomationCommands
An extension for converting Dart to Synthizer values.
DistanceModelToInt on DistanceModel
An extension for converting Dart to Synthizer values.
EventTypesToInt on EventTypes
An extension for converting Dart to Synthizer values.
InterpolationTypesToInt on InterpolationTypes
An extension for converting Dart to Synthizer values.
IntToSynthizer on int
An extension for converting integers to Dart values.
LoggingBackendToInt on LoggingBackend
An extension for converting Dart to Synthizer values.
LogLevelToInt on LogLevel
An extension for converting Dart to Synthizer values.
NoiseTypeToInt on NoiseType
An extension for converting Dart to Synthizer values.
ObjectTypeToInt on ObjectType
An extension for converting Dart to Synthizer values.
PannerStrategyToInt on PannerStrategy
An extension for converting Dart to Synthizer values.
PropertiesToInt on Properties
An extension for converting Dart to Synthizer values.

Constants

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

Exceptions / Errors

SynthizerError
An error reported by synthizer.