abc4j API Specification
A B C D E F G H I J K L M N O P Q R S T U V W

A

A - Static variable in class abc.notation.Note
The A note height type : A440
a - Static variable in class abc.notation.Note
The a note height type.
abc.midi - package abc.midi
This package contains all classes for midi use from abc format.
abc.notation - package abc.notation
This package defines all classes related to tunes in abc notation.
abc.parser - package abc.parser
This package contains classes for parsing tunes in abc notation.
abc.ui.awt - package abc.ui.awt
This package contains classes for displaying abc related objects in awt UI components.
abc.ui.swing - package abc.ui.swing
This package contains classes for displaying abc related objects in swing UI components.
Such components are closely linked to music abstractions defined in package abc.notation and propose advanced UI components that take advantage of information offered by objects such as Tune, Tune.Music etc...
abc.xml - package abc.xml
This package contains classes to convert tunes to musicXML format.
Abc2xml - Class in abc.xml
 
Abc2xml() - Constructor for class abc.xml.Abc2xml
 
AbcFileParser - Class in abc.parser
This class provides instances to parse files and streams using abc notation.
AbcFileParser() - Constructor for class abc.parser.AbcFileParser
Creates a new abc file parser.
AbcFileParserAdapter - Class in abc.parser
A default implementation of a file parser listener that does nothing.
AbcFileParserAdapter() - Constructor for class abc.parser.AbcFileParserAdapter
 
AbcFileParserListenerInterface - Interface in abc.parser
The interface to be implemented when parsing abc files.
AbcHeadersParser - Class in abc.parser
This class provides parser instances that reduce the parsing scope to tunes headers (music is excluded).
AbcHeadersParser() - Constructor for class abc.parser.AbcHeadersParser
Default constructor.
AbcParserAbstract - Class in abc.parser
Abstract class from which all abc notation parsers inherit.
AbcParserAbstract() - Constructor for class abc.parser.AbcParserAbstract
Constructs a new tune parser.
AbcTokenType - Class in abc.parser
This class defines all types of token that can be encountered while parsing a tune written using abc notation.
AbcTokenType(String) - Constructor for class abc.parser.AbcTokenType
 
AbcToolkit - Class in abc.parser
A class that provides convenience methods to manipulate abc related strings and their representation using objects from the abc.notation package.
AbcToolkit() - Constructor for class abc.parser.AbcToolkit
 
AbcToolkit.DurationDescription - Class in abc.parser
 
ACCIDENTAL - Static variable in class abc.parser.AbcTokenType
 
AccidentalType - Interface in abc.notation
Constants for accidental types.
add(TokenType) - Method in class scanner.Set
Adds the specified token type in the set.
add(char[]) - Method in class scanner.Transition
Adds new characters to this transition to activate it.
addElement(KeySignature) - Method in class abc.notation.Tune.Music
 
addElement(NoteAbstract) - Method in class abc.notation.Tune.Music
 
addHistory(String) - Method in class abc.notation.Tune
Adds historical information about the tune.
addListener(TunePlayerListenerInterface) - Method in class abc.midi.TunePlayer
Adds a listener to this tune player.
addListener(AbcFileParserListenerInterface) - Method in class abc.parser.AbcFileParser
Adds a listener to catch events thrwon by the parser durin tune parsing.
addListener(TuneParserListenerInterface) - Method in class abc.parser.AbcParserAbstract
Adds a listener to catch events thrown by the parser durin tune parsing.
addListener(TuneBookListenerInterface) - Method in class abc.parser.TuneBook
Adds a listener to this tunebook to be aware of tunes changes.
addListener(TuneParserListenerInterface) - Method in class abc.parser.TuneParser
Adds a listener to catch events thrwon by the parser durin tune parsing.
addListener(ScannerListenerInterface) - Method in class scanner.Scanner
Adds a listener to this scanner.
addPart(RepeatedPartAbstract) - Method in class abc.notation.MultiPartsDefinition
Adds a new part to this multi part.
addTitle(String) - Method in class abc.notation.Tune
Adds a title to this tune.
addTranscriptionNotes(String) - Method in class abc.notation.Tune
Adds notes about transcription of this tune.
addTransition(Transition) - Method in class scanner.State
Adds a transition to this state.
AEOLIAN - Static variable in class abc.notation.KeySignature
The aeolian mode type.
ALPHA - Static variable in class abc.parser.AbcTokenType
The ALPHA token type : characters from a to z and A to Z.
AsynchronousTuneParser - Class in abc.parser
A parser that parses abc gammar into its own thread context.
AsynchronousTuneParser() - Constructor for class abc.parser.AsynchronousTuneParser
Constructs a new tune parser.
AsynchronousTuneParser(boolean) - Constructor for class abc.parser.AsynchronousTuneParser
 
AutomataDefinition - Class in scanner
This class enables the description of automatas.
AutomataDefinition() - Constructor for class scanner.AutomataDefinition
Constructs a new definition.
AutomataDefinition(State) - Constructor for class scanner.AutomataDefinition
Creates a new definition with the given starting state.

B

B - Static variable in class abc.notation.Note
The B note height type.
b - Static variable in class abc.notation.Note
The b note height type.
BarLine - Class in abc.notation
This class defines bar lines.
BarLine() - Constructor for class abc.notation.BarLine
Default constructor.
BarLine(byte) - Constructor for class abc.notation.BarLine
Creates a new bar line with the corresponding type.
BARLINE - Static variable in class abc.parser.AbcTokenType
 
BASE_NOTE - Static variable in class abc.parser.AbcTokenType
The base note token type : from 'A' to 'G' and from 'a' to 'g'.
BasicMidiConverter - Class in abc.midi
A basic midi converter that just plays melody, ignores ornaments and chords.
BasicMidiConverter() - Constructor for class abc.midi.BasicMidiConverter
 
BasicPositionableMidiConverter - Class in abc.midi
A basic midi converter that just plays melody, ignores ornaments and chords.
BasicPositionableMidiConverter() - Constructor for class abc.midi.BasicPositionableMidiConverter
 
BEGIN_SLUR - Static variable in class abc.parser.AbcTokenType
 
BROKEN_RHYTHM - Static variable in class abc.parser.AbcTokenType
 

C

C - Static variable in class abc.notation.Note
The C note height type.
c - Static variable in class abc.notation.Note
The c note height type.
C_METER - Static variable in class abc.parser.AbcTokenType
The meter C token type : "C" for 4/4, "C|" for 2/2.
C_TEMPO - Static variable in class abc.parser.AbcTokenType
The C tempo token type : character 'C'.
CharStreamPosition - Class in scanner
This class defines positions in a stream of characters.
CharStreamPosition() - Constructor for class scanner.CharStreamPosition
Creates a new position with default values (column=1, line=1, offset=0).
CharStreamPosition(CharStreamPosition) - Constructor for class scanner.CharStreamPosition
Creates a new position a the same place as the given one.
CharStreamPosition(int, int, int) - Constructor for class scanner.CharStreamPosition
Creates a new position at the specified place.
CHORD_NAME - Static variable in class abc.parser.AbcTokenType
The chord name token type : character '"'.
CHORD_TYPE - Static variable in class abc.parser.AbcTokenType
 
clone() - Method in class abc.notation.KeySignature
 
clone() - Method in class abc.notation.MultiPartsDefinition
 
clone() - Method in class abc.notation.Part
 
clone() - Method in class abc.notation.Tune
 
clone() - Method in class scanner.CharStreamPosition
Returns a new position at the same place as this one.
clone() - Method in class scanner.Set
 
clone() - Method in class scanner.State
 
COMA - Static variable in class abc.parser.AbcTokenType
 
COMMENT - Static variable in class abc.parser.AbcTokenType
The comment token type : character '%'.
contains(Note) - Method in class abc.notation.MultiNote
Returns true if this chord contains the specified note.
contains(TokenType) - Method in class scanner.Set
Checks if a token type if contained in this set or not.
contains(Set) - Method in class scanner.Set
 
contains(char[]) - Method in class scanner.Transition
Returns true if the given characters activate this transition.
contains(char) - Method in class scanner.Transition
Returns true if the given character activate this transition.
convertBrokenRhythm(String) - Static method in class abc.parser.AbcToolkit
 
convertToAccidentalType(String) - Static method in class abc.notation.KeySignature
 
convertToAccidentalType(String) - Static method in class abc.notation.Note
 
convertToBarLine(String) - Static method in class abc.notation.BarLine
Converts the specified string to a bar line type.
convertToModeType(String) - Static method in class abc.notation.KeySignature
 
convertToNoteLengthStrict(int, int) - Static method in class abc.notation.Note
 
convertToNoteType(String) - Static method in class abc.notation.Note
 
convertToOctaveTransposition(String) - Static method in class abc.parser.AbcToolkit
 
convertToRepeatBarLine(String) - Static method in class abc.parser.AbcToolkit
 
copyFrom(AutomataDefinition) - Method in class scanner.AutomataDefinition
Copy the given definition to this one.
countDots() - Method in class abc.notation.NoteAbstract
Returns the number of dots for this note.
countDots() - Method in class abc.parser.AbcToolkit.DurationDescription
 
countTransitions() - Method in class scanner.State
Returns the number of transitions from this state.
createMusicXmlDOM(Tune) - Static method in class abc.xml.Abc2xml
Creates a DOM representation (fullfilling musicXML dtd) of the specified tune.
createPart(char) - Method in class abc.notation.Tune
Creates a new part in this tune and returns it.
createUnion(Set) - Method in class scanner.Set
Creates a new set containing tokens types from this set AND tokens types from the given set.
createUnion(TokenType) - Method in class scanner.Set
Creates a new set containing tokens types from this set AND the specified token type.

D

D - Static variable in class abc.notation.Note
The D note height type.
d - Static variable in class abc.notation.Note
The d note height type.
DIGIT - Static variable in class abc.parser.AbcTokenType
The digit token type : from 1 to 9.
DORIAN - Static variable in class abc.notation.KeySignature
The dorian mode type.
DOTTED_EIGHTH - Static variable in class abc.notation.Note
The DOTTED_EIGHTH length type.
DOTTED_HALF - Static variable in class abc.notation.Note
The DOTTED_HALF length type.
DOTTED_QUARTER - Static variable in class abc.notation.Note
The DOTTED_QUARTER length type.
DOTTED_SIXTEENTH - Static variable in class abc.notation.Note
The DOTTED_SIXTEENTH length type.
DOTTED_SIXTY_FOURTH - Static variable in class abc.notation.Note
The DOTTED_SIXTY_FOURTH length type.
DOTTED_THIRTY_SECOND - Static variable in class abc.notation.Note
The DOTTED_THIRTY_SECOND length type.
DOTTED_WHOLE - Static variable in class abc.notation.Note
The DOTTED_WHOLE length type.
DOWN - Static variable in class abc.notation.NoteAbstract
The down bow type.

E

E - Static variable in class abc.notation.Note
The E note height type.
e - Static variable in class abc.notation.Note
The e note height type.
EIGHTH - Static variable in class abc.notation.Note
The EIGHTH length type.
Elemskip - Class in abc.notation
 
Elemskip(int) - Constructor for class abc.notation.Elemskip
 
END_OF_TRACK - Static variable in interface abc.midi.MidiMessageType
The message type for an end of a tune playback.
END_SLUR - Static variable in class abc.parser.AbcTokenType
 
EndOfStaffLine - Class in abc.notation
A tagging class used to represent an end of staff line.
EndOfStaffLine() - Constructor for class abc.notation.EndOfStaffLine
 
equals(Object) - Method in class abc.notation.TimeSignature
 
EQUALS - Static variable in class abc.parser.AbcTokenType
The equals token type : character '='.
equals(Object) - Method in class scanner.Set
 
excludeTiesEndings(Note[]) - Static method in class abc.notation.MultiNote
 

F

F - Static variable in class abc.notation.Note
The F note height type.
f - Static variable in class abc.notation.Note
The f note height type.
FIELD_AREA - Static variable in class abc.parser.AbcTokenType
The aread field token type : A:.
FIELD_BOOK - Static variable in class abc.parser.AbcTokenType
The book field token type : B:.
FIELD_COMPOSER - Static variable in class abc.parser.AbcTokenType
The composer field token type : C:.
FIELD_DEFAULT_LENGTH - Static variable in class abc.parser.AbcTokenType
The default length field token type : L:.
FIELD_DISCOGRAPHY - Static variable in class abc.parser.AbcTokenType
The discography field token type : D:.
FIELD_GROUP - Static variable in class abc.parser.AbcTokenType
The group field token type : G:.
FIELD_HISTORY - Static variable in class abc.parser.AbcTokenType
The history field token type : H:.
FIELD_INFORMATION - Static variable in class abc.parser.AbcTokenType
The information field token type : I:.
FIELD_KEY - Static variable in class abc.parser.AbcTokenType
The key field token type : K:.
FIELD_METER - Static variable in class abc.parser.AbcTokenType
The meter field token type : M:.
FIELD_NOTES - Static variable in class abc.parser.AbcTokenType
The notes field token type : N:.
FIELD_NUMBER - Static variable in class abc.parser.AbcTokenType
The reference number field token type : X:.
FIELD_ORIGIN - Static variable in class abc.parser.AbcTokenType
The origin field token type : O:.
FIELD_PARTS - Static variable in class abc.parser.AbcTokenType
The parts field token type : P:.
FIELD_RHYTHM - Static variable in class abc.parser.AbcTokenType
The rhythm field token type : R:.
FIELD_SOURCE - Static variable in class abc.parser.AbcTokenType
The source field token type : S:.
FIELD_TEMPO - Static variable in class abc.parser.AbcTokenType
The tempo field token type : Q:.
FIELD_TITLE - Static variable in class abc.parser.AbcTokenType
The title field token type : T:.
FIELD_TRANSCRNOTES - Static variable in class abc.parser.AbcTokenType
The transcription notes field token type : Z:.
FIELD_WORDS - Static variable in class abc.parser.AbcTokenType
The words field token type : W:.
fileBegin() - Method in class abc.parser.AbcFileParserAdapter
Invoked when the parsing of the file begins.
fileBegin() - Method in interface abc.parser.AbcFileParserListenerInterface
Invoked when the parsing of the file begins.
fileEnd() - Method in class abc.parser.AbcFileParserAdapter
Invoked when the parsing of the file end.
fileEnd() - Method in interface abc.parser.AbcFileParserListenerInterface
Invoked when the parsing of the file end.
FinaleStateAutomata - Class in scanner
This class defines finale state automatas.
FinaleStateAutomata() - Constructor for class scanner.FinaleStateAutomata
Constructs a new automata.
FinaleStateAutomata(AutomataDefinition) - Constructor for class scanner.FinaleStateAutomata
Creates a new automata from the specified definition.
FLAT - Static variable in interface abc.notation.AccidentalType
The FLAT accidental type : b.
floatValue() - Method in class abc.notation.Fraction
Returns the float value represented by this fraction
Fraction - Class in abc.notation
This class enables the representation of a fraction.
Fraction(int, int) - Constructor for class abc.notation.Fraction
Creates a new fraction with the specified numerator and denominator values.
FRACTION - Static variable in class abc.parser.AbcTokenType
The fraction token type : character '/'.

G

G - Static variable in class abc.notation.Note
The G note height type.
g - Static variable in class abc.notation.Note
The g note height type.
getAbsoluteDurationFor(Fraction, short) - Static method in class abc.parser.AbcToolkit
Returns the absolute note duration for the specified relative note with taking into account the default note length.
getAccidental() - Method in class abc.notation.KeySignature
Returns key accidental for this Key.
getAccidental() - Method in class abc.notation.Note
Returns accidental for this note if any.
getAccidentalFor(byte) - Method in class abc.notation.KeySignature
Returns accidental for the specified note heigth for this key.
getAccidentals() - Method in class abc.notation.KeySignature
Returns accidentals of this key signature.
getArea() - Method in class abc.notation.Tune
Returns the area where this tune comes from.
getBase() - Method in interface abc.ui.swing.JScoreElement
Return the base of this element.
getBeginOffset(byte[]) - Static method in class abc.midi.NotationMarkerMessage
 
getBook() - Method in class abc.notation.Tune
Returns the list of publications where this tune can be found.
getBoundingBox() - Method in interface abc.ui.swing.JScoreElement
Returns the bounding box for this score element.
getBow() - Method in class abc.notation.NoteAbstract
Returns the bow to be used when playing this note.
getCharacter() - Method in class scanner.InvalidCharacterEvent
Returns the invalid character.
getCharactersOffset() - Method in class scanner.CharStreamPosition
Returns the character offset.
getChars() - Method in class scanner.Transition
Returns characters that activate this transition.
getChordName() - Method in class abc.notation.NoteAbstract
Returns the name of the chord.
getColumn() - Method in class scanner.CharStreamPosition
Returns the column of this position.
getComposer() - Method in class abc.notation.Tune
Returns the composer of this tune.
getContent() - Method in class abc.notation.Words
Returns the content of this words element.
getCurrentLine() - Method in class scanner.Scanner
 
getCurrentState() - Method in class scanner.FinaleStateAutomata
Returns the current state of this automata.
getData() - Method in class abc.midi.MetaMessageWA
 
getDefaultNoteLength() - Method in class abc.notation.TimeSignature
Returns the default note length for this time signature.
getDefinition() - Method in class scanner.FinaleStateAutomata
Returns the definition of this automata.
getDenominator() - Method in class abc.notation.Fraction
 
getDiscography() - Method in class abc.notation.Tune
Returns recordings where this tune appears.
getDotted() - Method in class abc.notation.NoteAbstract
Deprecated. replaced by countDots()
getDuration() - Method in class abc.notation.Note
Returns the duration of this note.
getElementAt(int) - Method in class abc.notation.Tune.Music
Returns the score element location at the specified offset.
getElemskip() - Method in class abc.notation.Tune
 
getEnd() - Method in class abc.notation.TwoNotesLink
Returns the end of the two notes link.
getEndOffset(byte[]) - Static method in class abc.midi.NotationMarkerMessage
 
getExpectedTokenType() - Method in class abc.parser.InvalidTokenEvent
Returns the type of the token that was expected.
getFile() - Method in class abc.parser.TuneBook
Returns the file associated to this TuneBook if any.
getFinaleStateAutomata() - Method in class scanner.Scanner
Returns the current finale state automata currently used to separate tokens.
getGracingNotes() - Method in class abc.notation.NoteAbstract
Returns the gracing notes to be played with this note.
getGracingNotesLength(short) - Method in class abc.notation.NoteAbstract
Needs to be reworked !!
getGroup() - Method in class abc.notation.Tune
 
getHeight() - Method in class abc.notation.Note
Returns this note height.
getHeigth() - Method in class abc.notation.Note
Deprecated. use getHeight() instead. Sorry for the typo....
getHighestNote(Note[]) - Static method in class abc.notation.MultiNote
Returns the highest note from the given array of notes.
getHighestNote() - Method in class abc.notation.MultiNote
Returns the highest note among the notes composing this multi note.
getHighestNote(Note[]) - Static method in class abc.notation.Note
 
getHighestNoteBewteen(MusicElement, MusicElement) - Method in class abc.notation.Tune.Music
Returns the highest note between two music elements.
getHighestNoteIndex(Note[]) - Static method in class abc.notation.Note
 
getHighestReferenceNumber() - Method in class abc.parser.TuneBook
Returns the highest reference number from all the reference numbers this tunebook contains.
getHistory() - Method in class abc.notation.Tune
Returns historical information about the tune.
getIndex(byte[]) - Static method in class abc.midi.NoteIndexMessage
 
getInformation() - Method in class abc.notation.Tune
Returns additional information about the tune.
getInstrument() - Method in class abc.midi.MidiConverterAbstract
Returns the instrument currently used for sequence playback.
getInstrument() - Method in interface abc.midi.MidiConverterInterface
Returns the instrument currently used for sequence playback.
getInstrument() - Method in class abc.midi.OldBasicMidiConverter
 
getInstrument() - Method in class abc.midi.TunePlayer
Returns the instrument currently used for sequence playback.
getKey() - Method in class abc.notation.Tune
Returns the key signature of this tune.
getLabel() - Method in class abc.notation.Part
Returns the label that identifies this part.
getLastNote() - Method in class abc.notation.Tune.Music
 
getLength() - Method in class abc.parser.InvalidTokenEvent
 
getLength() - Method in class abc.parser.PositionableMultiNote
 
getLength() - Method in class abc.parser.PositionableNote
 
getLength() - Method in class scanner.InvalidCharacterEvent
 
getLength() - Method in interface scanner.PositionableInCharStream
Returns the length of this positionable object.
getLength() - Method in class scanner.Token
 
getLength() - Method in class scanner.TokenEvent
 
getLine() - Method in class scanner.CharStreamPosition
Returns the line of this position.
getLongestNote() - Method in class abc.notation.MultiNote
Returns the longest note of this multi note, based on its duration.
getLongestNote(Note[]) - Static method in class abc.notation.MultiNote
Returns the note with the biggest duration from the given array of notes.
getLowestNote(Note[]) - Static method in class abc.notation.MultiNote
Returns the lowest note from the given array of notes.
getLowestNote() - Method in class abc.notation.MultiNote
Returns the lowest note among the notes composing this multi note.
getLowestNote(Note[]) - Static method in class abc.notation.Note
 
getLowestNoteBewteen(MusicElement, MusicElement) - Method in class abc.notation.Tune.Music
MultiNote instances are ignored.
getMidiEventsFor(Note, KeySignature, long) - Method in class abc.midi.OldBasicMidiConverter
 
getMidiEventsFor(Tuplet, KeySignature, long) - Method in class abc.midi.OldBasicMidiConverter
Returns the corresponding midi events for a tuplet.
getMidiEventsFor(Tempo, long) - Method in class abc.midi.OldBasicMidiConverter
Returns the corresponding midi events for a tempo change.
getMidiEventsFor(MultiNote, KeySignature, long) - Method in class abc.midi.OldBasicMidiConverter
Returns the corresponding midi events for a multi note.
getMidiEventsFor(Note, KeySignature, long) - Method in class abc.midi.OldMidiConverterAbstract
Returns the corresponding midi events for a note.
getMidiEventsFor(Tuplet, KeySignature, long) - Method in class abc.midi.OldMidiConverterAbstract
Returns the corresponding midi events for a tuplet.
getMidiEventsFor(Tempo, long) - Method in class abc.midi.OldMidiConverterAbstract
Returns the corresponding midi events for a tempo change.
getMidiEventsFor(MultiNote, KeySignature, long) - Method in class abc.midi.OldMidiConverterAbstract
Returns the corresponding midi events for a multi note.
getMidiMessagesFor(Tempo) - Method in class abc.midi.BasicMidiConverter
 
getMidiMessagesFor(Tempo) - Method in class abc.midi.MidiConverterAbstract
Returns the corresponding midi events for a tempo change.
getMidiNoteNumber(Note, KeySignature) - Static method in class abc.midi.MidiConverterAbstract
Returns the midi note number corresponding a note in the given key.
getMode() - Method in class abc.notation.KeySignature
Returns the mode of this key.
getMultiPartsDefinition() - Method in class abc.notation.Tune
Returns the multi parts definition of this tune.
getMusic() - Method in class abc.notation.Part
Returns the music to this part.
getMusic() - Method in class abc.notation.Tune
Returns the music part of this tune.
getMusicElement() - Method in interface abc.ui.swing.JScoreElement
Returns the music element represented by this graphical score element.
getNewTempoValue() - Method in class abc.midi.TempoChangeEvent
 
getNote() - Method in class abc.notation.KeySignature
Returns the note of the mode.
getNoteLengthInTicks(MultiNote) - Static method in class abc.midi.MidiConverterAbstract
Returns the length of the multi note in ticks.
getNoteOffMessageFor(Note, KeySignature) - Method in class abc.midi.BasicMidiConverter
 
getNoteOffMessageFor(Note, KeySignature) - Method in class abc.midi.MidiConverterAbstract
 
getNoteOneMessageFor(Note, KeySignature) - Method in class abc.midi.BasicMidiConverter
 
getNoteOneMessageFor(Note, KeySignature) - Method in class abc.midi.MidiConverterAbstract
 
getNotes() - Method in class abc.notation.Tune
Returns notes concerning the transcription of this tune.
getNotesAsVector() - Method in class abc.notation.MultiNote
Returns a new vector containing all Note objects contained in this multi note.
getNotesAsVector() - Method in class abc.notation.Tuplet
Returns a new vector containing all notes of this multi note.
getNotesBeginningTie() - Method in class abc.notation.MultiNote
Returns the notes from this multinote that begin a tie.
getNotesNumberPerMinute() - Method in class abc.notation.Tempo
Returns the number of note per minutes considering that those notes' length is the reference length.
getNotesNumberPerMinute(short) - Method in class abc.notation.Tempo
Returns the tempo for the given length as reference.
getNotesShorterThan(Note[], int) - Static method in class abc.notation.MultiNote
Returns all notes strictly shorter than the given strict duration.
getNumberOfDefaultNotesPerBeat(short) - Method in class abc.notation.TimeSignature
 
getNumberOfRepeats() - Method in class abc.notation.RepeatedPartAbstract
Returns the number of times this part should be repeated.
getNumerator() - Method in class abc.notation.Fraction
Returns the numerator of this fraction.
getOctaveTransposition(byte) - Static method in class abc.notation.Note
Returns the octave transposition for the specified height relative to its strict height.
getOctaveTransposition() - Method in class abc.notation.Note
Returns the octave transposition for this note.
getOrigin() - Method in class abc.notation.Tune
Returns the origin of this tune.
getParser() - Method in class abc.ui.awt.TuneEditorArea
 
getParser() - Method in class abc.ui.swing.TuneEditorPane
Returns the parser used to build up the tune from the abc text written in this pane.
getPart(char) - Method in class abc.notation.Tune
Returns the part of the tune identified by the given label.
getPartsAsRepeatedOnceVector() - Method in class abc.notation.MultiPartsDefinition
 
getPosition() - Method in class abc.parser.InvalidTokenEvent
Returns the place where this event occured.
getPosition() - Method in class abc.parser.PositionableMultiNote
 
getPosition() - Method in class abc.parser.PositionableNote
 
getPosition() - Method in class scanner.InvalidCharacterEvent
Returns the position where the invalid character has been detected.
getPosition() - Method in interface scanner.PositionableInCharStream
Returns the start position.
getPosition() - Method in class scanner.Scanner
Returns the position of the scanner if the input stream.
getPosition() - Method in class scanner.Token
Returns the position of this token.
getPosition() - Method in class scanner.TokenEvent
 
getReceivedCharacters() - Method in class scanner.FinaleStateAutomata
Returns a string that representes the list of all characters received by this finale state automata.
getReference() - Method in class abc.notation.Tempo
Returns the reference length used to express this tempo.
getReferenceNumber() - Method in class abc.notation.Tune
Returns the reference number of this tune.
getReferenceNumbers() - Method in class abc.parser.TuneBook
Returns the reference numbers of tunes contained in this tunebook.
getRenditionElementFor(MusicElement) - Method in class abc.ui.swing.JScoreComponent
Returns the graphical element that corresponds to a tune element.
getRepeatNumber() - Method in class abc.notation.RepeatBarLine
Returns the number of times the repeat should occur.
getRhythm() - Method in class abc.notation.Tune
Returns the rhythm of this tune.
getScanner() - Method in class abc.parser.AbcParserAbstract
Returns the scanner internally used for parsing.
getScoreElementAt(Point) - Method in class abc.ui.swing.JScoreComponent
Returns the graphical score element fount at the given location.
getScoreElementAt(Point) - Method in interface abc.ui.swing.JScoreElement
Returns the score element whose bouding box contains the given location.
getScrollableTracksViewportWidth() - Method in class abc.ui.awt.TuneEditorArea
 
getScrollableTracksViewportWidth() - Method in class abc.ui.swing.TuneEditorPane
 
getShortestNote() - Method in class abc.notation.MultiNote
Returns the shortest note of this multi note, based on its duration.
getSlurDefinition() - Method in class abc.notation.NoteAbstract
 
getSource() - Method in class abc.notation.Tune
Returns the source of this tune.
getSourceState() - Method in class scanner.Transition
Returns the source state of this transition.
getStaffLinesSpacing() - Method in class abc.ui.swing.JScoreComponent
 
getStart() - Method in class abc.notation.TwoNotesLink
Returns the start of the two notes link.
getStartingState() - Method in class scanner.AutomataDefinition
Returns the starting state of this automata.
getStartingState() - Method in class scanner.FinaleStateAutomata
Returns the starting state of this automata.
getStrictDuration() - Method in class abc.notation.Note
Returns the strict duration of this note.
getStrictDuration() - Method in class abc.parser.AbcToolkit.DurationDescription
 
getStrictDurations() - Method in class abc.notation.MultiNote
Returns the strict durations composing this multi notes.
getStrictHeight() - Method in class abc.notation.Note
Returns this note absolute height.
getStrictHeight(byte) - Static method in class abc.notation.Note
Returns this note absolute height.
getTargetState() - Method in class scanner.Transition
Returns the target state of this transition.
getTempo(byte[]) - Static method in class abc.midi.TempoMessage
 
getTempo() - Method in class abc.midi.TunePlayer
Returns the tempo currently used to play tunes.
getTieDefinition() - Method in class abc.notation.Note
 
getTitles() - Method in class abc.notation.Tune
Returns the titles of this tune.
getToken() - Method in class scanner.TokenEvent
Returns the found token.
getTotalDuration() - Method in class abc.notation.Tuplet
Returns the total duration of this tuplet.
getTotalRelativeLength() - Method in class abc.notation.Tuplet
Deprecated. use totalDuration() instead. Reference to relative length should be avoided in the API bacause this is only related to the "abc world".
getTranscriptionNotes() - Method in class abc.notation.Tune
Returns transcription notes of this tune.
getTransitionFor(char) - Method in class scanner.FinaleStateAutomata
Returns the transition that can be activated from this automata's current state with the specified character.
getTransitionFor(char) - Method in class scanner.State
Returns the transition that can be activated for the specified character.
getTransitions() - Method in class scanner.State
Returns an array containing transitions from this state.
getTune() - Method in class abc.midi.TunePlayer
The tune that is currently played,
getTune(int) - Method in class abc.parser.TuneBook
Returns the tune with the specified reference number
getTune() - Method in class abc.parser.TuneChangeEvent
Returns the tune that has changed.
getTune() - Method in class abc.ui.awt.TuneEditorArea
 
getTune() - Method in class abc.ui.swing.TuneEditorPane
Returns the tune that is currently described in this tune editor.
getTuneHeader(int) - Method in class abc.parser.TuneBook
Returns the text put just before a tune in an ABC file.
getTuneNotation(int) - Method in class abc.parser.TuneBook
Returns the notation of the tune corresponding to the specified reference number.
getTuneNotation() - Method in class abc.parser.TuneChangeEvent
Returns the tune notation in ABC format.
getTunesHeaders() - Method in class abc.parser.TuneBook
Returns tunes header information of tunes contained in this tunebook.
getTuplet() - Method in class abc.notation.NoteAbstract
Returns the tuplet this note is part of.
getType() - Method in class abc.midi.MetaMessageWA
 
getType() - Method in class abc.notation.BarLine
Returns the type of this bar line.
getType() - Method in class abc.parser.TuneChangeEvent
Returns the type of this event.
getType() - Method in class scanner.State
Returns the type of this state.
getType() - Method in class scanner.Token
Returns the type of this token.
getTypes() - Method in class scanner.Set
Returns an array representation of the types contained in this set.
getValue() - Method in class scanner.Token
Returns the string of this token.
getWidth() - Method in interface abc.ui.swing.JScoreElement
Returns the width of this score element.
GRACING - Static variable in class abc.parser.AbcTokenType
 
GRACING_BEGIN - Static variable in class abc.parser.AbcTokenType
 
GRACING_END - Static variable in class abc.parser.AbcTokenType
 
GUITAR_CHORD - Static variable in class abc.parser.AbcTokenType
 

H

HALF - Static variable in class abc.notation.Note
The HALF length type.
hasAccidental() - Method in class abc.notation.MultiNote
Returns true if this multi note some accidentals (for at least one of its note).
hasAccidental() - Method in class abc.notation.Note
 
hasGeneralGracing() - Method in class abc.notation.NoteAbstract
Returns true if this note has a general gracing, false otherwise.
hasGracingNotes() - Method in class abc.notation.NoteAbstract
Returns true if this note has gracings, false otherwise.
hasNext() - Method in class scanner.Scanner
Returns true if there's any character left.
hasOnlyFlats() - Method in class abc.notation.KeySignature
 
hasOnlySharps() - Method in class abc.notation.KeySignature
 
hasSelfTransitions() - Method in class scanner.State
Returns true if this state has self transitions.
hasStaccato() - Method in class abc.notation.NoteAbstract
Returns true if this note should be played with staccato.
hasUniqueStrictDuration() - Method in class abc.notation.MultiNote
Returns true if the strict durations of all notes composing this multi note have the same value.

I

indexOf(MusicElement) - Method in class abc.notation.Tune.Music
 
init(String) - Method in class scanner.Scanner
Inits this scanner to be able to perform a scan on the given string
init(Reader) - Method in class scanner.Scanner
Inits this scanner to be able to perform a scan on the given stream
initialize() - Method in class scanner.FinaleStateAutomata
Initializes this state machine.
intersect(Set) - Method in class scanner.Set
Returns a new set containing elements contained in this set AND in the given one.
intersect(char[]) - Method in class scanner.Transition
Returns an array containing characters that are activating this transition and that are also contained in the given array.
invalidCharacter(InvalidCharacterEvent) - Method in class abc.parser.AbcFileParserAdapter
Invoked when an invalid character has been parsed.
invalidCharacter(InvalidCharacterEvent) - Method in class abc.parser.TuneParserAdapter
Invoked when an invalid character has been parsed.
invalidCharacter(InvalidCharacterEvent) - Method in interface abc.parser.TuneParserListenerInterface
Invoked when an invalid character has been found by the parser.
invalidCharacter(InvalidCharacterEvent) - Method in class scanner.ScannerAdapter
Invoked when an invalid character has been found.
invalidCharacter(InvalidCharacterEvent) - Method in interface scanner.ScannerListenerInterface
Invoked when an invalid character has been found.
InvalidCharacterEvent - Class in scanner
This event is thrown when an unexpected character is encountered.
InvalidCharacterEvent(Object, char, CharStreamPosition) - Constructor for class scanner.InvalidCharacterEvent
Creates a new event with the following parameters.
invalidToken(InvalidTokenEvent) - Method in class abc.parser.AbcFileParserAdapter
Invoked when an invalid token has been parsed.
invalidToken(InvalidTokenEvent) - Method in class abc.parser.TuneParserAdapter
Invoked when an invalid token has been parsed.
invalidToken(InvalidTokenEvent) - Method in interface abc.parser.TuneParserListenerInterface
Invoked when an invalid token has been encountered.
InvalidTokenEvent - Class in abc.parser
Event generated when an invalid token is encountered by a parser.
InvalidTokenEvent(Object, Token, TokenType) - Constructor for class abc.parser.InvalidTokenEvent
Creates a new event
InvalidTokenEvent(Object, CharStreamPosition, TokenType) - Constructor for class abc.parser.InvalidTokenEvent
Creates a new event.
IONIAN - Static variable in class abc.notation.KeySignature
The ionian mode type.
IsAlphaTransition - Class in scanner
This class defines a transition that corresponds to any alpha character : a letter, upper or lower case.
IsAlphaTransition(State) - Constructor for class scanner.IsAlphaTransition
Default constructor.
isBeginingSlur() - Method in class abc.notation.NoteAbstract
 
isBeginningTie() - Method in class abc.notation.Note
Returns true if this note is beginning a tie.
isColoringEnabled() - Method in class abc.ui.swing.TuneEditorPane
Returns true if text coloring has been enabled, false otherwise.
isCoumpound() - Method in class abc.notation.TimeSignature
Return true if this time signature if compound, false otherwise.
IsDigitTransition - Class in scanner
This class defines a transition that corresponds to a digit character.
IsDigitTransition(State) - Constructor for class scanner.IsDigitTransition
Default constructor.
isEndingSlur() - Method in class abc.notation.NoteAbstract
 
isEndingTie() - Method in class abc.notation.Note
Returns true if this note is ending a tie.
isField() - Method in class abc.parser.AbcTokenType
 
isHigherThan(Note) - Method in class abc.notation.Note
Returns true if the given note is strictly higher than this one.
isJustified() - Method in class abc.ui.swing.JScoreComponent
Return true if the rendition staff lines alignment is justified, false otherwise.
isLowerThan(Note) - Method in class abc.notation.Note
 
isNotationMarker(MetaMessage) - Static method in class abc.midi.MetaMessageWA
Checks the first byte of the data part of the message to check if it is a notation marker message or not.
isNoteIndexMessage(MetaMessage) - Static method in class abc.midi.MetaMessageWA
 
isPartOfSlur() - Method in class abc.notation.NoteAbstract
Returns true if this Note is part of a slur.
isPartOfTuplet() - Method in class abc.notation.NoteAbstract
Return true if this note is part of a tuplet.
isPlayerPlaying() - Method in class abc.midi.PlayerStateChangeEvent
 
isPlaying() - Method in class abc.midi.TunePlayer
Returns true if this player is currently playing a tune.
isPossible(char) - Method in class scanner.Transition
Checks if this transition would be activated with the given character.
isRest() - Method in class abc.notation.Note
A convenient method that returns true if this note is a rest.
isSelfTransition() - Method in class scanner.Transition
Returns true if this transition is a self transition.
isStrictDuration(short) - Static method in class abc.notation.Note
Returns true if the duration of the note is one of the following : Note.WHOLE, Note.HALF, Note.QUARTER, Note.EIGHTH, Note.SIXTEENTH, Note.THIRTY_SECOND, Note.SIXTY_FOURTH.
isTempoMessage(MetaMessage) - Static method in class abc.midi.MetaMessageWA
Checks the first byte of the data part of the message to check if it is a tempo message or not.
isTied() - Method in class abc.notation.Note
Returns true if this note is tied.
isTokenState() - Method in class scanner.State
Returns true if this state is a token state.

J

JScoreComponent - Class in abc.ui.swing
This JComponent displays tunes scores.
JScoreComponent() - Constructor for class abc.ui.swing.JScoreComponent
Default constructor.
JScoreElement - Interface in abc.ui.swing
 

K

KEY_ACCIDENTAL - Static variable in class abc.parser.AbcTokenType
The key accidental token type : '#' or 'b'.
KEY_HP - Static variable in class abc.parser.AbcTokenType
The HP key specification token type : "HP" or "Hp".
KeySignature - Class in abc.notation
This class defines key signatures using modes definition like E major, G minor etc etc...
KeySignature(byte, byte) - Constructor for class abc.notation.KeySignature
Creates a new signature with the specified parameters.
KeySignature(byte, byte, byte) - Constructor for class abc.notation.KeySignature
Creates a new signature with the specified parameters.
KeySignature(byte[]) - Constructor for class abc.notation.KeySignature
Creates a key signature with the specified accidentals.
KeySignatureMessage - Class in abc.midi
A midi message to set key signature DOES NOT WORK !!!.
KeySignatureMessage(KeySignature) - Constructor for class abc.midi.KeySignatureMessage
Creates a midi message to change key from an ABC key.

L

LINE_BREAK - Static variable in class abc.parser.AbcTokenType
The line break token type : character '!'.
LINE_FEED - Static variable in class abc.parser.AbcTokenType
The line feed token type : character '\n'.
lineProcessed(String) - Method in class abc.parser.AbcFileParserAdapter
 
lineProcessed(String) - Method in interface abc.parser.AbcFileParserListenerInterface
Invoked when a line has been processed.
lineProcessed(String) - Method in class scanner.ScannerAdapter
Invoked when a line has been processed.
lineProcessed(String) - Method in interface scanner.ScannerListenerInterface
Invoked when a line has been processed.
LOCRIAN - Static variable in class abc.notation.KeySignature
The locrian mode type.
LYDIAN - Static variable in class abc.notation.KeySignature
The lydian mode type.

M

MAJOR - Static variable in class abc.notation.KeySignature
The major mode type.
MARKER - Static variable in interface abc.midi.MidiMessageType
 
meta(MetaMessage) - Method in class abc.midi.TunePlayer
 
MetaMessageWA - Class in abc.midi
As the jdk 1.4 sequencer does not seem to detect all kind of meta messages during sequence playback, a workaround has been introduced to rely on the only type of meta message the sequencer detects : the one with type 0x06 (represented by the constant
MetaMessageWA(MetaMessage) - Constructor for class abc.midi.MetaMessageWA
 
MidiConverterAbstract - Class in abc.midi
MidiConverter class defines various static methods to convert abc related stuff to midi : notes, tunes etc...
MidiConverterAbstract() - Constructor for class abc.midi.MidiConverterAbstract
 
MidiConverterInterface - Interface in abc.midi
This interface defines methods that should be implemented for any "tune to midi" converter.
MidiMessageType - Interface in abc.midi
This interface exposes the types of midi messages created by the abc.midi package
MINOR - Static variable in class abc.notation.KeySignature
The minor mode type.
MIXOLYDIAN - Static variable in class abc.notation.KeySignature
The mixolydian mode type.
MODE - Static variable in class abc.parser.AbcTokenType
The mode token type : m or M or or or or or or or .
MULTI_NOTE_BEGIN - Static variable in class abc.parser.AbcTokenType
 
MULTI_NOTE_END - Static variable in class abc.parser.AbcTokenType
 
MultiNote - Class in abc.notation
A multi note is a group of notes that should be played together.
MultiNote(Vector) - Constructor for class abc.notation.MultiNote
Creates a new MultiNote from given notes.
MultiPartsDefinition - Class in abc.notation
This class describes the way a multipart music tune is defined.
MultiPartsDefinition() - Constructor for class abc.notation.MultiPartsDefinition
Creates a new multi part definition.
MultiPartsDefinition(MultiPartsDefinition) - Constructor for class abc.notation.MultiPartsDefinition
Copy constructor
multipliedBy(Fraction) - Method in class abc.notation.Fraction
Multiplies this fraction by the specified fraction and returns the result as a float.
MusicElement - Interface in abc.notation
A tagging interface for all elements that are part of a tune's music.
MusicPresentationElement - Interface in abc.notation
A tagging interface for all elements composing a tune's music that are releated to the way this music is rendered graphicaly on a score for instance.

N

NATURAL - Static variable in interface abc.notation.AccidentalType
The NATURAL accidental type.
nextToken() - Method in class scanner.Scanner
Returns the next token encountered.
NO_LINE_BREAK - Static variable in class abc.parser.AbcTokenType
The no line break token type : character '\'.
NONE - Static variable in interface abc.notation.AccidentalType
The NONE accidental type.
NONE - Static variable in class abc.notation.NoteAbstract
The none bow type.
normalize() - Method in class abc.notation.MultiNote
Normalizes this multi note by decomposing it into multinotes with same strict duration.
NoSuchTokenException - Exception in scanner
A runtime exception thrown when no more token can be generated.
NoSuchTokenException() - Constructor for exception scanner.NoSuchTokenException
 
NoSuchTuneException - Exception in abc.notation
This exception is thrown when a requested tune hasn't been found.
NoSuchTuneException(String) - Constructor for exception abc.notation.NoSuchTuneException
 
NOTATION_MARKER - Static variable in interface abc.midi.MidiMessageType
Deprecated. use NOTE_INDEX_MARKER
NotationMarkerMessage - Class in abc.midi
A midi meta event to flag a positionable object in a midi stream.
NotationMarkerMessage(PositionableInCharStream) - Constructor for class abc.midi.NotationMarkerMessage
 
Note - Class in abc.notation
This class defines a (single) Note : height, rhythm, part of tuplet, rest etc...
Note(byte) - Constructor for class abc.notation.Note
Creates an abc note with the specified height.
Note(byte, byte) - Constructor for class abc.notation.Note
Creates an abc note with the specified heigth and accidental.
Note(byte, byte, byte) - Constructor for class abc.notation.Note
Creates an abc note with the specified heigth, accidental and octave transposition.
NOTE_INDEX_MARKER - Static variable in interface abc.midi.MidiMessageType
The message type to give a reference to the note index in the score that is being played during a tune playback.
NoteAbstract - Class in abc.notation
This is the abstract class to define notes or multi notes.
NoteAbstract() - Constructor for class abc.notation.NoteAbstract
 
NoteIndexMessage - Class in abc.midi
 
NoteIndexMessage(int) - Constructor for class abc.midi.NoteIndexMessage
 
notePlayed(NoteAbstract) - Method in class abc.midi.TunePlayerAdapter
 
notePlayed(NoteAbstract) - Method in interface abc.midi.TunePlayerListenerInterface
 
NotesSeparator - Class in abc.notation
A tagging class used to delimiter groups of notes in score.
NotesSeparator() - Constructor for class abc.notation.NotesSeparator
 
NoTransitionFoundException - Exception in scanner
A runtime exception thrown when no transition is found when sending a character in a finale state automata.
NoTransitionFoundException() - Constructor for exception scanner.NoTransitionFoundException
 
NTH_REPEAT - Static variable in class abc.parser.AbcTokenType
 
NUMBER - Static variable in class abc.parser.AbcTokenType
The number token type.

O

OCTAVE - Static variable in class abc.parser.AbcTokenType
 
OldBasicMidiConverter - Class in abc.midi
A basic midi converter that just plays melody, ignores ornaments and chords.
OldBasicMidiConverter() - Constructor for class abc.midi.OldBasicMidiConverter
 
OldMidiConverterAbstract - Class in abc.midi
MidiConverter class defines various static methods to convert abc related stuff to midi : notes, tunes etc...
OldMidiConverterAbstract() - Constructor for class abc.midi.OldMidiConverterAbstract
 
OTHER - Static variable in class abc.notation.KeySignature
The "not standard" mode type.

P

paint(Graphics) - Method in class abc.ui.swing.JScoreComponent
 
PARENTHESIS_CLOSE - Static variable in class abc.parser.AbcTokenType
The parenthesis close token type : character ')'.
PARENTHESIS_OPEN - Static variable in class abc.parser.AbcTokenType
The parenthesis open token type : character '('.
parse(String) - Method in class abc.parser.AsynchronousTuneParser
Parse the given string and creates a Tune object as parsing result.
parse(Reader) - Method in class abc.parser.AsynchronousTuneParser
 
parse(String) - Method in class abc.parser.TuneParser
Parse the given string and creates a Tune object as parsing result.
parse(Reader) - Method in class abc.parser.TuneParser
Parses the specified stream in ABC notation.
parseFile(File) - Method in class abc.parser.AbcFileParser
Parses the specified file.
parseFile(Reader) - Method in class abc.parser.AbcFileParser
Parses the specified stream in abc notation.
parseFileHeaders(File) - Method in class abc.parser.AbcFileParser
Deprecated.  
parseFileHeaders(BufferedReader) - Method in class abc.parser.AbcFileParser
Deprecated.  
parseHeader(String) - Method in class abc.parser.AsynchronousTuneParser
 
parseHeader(Reader) - Method in class abc.parser.AsynchronousTuneParser
 
parseHeader(String) - Method in class abc.parser.TuneParser
Parses the header of the specified tune notation.
parseHeader(Reader) - Method in class abc.parser.TuneParser
Parse the given string and creates a Tune object with no music as parsing result.
Part - Class in abc.notation
Part objects are used to define parts in tunes.
PART - Static variable in class abc.parser.AbcTokenType
 
partPlayed(int, int) - Method in class abc.midi.TunePlayerAdapter
Invoked when a part of the tune notation is played.
partPlayed(int, int) - Method in interface abc.midi.TunePlayerListenerInterface
Deprecated. use notePlayed() instead.
PHRYGIAN - Static variable in class abc.notation.KeySignature
The phrygian mode type.
play(Tune) - Method in class abc.midi.TunePlayer
Plays the given tune.
playBegin(PlayerStateChangeEvent) - Method in class abc.midi.TunePlayerAdapter
Invoked when the playing of a tune has started.
playBegin(PlayerStateChangeEvent) - Method in interface abc.midi.TunePlayerListenerInterface
Invoked when the playing of a tune has started.
playEnd(PlayerStateChangeEvent) - Method in class abc.midi.TunePlayerAdapter
Invoked when the playing of a tune is ended.
playEnd(PlayerStateChangeEvent) - Method in interface abc.midi.TunePlayerListenerInterface
Invoked when the playing of a tune is ended.
PlayerStateChangeEvent - Class in abc.midi
 
PlayerStateChangeEvent(Object, boolean) - Constructor for class abc.midi.PlayerStateChangeEvent
 
PositionableInCharStream - Interface in scanner
Interface that should be implemented by any object that has a position in a char stream.
PositionableMultiNote - Class in abc.parser
A multinote that encapsulates the information needed to locate where the abc information describing this multinote was positioned in the parsed stream.
PositionableMultiNote(Vector) - Constructor for class abc.parser.PositionableMultiNote
 
PositionableNote - Class in abc.parser
A note that encapsulates the information needed to locate where the abc information describing this note was positioned in the parsed stream.
PositionableNote(byte, byte) - Constructor for class abc.parser.PositionableNote
 
PositionableNote(byte, byte, byte) - Constructor for class abc.parser.PositionableNote
 
putTune(String) - Method in class abc.parser.TuneBook
Puts the specified tune notation in this tunebook.

Q

QUARTER - Static variable in class abc.notation.Note
The QUARTER length type.

R

REFRESHER_THREAD_NAME - Static variable in class abc.ui.swing.TuneEditorPane
 
remove(TokenType) - Method in class scanner.Set
Removes the spcified token type from this set.
remove(Set) - Method in class scanner.Set
Removes all elements of the given set from this set.
removeListener(TunePlayerListenerInterface) - Method in class abc.midi.TunePlayer
Removes a listener from this tune player.
removeListener(AbcFileParserListenerInterface) - Method in class abc.parser.AbcFileParser
Removes a listener from this parser.
removeListener(TuneParserListenerInterface) - Method in class abc.parser.AbcParserAbstract
Removes a listener from this parser.
removeListener(TuneBookListenerInterface) - Method in class abc.parser.TuneBook
Removes a listener from this tunebook.
removeListener(TuneParserListenerInterface) - Method in class abc.parser.TuneParser
Removes a listener from this parser.
removeListener(ScannerListenerInterface) - Method in class scanner.Scanner
Removes a listener from this scanner.
removeTitle(String) - Method in class abc.notation.Tune
Removes one the titles of this tune.
removeTransition(Transition) - Method in class scanner.State
Removes the given transition.
removeTune(int) - Method in class abc.parser.TuneBook
Removes the tune with specified reference number.
REPEAT_CLOSE - Static variable in class abc.notation.BarLine
The repeat close bar line type.
REPEAT_CLOSE - Static variable in class abc.parser.AbcTokenType
 
REPEAT_OPEN - Static variable in class abc.notation.BarLine
The repeat open bar line type.
REPEAT_OPEN - Static variable in class abc.parser.AbcTokenType
 
RepeatBarLine - Class in abc.notation
A special bar line that enables you to repeat part of music from a tune.
RepeatBarLine(byte) - Constructor for class abc.notation.RepeatBarLine
Creates a new repeat bar line.
RepeatedPart - Class in abc.notation
A simple Part repeated several times.
RepeatedPart(Part) - Constructor for class abc.notation.RepeatedPart
Creates a new repeated part that will repeat the given part.
RepeatedPartAbstract - Class in abc.notation
Abstract class that defines the number of times a part in a tune's music should be repeated.
RepeatedPartAbstract() - Constructor for class abc.notation.RepeatedPartAbstract
Creates a new repeated part.
REST - Static variable in class abc.notation.Note
The REST height type.
REST - Static variable in class abc.parser.AbcTokenType
 

S

save() - Method in class abc.parser.TuneBook
 
saveTo(File) - Method in class abc.parser.TuneBook
Saves this tunebook to the specified file.
scanner - package scanner
This package contains classes for scanners needed for syntax analysis : a scanner is in charge of retrieving tokens from an input stream.
Scanner - Class in scanner
A scanner is able to separate tokens from an input stream, following states defined in a finale state automata.
Scanner(String) - Constructor for class scanner.Scanner
Creates a new scanner to scan the specified string.
Scanner(Reader) - Constructor for class scanner.Scanner
Creates a new scanner to scan the specified stream
Scanner() - Constructor for class scanner.Scanner
Creates a new scanner.
ScannerAdapter - Class in scanner
An empty default implementation of for scanner listener.
ScannerAdapter() - Constructor for class scanner.ScannerAdapter
 
ScannerListenerInterface - Interface in scanner
This interface should be implemented by any object that wants to listen to scanner events thrown during characters stream scanning.
sendChar(char) - Method in class scanner.FinaleStateAutomata
Sends a character to this automata.
Set - Class in scanner
This class defines sets used to group token types while parsing.
Set(TokenType[]) - Constructor for class scanner.Set
Creates a new set.
Set() - Constructor for class scanner.Set
Default constructor.
Set(Set) - Constructor for class scanner.Set
Creates a new set from the specified one.
Set(TokenType) - Constructor for class scanner.Set
Creates a new set containing the specified tokenType.
setAccidental(byte, byte) - Method in class abc.notation.KeySignature
Sets the accidental for the specified note.
setAccidental(byte) - Method in class abc.notation.Note
Sets the accidental for this note.
setArea(String) - Method in class abc.notation.Tune
Sets the geographic area where this tune comes from.
setBeginPosition(CharStreamPosition) - Method in class abc.parser.PositionableMultiNote
 
setBeginPosition(CharStreamPosition) - Method in class abc.parser.PositionableNote
 
setBook(String) - Method in class abc.notation.Tune
Sets the list of publications where this tune can be found.
setBow(byte) - Method in class abc.notation.NoteAbstract
Sets the bow to be used when playing this note.
setCharactersOffset(int) - Method in class scanner.CharStreamPosition
Sets the offset of this position.
setChordName(String) - Method in class abc.notation.NoteAbstract
Sets the name of the chord.
setColoringEnable(boolean) - Method in class abc.ui.swing.TuneEditorPane
Enables/disables coloring of the text.
setColumn(int) - Method in class scanner.CharStreamPosition
Sets the column of this position.
setComposer(String) - Method in class abc.notation.Tune
Sets the composer of this tune.
setDefinition(AutomataDefinition) - Method in class scanner.FinaleStateAutomata
Sets the definition of this automata.
setDenominator(int) - Method in class abc.notation.Fraction
 
setDiscography(String) - Method in class abc.notation.Tune
Sets recordings where this tune appears.
setDotted(byte) - Method in class abc.notation.Note
Sets the number of dots for this note.
setDotted(byte) - Method in class abc.notation.NoteAbstract
Sets the number of dots for this note.
setDuration(short) - Method in class abc.notation.Note
Sets the length of this note.
setElemskip(int) - Method in class abc.notation.Tune
 
setEnd(NoteAbstract) - Method in class abc.notation.TwoNotesLink
Sets the end of the two notes link.
setFinaleStateAutomata(FinaleStateAutomata) - Method in class scanner.Scanner
 
setGeneralGracing(boolean) - Method in class abc.notation.NoteAbstract
Specifies if this note should be played with a general gracing or not.
setGracingNotes(Note[]) - Method in class abc.notation.NoteAbstract
 
setGroup(String) - Method in class abc.notation.Tune
 
setHeight(byte) - Method in class abc.notation.Note
Sets the height of this note.
setHeigth(byte) - Method in class abc.notation.Note
Deprecated. use setHeight(byte heigthValue) instead. sorry for the typo...
setInformation(String) - Method in class abc.notation.Tune
Sets additional information about the tune.
setInstrument(Instrument) - Method in class abc.midi.MidiConverterAbstract
Sets the instrument to be used for sequence playback.
setInstrument(Instrument) - Method in interface abc.midi.MidiConverterInterface
Sets the instrument to be used for sequence playback.
setInstrument(Instrument) - Method in class abc.midi.OldBasicMidiConverter
Sets the instrument to be used for sequence playback.
setInstrument(Instrument) - Method in class abc.midi.TunePlayer
Sets the instrument to be used for sequence playback.
setJustification(boolean) - Method in class abc.ui.swing.JScoreComponent
Changes the justification of the rendition score.
setLabel(char) - Method in class abc.notation.Part
Sets the label that identifies this part.
setLength(short) - Method in class abc.notation.Note
Deprecated. use setDuration(short duration) instead.
setLength(int) - Method in class abc.parser.PositionableMultiNote
 
setLength(int) - Method in class abc.parser.PositionableNote
 
setLine(int) - Method in class scanner.CharStreamPosition
Sets the line of this position.
setMultiPartsDefinition(MultiPartsDefinition) - Method in class abc.notation.Tune
Sets the multi parts definition of this tune.
setNotes(String) - Method in class abc.notation.Tune
Sets notes concerning the transcription of this tune.
setNumberOfRepeats(int) - Method in class abc.notation.RepeatedPartAbstract
Sets the number of times this part should be repeated.
setNumerator(int) - Method in class abc.notation.Fraction
Sets the numerator of this fraction.
setOctaveTransposition(byte) - Method in class abc.notation.Note
Sets the octave transposition for this note.
setOrigin(String) - Method in class abc.notation.Tune
Sets the origin of this tune.
setPartOfSlur(boolean) - Method in class abc.notation.NoteAbstract
Sets if this note is part of a slur or not.
setPosition(CharStreamPosition) - Method in class scanner.CharStreamPosition
Sets this position to the same place as the specified one.
setPosition(int, int, int) - Method in class scanner.CharStreamPosition
Sets this position to the specified place.
setReferenceNumber(int) - Method in class abc.notation.Tune
Sets the reference number of this tune.
setRhythm(String) - Method in class abc.notation.Tune
Sets the rhythm of this tune.
setSelectedItem(MusicElement) - Method in class abc.ui.swing.JScoreComponent
Highlights the given score element in the score.
setSelectedItem(JScoreElement) - Method in class abc.ui.swing.JScoreComponent
Highlights the given score element in the score.
setSelectedItem(PositionableInCharStream) - Method in class abc.ui.swing.TuneEditorPane
Highlights the specified element in the abc tune notation.
setSize(float) - Method in class abc.ui.swing.JScoreComponent
The size of the font used to display the music score.
setSize(Dimension) - Method in class abc.ui.swing.TuneEditorPane
 
setSlurDefinition(SlurDefinition) - Method in class abc.notation.NoteAbstract
 
setSource(String) - Method in class abc.notation.Tune
Sets the source of this tune.
setStaccato(boolean) - Method in class abc.notation.NoteAbstract
Sets the staccato playing style of this note.
setStaffLinesSpacing(int) - Method in class abc.ui.swing.JScoreComponent
 
setStart(NoteAbstract) - Method in class abc.notation.TwoNotesLink
Sets the start of the two notes link.
setStrictDuration(short) - Method in class abc.notation.Note
Sets the strict duration of this note.
setTargetState(State) - Method in class scanner.Transition
Sets the target state of this transition.
setTempo(int) - Method in class abc.midi.TunePlayer
Sets the tempo used to play the tune.
setText(String) - Method in class abc.ui.swing.TuneEditorPane
 
setTieDefinition(TieDefinition) - Method in class abc.notation.Note
Sets the tie definition for this note.
setTokenState(boolean) - Method in class scanner.State
Sets if this state is a token state or not.
setTune(Tune) - Method in class abc.ui.swing.JScoreComponent
Sets the tune to be renderered.
setType(TokenType) - Method in class scanner.State
Sets the type of this state.
SHARP - Static variable in interface abc.notation.AccidentalType
The SHARP accidental type : #
SIGNATURE_3_4 - Static variable in class abc.notation.TimeSignature
The 3/4 time signature constant.
SIGNATURE_4_4 - Static variable in class abc.notation.TimeSignature
The 4/4 time signature constant.
SIGNATURE_6_8 - Static variable in class abc.notation.TimeSignature
The 6/8 time signature constant.
SIMPLE - Static variable in class abc.notation.BarLine
The simple bar line type.
SIXTEENTH - Static variable in class abc.notation.Note
The SIXTEENTH length type.
SIXTY_FOURTH - Static variable in class abc.notation.Note
The SIXTY_FOURTH length type.
size() - Method in class abc.parser.TuneBook
Returns the number of tunes contained in this tunebook.
size() - Method in class scanner.Set
Returns the number of elements in this set.
SlurDefinition - Class in abc.notation
A tagging class to represent slurs between notes.
SlurDefinition() - Constructor for class abc.notation.SlurDefinition
 
SPACE - Static variable in class abc.parser.AbcTokenType
 
start() - Method in class abc.midi.TunePlayer
Starts the player so that it can play tunes.
State - Class in scanner
This class defines states used in finale state automata.
State(TokenType, boolean) - Constructor for class scanner.State
Constructs a new state.
stop() - Method in class abc.midi.TunePlayer
Stops this player.
stopPlaying() - Method in class abc.midi.TunePlayer
Stops the playing of the current tune if any.
substract(char[]) - Method in class scanner.Transition
Removes the given characters to the ones activating this transition.
superParse(Reader) - Method in class abc.parser.AsynchronousTuneParser
 
superParseHeader(Reader) - Method in class abc.parser.AsynchronousTuneParser
 

T

Tempo - Class in abc.notation
The tempo class enables you to define tempo values from a reference note length.
Tempo(int) - Constructor for class abc.notation.Tempo
Creates a tempo object with the specified tempo value and quarter as length reference.
Tempo(short, int) - Constructor for class abc.notation.Tempo
Creates a tempo object with the specified tempo value and the specified length reference.
TEMPO_CHANGE - Static variable in interface abc.midi.MidiMessageType
The message type for a tempo change.
tempoChanged(TempoChangeEvent) - Method in class abc.midi.TunePlayerAdapter
Invoked when the playing tempo has changed.
tempoChanged(TempoChangeEvent) - Method in interface abc.midi.TunePlayerListenerInterface
Invoked when the playing tempo has changed.
TempoChangeEvent - Class in abc.midi
 
TempoChangeEvent(Object, int) - Constructor for class abc.midi.TempoChangeEvent
 
TempoMessage - Class in abc.midi
A midi message to set tempo.
TempoMessage(Tempo) - Constructor for class abc.midi.TempoMessage
Creates a midi message to change tempo to the specified tempo.
TEXT - Static variable in class abc.parser.AbcTokenType
The text token type : all characters, excluding '%'.
THIRTY_SECOND - Static variable in class abc.notation.Note
The THIRTY_SECOND length type.
TIE - Static variable in class abc.parser.AbcTokenType
 
TieDefinition - Class in abc.notation
A tagging class to represent ties between notes.
TieDefinition() - Constructor for class abc.notation.TieDefinition
 
TimeSignature - Class in abc.notation
This class enables you to describe any time signatures like 4/4, 6/8 ...
TimeSignature(int, int) - Constructor for class abc.notation.TimeSignature
Creates a new time signature with the specified parameters.
TimeSignatureMessage - Class in abc.midi
A midi message to set time signature DOES NOT WORK !!!!.
TimeSignatureMessage(TimeSignature) - Constructor for class abc.midi.TimeSignatureMessage
Creates a midi message to change time signature from an ABC time signature.
toArray() - Method in class abc.notation.MultiNote
Returns notes composing this multinote as an array of notes, sorted from the lowest note to the highest one.
Token - Class in scanner
Tokens are objects created by a scanner while scanning a stream of characters.
Token(String, TokenType, CharStreamPosition) - Constructor for class scanner.Token
Creates a new token with the specified values.
TokenEvent - Class in scanner
This event is thrown when a new token has been detected.
TokenEvent(Object, Token) - Constructor for class scanner.TokenEvent
Creates a new token event.
tokenGenerated(TokenEvent) - Method in class scanner.ScannerAdapter
Invoked when a new token has been generated.
tokenGenerated(TokenEvent) - Method in interface scanner.ScannerListenerInterface
Invoked when a new token has been generated.
TokenType - Interface in scanner
Tokens types add semantic to tokens to diferenciate them.
toLitteralNotation() - Method in class abc.notation.KeySignature
 
toMidiSequence(Tune) - Method in class abc.midi.MidiConverterAbstract
Converts the given tune to a midi sequence.
toMidiSequence(Tune) - Method in interface abc.midi.MidiConverterInterface
Returns the midi sequence corresponding to the given tune.
toMidiSequence(Tune) - Method in class abc.midi.OldMidiConverterAbstract
Converts the given tune to a midi sequence.
toPartsArray() - Method in class abc.notation.MultiPartsDefinition
Returns this multipart as an array of singles parts.
toPartsArray() - Method in class abc.notation.RepeatedPart
 
toPartsArray() - Method in class abc.notation.RepeatedPartAbstract
Returns this repeated part as an array of singles parts.
toRootOctaveHeigth() - Method in class abc.notation.Note
Deprecated. use getStrictHeight() instead
toString() - Method in class abc.notation.BarLine
Returns a string representation of this object.
toString() - Method in class abc.notation.Elemskip
 
toString() - Method in class abc.notation.Fraction
Returns a String representation of this fraction.
toString() - Method in class abc.notation.KeySignature
Returns a String representation of this key.
toString() - Method in class abc.notation.Note
 
toString() - Method in class abc.notation.NoteAbstract
Returns a String representation of this Object.
toString() - Method in class abc.notation.RepeatBarLine
Returns a string representation of this repeat barline.
toString() - Method in class abc.notation.Tune
Returns a string representation of this tune.
toString() - Method in class abc.parser.AbcTokenType
 
toString() - Method in class abc.parser.InvalidTokenEvent
Returns a String representation of this event.
toString() - Method in class abc.parser.PositionableMultiNote
 
toString() - Method in class abc.parser.PositionableNote
 
toString() - Method in class abc.parser.TuneChangeEvent
Returns a string representation of this event.
toString() - Method in class scanner.AutomataDefinition
Returns a string representation of this object.
toString() - Method in class scanner.CharStreamPosition
Returns a string representation this object.
toString() - Method in class scanner.FinaleStateAutomata
Returns a string representation of this object.
toString() - Method in class scanner.InvalidCharacterEvent
 
toString() - Method in class scanner.Set
Returns a string representation of this set.
toString() - Method in class scanner.State
 
toString() - Method in class scanner.Token
Returns a string representation of this token.
toString() - Method in class scanner.TokenEvent
Returns a string representation of this token event.
toString() - Method in class scanner.Transition
 
toVector() - Method in class abc.parser.TuneBook
 
Transition - Class in scanner
This class defines transitions between states that are used for defining finale state automatas.
Transition(State, char[]) - Constructor for class scanner.Transition
Constructs a new transition.
Transition(State, char) - Constructor for class scanner.Transition
 
Tune - Class in abc.notation
This class encapsulates all information retrieved from a tune transcribed using abc notation : header and music.
Tune() - Constructor for class abc.notation.Tune
Creates a new empty tune.
Tune(Tune) - Constructor for class abc.notation.Tune
Copy constructor
Tune.Music - Class in abc.notation
 
Tune.Music() - Constructor for class abc.notation.Tune.Music
 
TUNE_ADDED - Static variable in class abc.parser.TuneChangeEvent
The tune added event type.
TUNE_REMOVED - Static variable in class abc.parser.TuneChangeEvent
The tune removed event type.
TUNE_UPDATED - Static variable in class abc.parser.TuneChangeEvent
The tune updated event type.
tuneBegin() - Method in class abc.parser.AbcFileParserAdapter
Invoked when the parser reaches the beginning of a tune.
tuneBegin() - Method in class abc.parser.TuneParserAdapter
Invoked when the parser reaches the beginning of a tune.
tuneBegin() - Method in interface abc.parser.TuneParserListenerInterface
Invoked when the parsing of the tune begins.
TuneBook - Class in abc.parser
This class provides an object representation of a tunebook.
TuneBook(File) - Constructor for class abc.parser.TuneBook
Creates a new tune book from the specified file.
TuneBook(File, AbcFileParserListenerInterface) - Constructor for class abc.parser.TuneBook
Creates a new tune book from the specified file and gets feedback from the parsing phasis via the specified listener.
TuneBook(Reader) - Constructor for class abc.parser.TuneBook
Creates a new tune book from the specified stream.
TuneBook(Reader, AbcFileParserListenerInterface) - Constructor for class abc.parser.TuneBook
Creates a new tune book from the specified stream and gets feedback from the parsing phasis via the specified listener.
TuneBook() - Constructor for class abc.parser.TuneBook
Creates an empty tunebook.
TuneBook(BufferedReader) - Constructor for class abc.parser.TuneBook
Deprecated. use TuneBook(Reader) instead.
TuneBook(BufferedReader, AbcFileParserListenerInterface) - Constructor for class abc.parser.TuneBook
Deprecated. use TuneBook(Reader, AbcFileParserListenerInterface) instead.
TuneBookListenerInterface - Interface in abc.parser
This is the interface that should be implemented by any object that wants to listens to changes occured in a tunebook.
tuneChanged(TuneChangeEvent) - Method in interface abc.parser.TuneBookListenerInterface
Invoked when a change occured in the tunebook.
TuneChangeEvent - Class in abc.parser
Event used when a state changed occured on a tune.
TuneChangeEvent(Object, int, Tune, String) - Constructor for class abc.parser.TuneChangeEvent
Creates a new event describing a tune change.
TuneEditorArea - Class in abc.ui.awt
A pane for displaying and editing tunes.
TuneEditorArea() - Constructor for class abc.ui.awt.TuneEditorArea
 
TuneEditorArea(TuneParser) - Constructor for class abc.ui.awt.TuneEditorArea
 
TuneEditorPane - Class in abc.ui.swing
A JTextPane to display and edit abc tunes.
TuneEditorPane() - Constructor for class abc.ui.swing.TuneEditorPane
Default constructor.
TuneEditorPane(TuneParser) - Constructor for class abc.ui.swing.TuneEditorPane
Creates a new TuneEditorPane with the given parser.
TuneEditorPane(int) - Constructor for class abc.ui.swing.TuneEditorPane
Creates a new TuneEditorPane with the given idle time before refresh.
TuneEditorPane(TuneParser, int) - Constructor for class abc.ui.swing.TuneEditorPane
Creates a new TuneEditorPane with the given parser and idle time before refresh.
tuneEnd(Tune) - Method in class abc.parser.AbcFileParserAdapter
Invoked when the parser reaches the end of a tune.
tuneEnd(Tune) - Method in class abc.parser.TuneParserAdapter
Invoked when the parser reaches the end of a tune.
tuneEnd(Tune) - Method in interface abc.parser.TuneParserListenerInterface
Invoked when the parsing of a tune has ended.
TuneParser - Class in abc.parser
A convenient class to ease the parsing of ONE tune.
TuneParser() - Constructor for class abc.parser.TuneParser
Constructs a new tune parser.
TuneParserAdapter - Class in abc.parser
An empty implementation of a tune parser listener that does nothing.
TuneParserAdapter() - Constructor for class abc.parser.TuneParserAdapter
 
TuneParserListenerInterface - Interface in abc.parser
Interface that should be implemented by any object that listens to tunes parsing.
TunePlayer - Class in abc.midi
TunePlayer objects enable you to play tunes using default MIDI sequencer.
TunePlayer() - Constructor for class abc.midi.TunePlayer
Constructs a tune player with default midi converter.
TunePlayer(MidiConverterInterface) - Constructor for class abc.midi.TunePlayer
Constructs a tune player with the specified midi converter.
TunePlayerAdapter - Class in abc.midi
A convenient class to listen to TunePlayer.
TunePlayerAdapter() - Constructor for class abc.midi.TunePlayerAdapter
 
TunePlayerListenerInterface - Interface in abc.midi
This interface defines methods that should be implemented by any object that wants to listen to a tune player.
Tuplet - Class in abc.notation
A class to define tuplets.
Tuplet(Vector, int, short) - Constructor for class abc.notation.Tuplet
Creates a new tuplet composed of the specified notes.
TUPLET_SPEC - Static variable in class abc.parser.AbcTokenType
 
TwoNotesLink - Class in abc.notation
This class abstracts any kind of relationship between two notes.

U

union(AutomataDefinition) - Method in class scanner.AutomataDefinition
Realize an union between this definition and the given one.
union(Set) - Method in class scanner.Set
Adds the tokens types from the specified set to this set (without creating any new set).
union(TokenType) - Method in class scanner.Set
Performs an union with the specified token type without creating any new set.
union(State) - Method in class scanner.State
Performs an union between this state and the given one.
UNKNOWN - Static variable in interface scanner.TokenType
The unknown token type.
UP - Static variable in class abc.notation.NoteAbstract
The up bow type.
USER_DEFINED - Static variable in class abc.parser.AbcTokenType
 

V

validToken(TokenEvent) - Method in class abc.parser.AbcFileParserAdapter
Invoked when a valid token has been parsed.
validToken(TokenEvent) - Method in class abc.parser.TuneParserAdapter
Invoked when a valid token has been parsed.
validToken(TokenEvent) - Method in interface abc.parser.TuneParserListenerInterface
Invoked when a valid token has been encountered by the parser.

W

WHOLE - Static variable in class abc.notation.Note
The WHOLE length type.
Words - Class in abc.notation
A class to describe words (lyrics) for a tune.
Words(String) - Constructor for class abc.notation.Words
Creates a new word element.
writeAsMusicXML(Tune, File) - Static method in class abc.xml.Abc2xml
Writes the specified tune to the specified file as MusicXML.
writeAsMusicXML(Node, BufferedWriter) - Static method in class abc.xml.Abc2xml
Writes the specified Node to the given writer.
writeScoreTo(File) - Method in class abc.ui.swing.JScoreComponent
Writes the currently set tune score to a PNG file.

A B C D E F G H I J K L M N O P Q R S T U V W
abc4j API Specification

Submit a bug or feature