Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GrooveConverter

Hierarchy

Index

Constructors

constructor

Properties

NUM_SPLITS

NUM_SPLITS: number = 0

SEGMENTED_BY_TRACK

SEGMENTED_BY_TRACK: boolean = false

TAPIFY_CHANNEL

TAPIFY_CHANNEL: 3 = 3

depth

depth: number

endTensor

endTensor: tf.Tensor1D

humanize

humanize: boolean

numSegments

numSegments: number

numSteps

numSteps: number

pitchClasses

pitchClasses: number[][]

pitchToClass

pitchToClass: Map<number, number>

splitInstruments

splitInstruments: boolean

stepsPerQuarter

stepsPerQuarter: number

tapify

tapify: boolean

Methods

tensorSteps

  • tensorSteps(tensor: tf.Tensor2D): tf.Scalar

toNoteSequence

  • toNoteSequence(t: tf.Tensor2D, stepsPerQuarter?: number, qpm?: number): Promise<NoteSequence>

toTensor

  • toTensor(ns: INoteSequence): tf.Tensor2D

Generated using TypeDoc