Skip navigation links
A C D E G H I K L M N O P R S T V W 

A

addCloseable(Closeable) - Method in class net.kreatious.pianoleopard.midi.OutputModel
Adds a closeable to close when this output model is closed.
addCurrentTimeListener(LongConsumer) - Method in class net.kreatious.pianoleopard.midi.OutputModel
Adds a listener to notify when the current playback time in microseconds has changed.
addEventHandler(BiFunction<MidiMessage, Optional<Event>, OutputModel.EventAction>) - Method in class net.kreatious.pianoleopard.midi.OutputModel
Adds an event handler to handle MIDI events.
addInputDeviceListener(Consumer<? super MidiDevice.Info>) - Method in class net.kreatious.pianoleopard.midi.InputModel
Adds a listener to notify when the input device has changed.
addInputListener(Consumer<? super Event>) - Method in class net.kreatious.pianoleopard.midi.InputModel
Adds a listener to notify when the user has pressed a key
addOpenListener(Consumer<? super ParsedSequence>) - Method in class net.kreatious.pianoleopard.midi.OutputModel
Adds a listener to notify when a parsed MIDI file is opened.
addOutputDeviceListener(Consumer<? super MidiDevice.Info>) - Method in class net.kreatious.pianoleopard.midi.OutputModel
Adds a listener to notify when the output device has changed.
addPlayListener(Runnable) - Method in class net.kreatious.pianoleopard.midi.OutputModel
Adds a listener to notify when a parsed MIDI file is played from the beginning.

C

clear() - Method in class net.kreatious.pianoleopard.intervalset.IntervalSet
Removes all values from this set.
close() - Method in class net.kreatious.pianoleopard.midi.InputModel
 
close() - Method in class net.kreatious.pianoleopard.midi.OutputModel
 
convert(MidiMessage) - Static method in class net.kreatious.pianoleopard.midi.track.MidiMessageToString
 
create(File, OutputModel, InputModel) - Static method in class net.kreatious.pianoleopard.history.History
Creates a new History that manages historical events generated by the user.
create(MidiEvent, TempoCache) - Static method in class net.kreatious.pianoleopard.midi.event.EventFactory
Constructs a new immutable subclass of Event with the appropriate information.
create(MidiMessage, long) - Static method in class net.kreatious.pianoleopard.midi.event.EventFactory
Constructs a new immutable subclass of Event with the appropriate information.
create(OutputModel) - Static method in class net.kreatious.pianoleopard.midi.InputModel
Constructs a new InputModel with the specified initial state.
create(OutputModel, InputModel) - Static method in class net.kreatious.pianoleopard.painter.PainterPanel
Constructs a new PainterPanel connected to the specified track containing events played by the user
createEmpty() - Static method in class net.kreatious.pianoleopard.midi.track.ParsedSequence
Returns an empty parsed sequence containing nothing.
createOff(long) - Method in class net.kreatious.pianoleopard.midi.event.Event
Creates a new off event of the same type and slot with the specified timestamp.
createOff(long) - Method in class net.kreatious.pianoleopard.midi.event.NoteEvent
 
createOff(long) - Method in class net.kreatious.pianoleopard.midi.event.PedalEvent
 

D

DefaultEventLayout - Class in net.kreatious.pianoleopard.painter.layout
Provides the default layout coordinates used for drawing events.
DefaultEventLayout(Dimension) - Constructor for class net.kreatious.pianoleopard.painter.layout.DefaultEventLayout
Constructs a new DefaultEventLayout with the specified initial component dimensions.

E

equals(Object) - Method in class net.kreatious.pianoleopard.midi.event.Slot
 
Event - Class in net.kreatious.pianoleopard.midi.event
Represents a MIDI message associated with a particular channel and a timestamp in microseconds.
EventFactory - Class in net.kreatious.pianoleopard.midi.event
Creates Event subclasses from MidiEvents
EventLayout - Interface in net.kreatious.pianoleopard.painter.layout
Provides the layout coordinates used for drawing events.
EventPair<T extends Event> - Class in net.kreatious.pianoleopard.midi.event
Represents an immutable pair of on/off events
EventPair(T, T) - Constructor for class net.kreatious.pianoleopard.midi.event.EventPair
Constructs a new EventPair with the specified pair of events

