Table of Contents

Class Modulator

Namespace
NAudio.SoundFont
Assembly
NAudio.Core.dll

Modulator

public class Modulator
Inheritance
Modulator
Inherited Members

Properties

Amount

Amount

public short Amount { get; set; }

Property Value

short

DestinationGenerator

Destination generator type

public GeneratorEnum DestinationGenerator { get; set; }

Property Value

GeneratorEnum

SourceModulationAmount

Source Modulation Amount Type

public ModulatorType SourceModulationAmount { get; set; }

Property Value

ModulatorType

SourceModulationData

Source Modulation data type

public ModulatorType SourceModulationData { get; set; }

Property Value

ModulatorType

SourceTransform

Source Transform Type

public TransformEnum SourceTransform { get; set; }

Property Value

TransformEnum

Methods

HasIdenticalRouting(Modulator)

Whether this modulator has the same source, amount-source, destination and transform as another — i.e. they are "identical" for the purposes of the SoundFont 2.04 §9.5 combination rules, where a modulator at a more specific level supersedes one with the same identity at a more general level. The Amount is deliberately excluded.

public bool HasIdenticalRouting(Modulator other)

Parameters

other Modulator

Returns

bool

ToString()

public override string ToString()

Returns

string