Songs

Songs

A Brahms song consists of several tracks. Different tracks can be used to contain different voices of a piece of music. Among the tracks properties are:

Tracks

A track may be of one of the following types:

  • ScoreTrack - used for score editing
  • DrumTrack - used for drum editing, the contained information does not differ from the ScoreTrack
  • MasterTrack - used to regulate changes in tempo and meter
  • AudioTrack - will be used soon for harddisc recording and playback of wave-files
  • CommentTrack - used to store textual information with the song
For the future there will be a general track type, which can be used to implement other track types within an addon (like a video track).

Screenshot Brahms Mainwindow

For Scoretracks and Drumtracks, there are more properties like:

  • the midi instrument
  • the output device
  • the midi channel (by default the notes' channel is used)
  • a relative volume parameter
  • a relative pitch parameter (transposition)
  • a relative delay parameter
The relative parameters are added to the events during playback. A chosen midi channel overrules the notes' channel property, but does not change it.

Parts

Tracks may consist of several parts, which can be moved back and forth within the timescale. There is only one part type for all tracks. Depending of its track type, the part offers different editors to edit its events.

Events

All events have a position in time, relative to the start position of the part, as well as a duration in time. There are several event types:

  • MidiEvent - these are all midi events, except for note-on and note-off
  • MasterEvent - containing information about tempo and meter
  • Note - the combined data of a midi note-on and note-off event, and some additional information (see below)
  • AudioEvent - these contain a filename pointing to a wave file
  • Symbol - containing special symbols for ScoreEditing

Notes

Aside from the pure note-on/off midi event, notes contain some extra information as their duration, their visual length (which equals their duration in all cases except for tuplets), their enharmonic shift, stem direction, group-bindings, midi channel and certain ornaments, as expressions, lyrics, etc. It is allowed to define new ornament derivates.

KDE Logo