Developer Guide
User guide
  • JJazzLab
  • Build from source code
  • Getting started
  • Add a rhythm engine
  • API
    • Main modules
    • Data model
    • Javadoc API
Powered by GitBook
On this page
  • ## hyperlinks to be updated with https://github.com/jjazzboss/JJazzLab instead of deprecated JJazzLab-X
  • Song
  • MidiMix
  • Helper classes
  • Harmony module
  • Phrases and RhythmMusicGeneration modules

Was this helpful?

Export as PDF
  1. API

Data model

PreviousMain modules

Last updated 1 year ago

Was this helpful?

## hyperlinks to be updated with instead of deprecated JJazzLab-X

Song

The object is the main data model. It is mainly composed of a and a .

The ChordLeadSheet object is the model of the Chord leadsheet editor. It holds the sections and the chord symbols.

The SongStructure object is the model of the Song structure editor. It holds the , each one being linked to a parent section, and each one defining a set of RhythmParameter values.

Combining the SongStructure and the ChordLeadSheet will give you the "unrolled" chord lead sheet for which the backing track must be generated.

MidiMix

The stores the Midi configuration of a given Song. It is mainly used by the framework to control the Midi output device. Your MusicGenerator will use it only to retrieve the Midi channel associated to a Rhythm track (RhythmVoice).

Helper classes

Harmony module

Supporting classes used in the Song: , , , etc.

Phrases and RhythmMusicGeneration modules

Supporting classes useful for your MusicGenerator:

  • etc.

and : the MusicGenerator needs to create a Phrase for each rhythm track.

: a helper class to get the "unrolled" chord leadsheet descrive above.

: music phrase manipulation methods

: music phrase manipulation methods, including methods to adapt a music source phrase (e.g. a bass pattern for C7M) into a different chord (e.g. Ab-6)

https://github.com/jjazzboss/JJazzLab
Song
ChordLeadSheet
SongStructure
SongParts
MidiMix
TimeSignature
ChordSymbol
Degree
Phrase
NoteEvent
ContextChordSequence
Grid
Phrases