G

getActiveTracks() - Method in class net.kreatious.pianoleopard.midi.track.ParsedSequence
Gets the active tracks stored by this parsed MIDI sequence.
getChannel() - Method in class net.kreatious.pianoleopard.midi.event.Event
Gets the channel on which this event occurs.
getChannel() - Method in class net.kreatious.pianoleopard.midi.event.EventPair
 
getData() - Method in enum net.kreatious.pianoleopard.midi.event.Pedal
Returns the raw MIDI data value associated with a control change message.
getDuration() - Method in class net.kreatious.pianoleopard.midi.event.EventPair
 
getFile() - Method in class net.kreatious.pianoleopard.midi.track.ParsedSequence
Gets the file that this sequence was originally created from.
getHighestVisibleTime(long) - Method in class net.kreatious.pianoleopard.painter.layout.DefaultEventLayout
 
getHighestVisibleTime(long) - Method in interface net.kreatious.pianoleopard.painter.layout.EventLayout
Calculates the highest visible time that can be laid out and still fit within the current layout.
getInactiveTracks() - Method in class net.kreatious.pianoleopard.midi.track.ParsedSequence
Gets the inactive tracks stored by this parsed MIDI sequence.
getInput() - Method in class net.kreatious.pianoleopard.keyboardselect.Keyboard
Obtains the current input MIDI device.
getKey() - Method in class net.kreatious.pianoleopard.midi.event.NoteEvent
Returns the note number associated with this event.
getLowestVisibleTime(long) - Method in class net.kreatious.pianoleopard.painter.layout.DefaultEventLayout
 
getLowestVisibleTime(long) - Method in interface net.kreatious.pianoleopard.painter.layout.EventLayout
Calculates the lowest visible time that can be laid out and still fit within the current layout.
getMidiDevices() - Method in class net.kreatious.pianoleopard.keyboardselect.SystemMidiDeviceFactory
 
getNotePairs(long, long) - Method in class net.kreatious.pianoleopard.midi.InputModel
 
getNotePairs(long, long) - Method in interface net.kreatious.pianoleopard.midi.track.ParsedTrack
Gets the note event pairs overlapping with the specified interval
getOff() - Method in class net.kreatious.pianoleopard.midi.event.EventPair
 
getOffTime() - Method in class net.kreatious.pianoleopard.midi.event.EventPair
 
getOn() - Method in class net.kreatious.pianoleopard.midi.event.EventPair
 
getOnTime() - Method in class net.kreatious.pianoleopard.midi.event.EventPair
 
getOutput() - Method in class net.kreatious.pianoleopard.keyboardselect.Keyboard
Obtains the current output MIDI device.
getPedal() - Method in class net.kreatious.pianoleopard.midi.event.PedalEvent
 
getPedalPairs(long, long) - Method in class net.kreatious.pianoleopard.midi.InputModel
 
getPedalPairs(long, long) - Method in interface net.kreatious.pianoleopard.midi.track.ParsedTrack
Gets the pedal event pairs overlapping with the specified interval
getSequence() - Method in class net.kreatious.pianoleopard.midi.track.ParsedSequence
Gets the original MIDI sequence used to create this parsed MIDI sequence.
getSequencer() - Method in class net.kreatious.pianoleopard.midi.SystemSequencerFactory
 
getSlot() - Method in class net.kreatious.pianoleopard.midi.event.Event
Gets a slot that uniquely identifies which interval events belong to.
getSlot() - Method in class net.kreatious.pianoleopard.midi.event.EventPair
 
getSlot() - Method in class net.kreatious.pianoleopard.midi.event.NoteEvent
 
getSlot() - Method in class net.kreatious.pianoleopard.midi.event.PedalEvent
 
getTime() - Method in class net.kreatious.pianoleopard.midi.event.Event
Gets the time in microseconds at which this event occurs.
getTracks() - Method in class net.kreatious.pianoleopard.midi.track.ParsedSequence
Gets all tracks stored by this parsed MIDI sequence.
getVelocity() - Method in class net.kreatious.pianoleopard.midi.event.NoteEvent
Returns the velocity associated with this event.

H

hashCode() - Method in class net.kreatious.pianoleopard.midi.event.Slot
 
