toggle menu
ktmidi
0.8.2
common
switch theme
search in API
ktmidi
/
dev.atsushieno.ktmidi
/
MidiPlayer
Midi
Player
abstract
class
MidiPlayer
Inheritors
Midi1Player
Midi2Player
Members
Properties
bpm
Link copied to clipboard
val
bpm
:
Int
finished
Link copied to clipboard
var
finished
:
Runnable
?
playback
Completed
To
End
Link copied to clipboard
var
playbackCompletedToEnd
:
Runnable
?
play
Delta
Time
Link copied to clipboard
val
playDeltaTime
:
Int
position
In
Milliseconds
Link copied to clipboard
abstract
val
positionInMilliseconds
:
Long
state
Link copied to clipboard
val
state
:
PlayerState
tempo
Link copied to clipboard
var
tempo
:
Int
tempo
Change
Ratio
Link copied to clipboard
var
tempoChangeRatio
:
Double
time
Signature
Link copied to clipboard
val
timeSignature
:
List
<
Byte
>
total
Play
Time
Milliseconds
Link copied to clipboard
abstract
val
totalPlayTimeMilliseconds
:
Int
Functions
close
Link copied to clipboard
fun
close
(
)
pause
Link copied to clipboard
fun
pause
(
)
play
Link copied to clipboard
fun
play
(
)
seek
Link copied to clipboard
abstract
fun
seek
(
ticks
:
Int
)
set
Muted
Channels
Link copied to clipboard
abstract
fun
setMutedChannels
(
mutedChannels
:
Iterable
<
Int
>
)
stop
Link copied to clipboard
fun
stop
(
)