Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IChord

コード進行の情報 / Chord info

Hierarchy

Index

Properties

Readonly duration

duration: number

コード進行の継続時間 [ms] / Duration [ms]

endTime

endTime: number

index

index: number

楽曲中のコード進行位置 / Index of this chord in the song

name

name: string

コード進行 / Chord

next

next: IChord

次のコード / Next chord

previous

previous: IChord

前のコード / Previous chord

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 chord [0, 1]

    Parameters

    • time: number

      楽曲中の位置 / Position in a song

    Returns number

Generated using TypeDoc