History - Class in net.kreatious.pianoleopard.history
Provides a history of user events.
HistoryVisitor - Class in net.kreatious.pianoleopard.history
Visits the events performed historically by the user.
HistoryVisitor() - Constructor for class net.kreatious.pianoleopard.history.HistoryVisitor
 

I

InactiveEventLayout - Class in net.kreatious.pianoleopard.painter.layout
Provides the coordinates for drawing events not to be played by the user.
InactiveEventLayout(Dimension) - Constructor for class net.kreatious.pianoleopard.painter.layout.InactiveEventLayout
Constructs a new InactiveEventLayout with the initial specified component layout dimensions
InputModel - Class in net.kreatious.pianoleopard.midi
Model for the MIDI input keyboard, allows controllers to listen for events.
IntervalSet<V> - Class in net.kreatious.pianoleopard.intervalset
An ordered tree data structure for holding intervals.
IntervalSet() - Constructor for class net.kreatious.pianoleopard.intervalset.IntervalSet
 
isOn() - Method in class net.kreatious.pianoleopard.midi.event.Event
Gets if this event is an off to on transition.
isOn() - Method in class net.kreatious.pianoleopard.midi.event.NoteEvent
 
isOn() - Method in class net.kreatious.pianoleopard.midi.event.PedalEvent
 
isSharp() - Method in class net.kreatious.pianoleopard.midi.event.NoteEvent
Returns if this note is considered sharp or not.
iterator() - Method in class net.kreatious.pianoleopard.intervalset.IntervalSet
 

K

Keyboard - Class in net.kreatious.pianoleopard.keyboardselect
Represents the MIDI keyboard in use by the current application
Keyboard(MidiDevice, MidiDevice) - Constructor for class net.kreatious.pianoleopard.keyboardselect.Keyboard
Constructs a new Keyboard with the specified input and output devices

L

layoutNote(long, EventPair<NoteEvent>, Rectangle) - Method in class net.kreatious.pianoleopard.painter.layout.DefaultEventLayout
 
layoutNote(long, EventPair<NoteEvent>, Rectangle) - Method in interface net.kreatious.pianoleopard.painter.layout.EventLayout
Lays out the coordinates for drawing the specified note event.
layoutNote(long, EventPair<NoteEvent>, Rectangle) - Method in class net.kreatious.pianoleopard.painter.layout.InactiveEventLayout
 
layoutNote(long, EventPair<NoteEvent>, Rectangle) - Method in class net.kreatious.pianoleopard.painter.layout.PlayedEventLayout
 
layoutPedal(long, EventPair<PedalEvent>, Rectangle) - Method in class net.kreatious.pianoleopard.painter.layout.DefaultEventLayout
 
layoutPedal(long, EventPair<PedalEvent>, Rectangle) - Method in interface net.kreatious.pianoleopard.painter.layout.EventLayout
Lays out the coordinates for drawing the specified pedal event.
LightedKeyboardSelector - Class in net.kreatious.pianoleopard.keyboardselect
Provides a GUI element for selecting the options of a lighted keyboard
lookup(int) - Static method in enum net.kreatious.pianoleopard.midi.event.Pedal
Determines the pedal enum associated with a MIDI data value.

M

Main - Class in net.kreatious.pianoleopard
Provides the main application interface for learning how to play the piano.
Main() - Constructor for class net.kreatious.pianoleopard.Main
 
main(String[]) - Static method in class net.kreatious.pianoleopard.Main
Application main entry point
MidiMessageToString - Class in net.kreatious.pianoleopard.midi.track
Verb/Provides
MidiMessageToString() - Constructor for class net.kreatious.pianoleopard.midi.track.MidiMessageToString
 

N

