# WordTimestamp

    struct WordTimestamp: Sendable, Equatable

Word-level timing alignment mapping an input word to audio seconds.
- `
  ### [init(word:startChar:endChar:startSec:endSec:)](https://developers.google.com/edge/api/mediapipe/swift/audio/Structs/WordTimestamp.md.txt#/s:19MediaPipeTasksAudio13WordTimestampV4word9startChar03endI00H3Sec0jK0ACSS_S2iS2ftcfc)

  `

  #### Declaration

  Swift

      init(word: String, startChar: Int, endChar: Int, startSec: Float, endSec: Float)

- `
  ### [endChar](https://developers.google.com/edge/api/mediapipe/swift/audio/Structs/WordTimestamp.md.txt#/s:19MediaPipeTasksAudio13WordTimestampV7endCharSivp)

  `

  #### Declaration

  Swift

      var endChar: Int

- `
  ### [endSec](https://developers.google.com/edge/api/mediapipe/swift/audio/Structs/WordTimestamp.md.txt#/s:19MediaPipeTasksAudio13WordTimestampV6endSecSfvp)

  `

  #### Declaration

  Swift

      var endSec: Float

- `
  ### [startChar](https://developers.google.com/edge/api/mediapipe/swift/audio/Structs/WordTimestamp.md.txt#/s:19MediaPipeTasksAudio13WordTimestampV9startCharSivp)

  `

  #### Declaration

  Swift

      var startChar: Int

- `
  ### [startSec](https://developers.google.com/edge/api/mediapipe/swift/audio/Structs/WordTimestamp.md.txt#/s:19MediaPipeTasksAudio13WordTimestampV8startSecSfvp)

  `

  #### Declaration

  Swift

      var startSec: Float

- `
  ### [word](https://developers.google.com/edge/api/mediapipe/swift/audio/Structs/WordTimestamp.md.txt#/s:19MediaPipeTasksAudio13WordTimestampV4wordSSvp)

  `

  #### Declaration

  Swift

      var word: String