Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MultitrackConverter

Hierarchy

Index

Constructors

constructor

Properties

NUM_SPLITS

NUM_SPLITS: number = 0

SEGMENTED_BY_TRACK

SEGMENTED_BY_TRACK: true = true

depth

depth: number

endTensor

endTensor: tf.Tensor1D

endToken

endToken: number

maxPitch

maxPitch: number

minPitch

minPitch: number

numPitches

numPitches: number

numPrograms

numPrograms: number

numSegments

numSegments: number

numSteps

numSteps: number

numVelocityBins

numVelocityBins: number

performanceEventDepth

performanceEventDepth: number

stepsPerQuarter

stepsPerQuarter: number

totalSteps

totalSteps: number

Methods

tensorSteps

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

toNoteSequence

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

toTensor

  • toTensor(noteSequence: INoteSequence): tf.Tensor2D

Generated using TypeDoc