NAV_CHANNEL_PREFERENCE - Static variable in class net.kreatious.pianoleopard.keyboardselect.LightedKeyboardSelector
The preference storage location for the navigation channel.
net.kreatious.pianoleopard - package net.kreatious.pianoleopard
Main package for the entire application, contains the view and its controllers.
net.kreatious.pianoleopard.history - package net.kreatious.pianoleopard.history
Provides analytics over play history over time.
net.kreatious.pianoleopard.intervalset - package net.kreatious.pianoleopard.intervalset
An implementation of an interval tree supporting efficient interval searches
net.kreatious.pianoleopard.keyboardselect - package net.kreatious.pianoleopard.keyboardselect
Select MIDI keyboard dialog
net.kreatious.pianoleopard.midi - package net.kreatious.pianoleopard.midi
Data models backed by physical MIDI sequencer devices
net.kreatious.pianoleopard.midi.event - package net.kreatious.pianoleopard.midi.event
Data model for MIDI events
net.kreatious.pianoleopard.midi.track - package net.kreatious.pianoleopard.midi.track
Data model for a parsed MIDI sequence
net.kreatious.pianoleopard.painter - package net.kreatious.pianoleopard.painter
Painter for drawing notes
net.kreatious.pianoleopard.painter.layout - package net.kreatious.pianoleopard.painter.layout
Layout strategies for the painter
NoteEvent - Class in net.kreatious.pianoleopard.midi.event
Represents a note on or off event that is associated with a particular key (note) number.
NoteEvent(int, boolean, long) - Constructor for class net.kreatious.pianoleopard.midi.event.NoteEvent
Constructs a new NoteEvent with the specified data.

O

onFile(byte[], long) - Method in class net.kreatious.pianoleopard.history.HistoryVisitor
Called when the user has opened a file.
onKey(byte, byte, byte, long, long) - Method in class net.kreatious.pianoleopard.history.HistoryVisitor
Called when the user has pressed a key in the past.
onParsingComplete() - Method in class net.kreatious.pianoleopard.history.HistoryVisitor
Called after parsing is complete.
onStart(long) - Method in class net.kreatious.pianoleopard.history.HistoryVisitor
Called when the user begins a practice session.
openMidiFile(File) - Method in class net.kreatious.pianoleopard.midi.OutputModel
Parses a MIDI file and prepares it for playback.
OutputModel - Class in net.kreatious.pianoleopard.midi
Model for the MIDI output sequencer, allows controllers to listen for events.
OutputModel(SequencerFactory) - Constructor for class net.kreatious.pianoleopard.midi.OutputModel
Constructs a new OutputModel with the specified initial state.
OutputModel.EventAction - Enum in net.kreatious.pianoleopard.midi
Indicates which action to take in response to an event handler.

P

PainterPanel - Class in net.kreatious.pianoleopard.painter
Renders the currently playing sequence into a panel using double buffering.
parseByTracks(Sequence) - Static method in class net.kreatious.pianoleopard.midi.track.ParsedSequence
Parses a MIDI sequence, arranging it by tracks
ParsedSequence - Class in net.kreatious.pianoleopard.midi.track
Represents a parsed MIDI sequence containing multiple parsed tracks
ParsedTrack - Interface in net.kreatious.pianoleopard.midi.track
Provides an immutable view of a MIDI track with efficient retrieval by time range.
Pedal - Enum in net.kreatious.pianoleopard.midi.event
Represents the various foot pedal
PedalEvent - Class in net.kreatious.pianoleopard.midi.event
Represents an event that is associated with a pedal.
PlayedEventLayout - Class in net.kreatious.pianoleopard.painter.layout
Provides the coordinates for drawing events played by the user.
PlayedEventLayout(Dimension) - Constructor for class net.kreatious.pianoleopard.painter.layout.PlayedEventLayout
Constructs a new PlayedEventLayout with the initial specified component layout dimensions
put(long, long, V) - Method in class net.kreatious.pianoleopard.intervalset.IntervalSet
Associates the specified interval with the specified value in this set.

R

removeFirst(long, long, Predicate<? super V>) - Method in class net.kreatious.pianoleopard.intervalset.IntervalSet
Removes the first value for the specified interval from this set that matches the given criteria.

S

SelectKeyboardDialog - Class in net.kreatious.pianoleopard.keyboardselect
Provides the GUI for selecting the desired MIDI device
SelectKeyboardDialog(Optional<Keyboard>, MidiDeviceFactory, Preferences) - Constructor for class net.kreatious.pianoleopard.keyboardselect.SelectKeyboardDialog
Constructs a new SelectKeyboardDialog for selecting the desired MIDI device.
sendMessage(MidiMessage) - Method in class net.kreatious.pianoleopard.midi.OutputModel
Sends a MIDI message to the output.
setComponentDimensions(Dimension) - Method in class net.kreatious.pianoleopard.painter.layout.DefaultEventLayout
 
