# SpeechAlignment

> Tracon documentation. Tracon is a .NET package family that adds a control
> plane on Microsoft Agent Framework, published as NuGet packages that run
> inside your own ASP.NET Core application.
>
> Page: https://tracon.dev/api/tracon.speechalignment/
> Summary: SpeechAlignment: One character's position in the generated audio.

<div class="api-provenance">Namespace Tracon · Assembly <code>Tracon.Abstractions.dll</code></div>

One character's position in the generated audio.

```csharp
public sealed record SpeechAlignment : IEquatable<SpeechAlignment>
```

<dl class="api-relations"><dt>Inheritance</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object">object</a> ← <a href="/api/tracon.speechalignment/">SpeechAlignment</a></dd><dt>Implements</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable&lt;SpeechAlignment&gt;</a></dd><dt>Inherited Members</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a></dd></dl>

## Remarks

Character-level, not word-level: this is the granularity ElevenLabs' `.../with-timestamps`
endpoint reports (verified against its published OpenAPI document, 2026-08-19).
Grouping characters into words or producing a subtitle format (SRT/VTT) is left
to the consumer: the raw form is enough.

## Constructors

### <a id="Tracon_SpeechAlignment__ctor"></a> SpeechAlignment\(\)

```csharp
public SpeechAlignment()
```

## Properties

### <a id="Tracon_SpeechAlignment_Character"></a> Character

The character, as sent in the request text.

```csharp
public required string Character { get; init; }
```

#### Property Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="Tracon_SpeechAlignment_End"></a> End

When the character ends, relative to the start of the audio.

```csharp
public required TimeSpan End { get; init; }
```

#### Property Value

 [TimeSpan](https://learn.microsoft.com/dotnet/api/system.timespan)

### <a id="Tracon_SpeechAlignment_Start"></a> Start

When the character starts, relative to the start of the audio.

```csharp
public required TimeSpan Start { get; init; }
```

#### Property Value

 [TimeSpan](https://learn.microsoft.com/dotnet/api/system.timespan)

## Methods

### <a id="Tracon_SpeechAlignment_Equals_System_Object_"></a> Equals\(object?\)

```csharp
public override bool Equals(object? obj)
```

#### Parameters

`obj` [object](https://learn.microsoft.com/dotnet/api/system.object)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_SpeechAlignment_Equals_Tracon_SpeechAlignment_"></a> Equals\(SpeechAlignment?\)

```csharp
public bool Equals(SpeechAlignment? other)
```

#### Parameters

`other` [SpeechAlignment](/api/tracon.speechalignment/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_SpeechAlignment_GetHashCode"></a> GetHashCode\(\)

```csharp
public override int GetHashCode()
```

#### Returns

 [int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="Tracon_SpeechAlignment_ToString"></a> ToString\(\)

```csharp
public override string ToString()
```

#### Returns

 [string](https://learn.microsoft.com/dotnet/api/system.string)

## Operators

### <a id="Tracon_SpeechAlignment_op_Equality_Tracon_SpeechAlignment_Tracon_SpeechAlignment_"></a> operator ==\(SpeechAlignment?, SpeechAlignment?\)

```csharp
public static bool operator ==(SpeechAlignment? left, SpeechAlignment? right)
```

#### Parameters

`left` [SpeechAlignment](/api/tracon.speechalignment/)?

`right` [SpeechAlignment](/api/tracon.speechalignment/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_SpeechAlignment_op_Inequality_Tracon_SpeechAlignment_Tracon_SpeechAlignment_"></a> operator \!=\(SpeechAlignment?, SpeechAlignment?\)

```csharp
public static bool operator !=(SpeechAlignment? left, SpeechAlignment? right)
```

#### Parameters

`left` [SpeechAlignment](/api/tracon.speechalignment/)?

`right` [SpeechAlignment](/api/tracon.speechalignment/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)
