Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IRepetitiveSegment

サビなどの繰り返し区間の情報 / Repetitive segment info (e.g., chorus segment)

Hierarchy

Index

Properties

Readonly duration

duration: number

繰り返し区間の継続時間 [ms] / Duration [ms]

endTime

endTime: number

index

index: number

楽曲中の繰り返し区間の位置 / Index of this repetitive segment in the song

next

次の繰り返し区間 / Next repetitive segment

previous

前の繰り返し区間 / Previous repetitive segment

startTime

startTime: number

Methods

contains

  • contains(time: number): boolean
  • Parameters

    • time: number

    Returns boolean

overlaps

  • overlaps(startTime: number, endTime: number): boolean
  • Parameters

    • startTime: number
    • endTime: number

    Returns boolean

progress

  • progress(time: number): number
  • 指定された楽曲中の位置をこの繰り返し区間中の位置 [0, 1] にマッピングして返す

    Returns the position in this repetitive segment [0, 1]

    Parameters

    • time: number

      楽曲中の位置 / Position in a song

    Returns number

Generated using TypeDoc