Search
Preparing search index...
The search index is not available
@magenta/music - v1.23.1
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
"core/data"
MultitrackConverter
Class MultitrackConverter
Hierarchy
DataConverter
MultitrackConverter
Index
Constructors
constructor
Properties
NUM_
SPLITS
SEGMENTED_
BY_
TRACK
depth
end
Tensor
end
Token
max
Pitch
min
Pitch
num
Pitches
num
Programs
num
Segments
num
Steps
num
Velocity
Bins
performance
Event
Depth
steps
Per
Quarter
total
Steps
Methods
tensor
Steps
to
Note
Sequence
to
Tensor
Constructors
constructor
new
Multitrack
Converter
(
args
:
MultitrackConverterArgs
)
:
MultitrackConverter
Parameters
args:
MultitrackConverterArgs
Returns
MultitrackConverter
Properties
NUM_
SPLITS
NUM_
SPLITS
:
number
= 0
SEGMENTED_
BY_
TRACK
SEGMENTED_
BY_
TRACK
:
true
= true
depth
depth
:
number
end
Tensor
end
Tensor
:
tf.Tensor1D
end
Token
end
Token
:
number
max
Pitch
max
Pitch
:
number
min
Pitch
min
Pitch
:
number
num
Pitches
num
Pitches
:
number
num
Programs
num
Programs
:
number
num
Segments
num
Segments
:
number
num
Steps
num
Steps
:
number
num
Velocity
Bins
num
Velocity
Bins
:
number
performance
Event
Depth
performance
Event
Depth
:
number
steps
Per
Quarter
steps
Per
Quarter
:
number
total
Steps
total
Steps
:
number
Methods
tensor
Steps
tensor
Steps
(
tensor
:
tf.Tensor2D
)
:
tf.Scalar
Parameters
tensor:
tf.Tensor2D
Returns
tf.Scalar
to
Note
Sequence
to
Note
Sequence
(
oh
:
tf.Tensor2D
, stepsPerQuarter
?:
number
, qpm
?:
number
)
:
Promise
<
NoteSequence
>
Parameters
oh:
tf.Tensor2D
Default value
stepsPerQuarter:
number
= this.stepsPerQuarter
Optional
qpm:
number
Returns
Promise
<
NoteSequence
>
to
Tensor
to
Tensor
(
noteSequence
:
INoteSequence
)
:
tf.Tensor2D
Parameters
noteSequence:
INoteSequence
Returns
tf.Tensor2D
Globals
"core/data"
Data
Converter
Drum
Roll
Converter
Drums
Converter
Drums
One
Hot
Converter
Groove
Converter
Melody
Converter
Melody
Rhythm
Converter
Melody
Shape
Converter
Multitrack
Converter
constructor
NUM_
SPLITS
SEGMENTED_
BY_
TRACK
depth
end
Tensor
end
Token
max
Pitch
min
Pitch
num
Pitches
num
Programs
num
Segments
num
Steps
num
Velocity
Bins
performance
Event
Depth
steps
Per
Quarter
total
Steps
tensor
Steps
to
Note
Sequence
to
Tensor
Trio
Converter
Trio
Rhythm
Converter
Base
Converter
Args
Drum
Roll
Converter
Spec
Drums
Converter
Args
Drums
Converter
Spec
Drums
One
Hot
Converter
Spec
Groove
Converter
Args
Groove
Converter
Spec
Melody
Converter
Args
Melody
Converter
Spec
Melody
Rhythm
Converter
Spec
Melody
Shape
Converter
Spec
Multitrack
Converter
Args
Multitrack
Converter
Spec
Trio
Converter
Args
Trio
Converter
Spec
Trio
Rhythm
Converter
Spec
Converter
Spec
converter
From
Spec
Generated using
TypeDoc