Synthizer class

The main synthizer class.

You must create an instance of this class in order to use the library.

Constructors

Synthizer({String? filename})
Create an instance.
Synthizer.fromExecutable()
Create an instance with the library loaded from the current executable.
factory
Synthizer.fromProcess()
Create an instance with the library loaded from the current process.
factory

Properties

bigIntPointer Pointer<UnsignedLongLong>
The handle to a bigger int.
final
deleteBehaviorConfigPointer Pointer<syz_DeleteBehaviorConfig>
The delete configuration.
final
doublePointer Pointer<Double>
The handle used by SynthizerAutomatableDoubleProperty.
final
eventPointer Pointer<syz_Event>
The handle used by Context.getEvent.
final
hashCode int
The hash code for this object.
no setterinherited
intPointer Pointer<Int>
The handle used by SynthizerIntProperty, SynthizerBoolProperty, and SynthizerPannerStrategyProperty.
final
majorPointer Pointer<UnsignedInt>
Handles used by version.
final
minorPointer Pointer<UnsignedInt>
Handles used by version.
final
patchPointer Pointer<UnsignedInt>
Handles used by version.
final
routeConfig Pointer<syz_RouteConfig>
The handle used by Context.configRoute.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sineBankConfigPointer Pointer<syz_SineBankConfig>
Another pointer used by FastSineBankGenerator.
final
sineBankWavePointer Pointer<syz_SineBankWave>
A pointer for use by FastSineBankGenerator.
final
synthizer ↔ DartSynthizer
The C portion of the library.
latefinal
userdataFreeCallbackPointer Pointer<syz_UserdataFreeCallback>
The default pointer for freeing user data.
final
version SynthizerVersion
Get the synthizer version.
no setter
wasInit bool
Whether or not initialize has been called.
no setter
x1 Pointer<Double>
Handles used by SynthizerDouble3Property.
final
x2 Pointer<Double>
Extra handles used by double6.
final
y1 Pointer<Double>
Handles used by SynthizerDouble3Property.
final
y2 Pointer<Double>
Extra handles used by double6.
final
z1 Pointer<Double>
Handles used by SynthizerDouble3Property.
final
z2 Pointer<Double>
Extra handles used by double6.
final

Methods

check(int value) → void
Check if a returned value is an error.
createContext({bool events = false}) Context
Create a context.
decRef(int handle) → void
Decrease the reference count for the object with the given handle.
designBandpass(double frequency, double bandwidth) BiquadConfig
Shorthand for BiquadConfig.designBandpass.
designHighpass(double frequency, {double q = 0.7071135624381276}) BiquadConfig
Shorthand for BiquadConfig.designHighpass.
designIdentify() BiquadConfig
Shorthand for BiquadConfig.designIdentity.
designLowpass(double frequency, {double q = 0.7071135624381276}) BiquadConfig
Shorthand for BiquadConfig.designLowpass.
getObjectType(int handle) ObjectType
Get the type of a handle.
incRef(int handle) → void
Increase the reference count for the object with the given handle.
initialize({LogLevel? logLevel, LoggingBackend? loggingBackend, String? libsndfilePath}) → void
Initialise the library.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shutdown() → void
Shutdown the library.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited