Table of Contents

Class IdentityPositionTransform

Namespace
NAudio.Sequencing
Assembly
NAudio.Core.dll

The no-op position transform. Use this when no swing/quantize/humanize is needed.

public sealed class IdentityPositionTransform : IPositionTransform
Inheritance
IdentityPositionTransform
Implements
Inherited Members

Properties

Instance

Shared singleton instance.

public static IdentityPositionTransform Instance { get; }

Property Value

IdentityPositionTransform

MaxShiftTicks

An upper bound on |effective − nominal| over all inputs. Consumers use this to expand the nominal range they query so no event is silently dropped by the transform pushing it across a buffer boundary.

public long MaxShiftTicks { get; }

Property Value

long

Methods

Transform(long)

The effective tick for an event whose stored (nominal) tick is nominalTick.

public long Transform(long nominalTick)

Parameters

nominalTick long

Returns

long