setComponentDimensions(Dimension) - Method in interface net.kreatious.pianoleopard.painter.layout.EventLayout
Resizes the layout to fit the specified component dimensions.
setCurrentTime(long) - Method in class net.kreatious.pianoleopard.midi.OutputModel
Seeks the sequence to the specified time
setFile(Optional<File>) - Method in class net.kreatious.pianoleopard.midi.track.ParsedSequence
Sets the file that this sequence was originally created from.
setInputDevice(MidiDevice) - Method in class net.kreatious.pianoleopard.midi.InputModel
Reconnects the input to a different MIDI input device.
setOutputDevice(MidiDevice) - Method in class net.kreatious.pianoleopard.midi.OutputModel
Reconnects the sequencer to a different MIDI output device.
setTempoFactor(float) - Method in class net.kreatious.pianoleopard.midi.OutputModel
Adjusts the tempo of played back sequences.
setTrackActive(ParsedTrack, boolean) - Method in class net.kreatious.pianoleopard.midi.track.ParsedSequence
Sets the specified track as active.
showDialog(Optional<Component>) - Method in class net.kreatious.pianoleopard.keyboardselect.SelectKeyboardDialog
Shows the select keyboard dialog.
size() - Method in class net.kreatious.pianoleopard.intervalset.IntervalSet
Returns the size of this set.
Slot - Class in net.kreatious.pianoleopard.midi.event
Represents a slot that uniquely identifies which interval events within the same channel belong to.
start() - Method in class net.kreatious.pianoleopard.midi.OutputModel
Starts playback of the currently loaded MIDI file.
startReading(HistoryVisitor) - Method in class net.kreatious.pianoleopard.history.History
Starts parsing the log file with the specified visitor, if the log file exists.
stopReading(HistoryVisitor) - Method in class net.kreatious.pianoleopard.history.History
Stops reading the log file with the specified visitor.
subSet(long, long) - Method in class net.kreatious.pianoleopard.intervalset.IntervalSet
Returns an iterable read only view of the values in this set that overlaps the specified interval.
SystemMidiDeviceFactory - Class in net.kreatious.pianoleopard.keyboardselect
Provides the MIDI devices connected to the current system.
SystemMidiDeviceFactory() - Constructor for class net.kreatious.pianoleopard.keyboardselect.SystemMidiDeviceFactory
 
SystemSequencerFactory - Class in net.kreatious.pianoleopard.midi
Provides the MIDI sequencer for the current system.
SystemSequencerFactory() - Constructor for class net.kreatious.pianoleopard.midi.SystemSequencerFactory
 

T

TempoCache - Class in net.kreatious.pianoleopard.midi.event
Maps from MIDI ticks to microseconds.
TempoCache(Sequence) - Constructor for class net.kreatious.pianoleopard.midi.event.TempoCache
Constructs a new TempoCache with the specified MIDI Sequence
ticksToMicroseconds(long) - Method in class net.kreatious.pianoleopard.midi.event.TempoCache
Converts a MIDI tick into elapsed microseconds
toString() - Method in class net.kreatious.pianoleopard.keyboardselect.Keyboard
 
toString() - Method in class net.kreatious.pianoleopard.midi.event.Event
 
toString() - Method in class net.kreatious.pianoleopard.midi.event.EventPair
 
toString() - Method in class net.kreatious.pianoleopard.midi.event.Slot
 

V

valueOf(String) - Static method in enum net.kreatious.pianoleopard.midi.event.Pedal
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.kreatious.pianoleopard.midi.OutputModel.EventAction
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.kreatious.pianoleopard.midi.event.Pedal
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.kreatious.pianoleopard.midi.OutputModel.EventAction
Returns an array containing the constants of this enum type, in the order they are declared.

W

withOffTime(long) - Method in class net.kreatious.pianoleopard.midi.event.EventPair
Creates a new off event pair of the same type and slot with the specified off timestamp.
A C D E G H I K L M N O P R S T V W 
Skip navigation links

Copyright © 2015 Kreatious LLC. All rights reserved.