MidiMountain 0.4.0


Units
Classes, Interfaces and Objects
Types
Variables
Constants
Functions and Procedures
Identifiers

Class TMCSequence

Unit

MCSequence

Declaration

type TMCSequence = class(TMCBase)

Description

MIDI Sequence
This class contains a complete sequence stored in a mid file.

Hierarchy

TMCBase

Methods

Overview

Public constructor Create;
Public destructor Destroy; override;
Public procedure Clear( const Initialize: boolean = true );
Public function GetMaxOffset: TMidiOffset;
Public function GetMeasureBeatTick( const aOffset: TMidiOffset ): TMidiMeasureBeatTick;
Public function GetMeasureBeatTickStr( const aOffset: TMidiOffset ): string;
Public function GetOffsetFromMeasure( const aMeasure: integer ): TMidiOffset;
Public function GetOffsetFromMeasureBeatTick( const aMeasure: TMidiMeasureBeatTick ): TMidiOffset;
Public function GetTime( const aOffset: TMidiOffset ): TDateTime;
Public function GetTimeStr( const aOffset: TMidiOffset ): string;
Public procedure LoadFromFile( const aFileName: WideString );
Public procedure SaveToFile( const aFileName: WideString );

Description

Public constructor Create;

create the sequence

Public destructor Destroy; override;

destroy the sequence

Public procedure Clear( const Initialize: boolean = true );

clear the sequence

Public function GetMaxOffset: TMidiOffset;

get highest offset MIDI information is on

Public function GetMeasureBeatTick( const aOffset: TMidiOffset ): TMidiMeasureBeatTick;

get the measure beat tick information of an offset

Public function GetMeasureBeatTickStr( const aOffset: TMidiOffset ): string;

get the measure beat tick string of an offset

Public function GetOffsetFromMeasure( const aMeasure: integer ): TMidiOffset;

get the midi offset from a given measure

Public function GetOffsetFromMeasureBeatTick( const aMeasure: TMidiMeasureBeatTick ): TMidiOffset;

get the midi offset from a given measure, beat and tick

Public function GetTime( const aOffset: TMidiOffset ): TDateTime;

get the time information of an offset

Public function GetTimeStr( const aOffset: TMidiOffset ): string;

get the time information of an offset in a formated string

Public procedure LoadFromFile( const aFileName: WideString );

load mid file

Public procedure SaveToFile( const aFileName: WideString );

save to a mid file

Properties

Overview

Public property Changed: boolean;
Public property CopyrightNotice: WideString;
Public property CuePointList: TMCList;
Public property DeltaTimesType: integer;
Public property FileName: WideString;
Public property FileType: TMidiFileType;
Public property KeySignatureList: TMCList;
Public property LoadingSavingClearing: boolean;
Public property MarkerList: TMCList;
Public property MetaDataList: TMCList;
Public property Name: WideString;
Public property Position: longint;
Public property SelectionEnd: longint;
Public property SelectionStart: longint;
Public property SMPTEOffset: longint;
Public property SMPTEOffsetList: TMCList;
Public property SysExList: TMCList;
Public property TempoList: TMCList;
Public property TimeSignatureList: TMCList;
Public property TrackCount: integer;
Public property TrackList: TMCList;
Public property Tracks[ Index: integer ]: TMCTrack;
Public property Use14BitController: boolean;
Public property UseNoteOff: boolean;
Public property UseRunningStatus: boolean;

Description

Public property Changed: boolean;

shows if the sequence has been changed

Public property CopyrightNotice: WideString;

copyright notice from the mid file

Public property CuePointList: TMCList;

list with cue points

Public property DeltaTimesType: integer;

delta time type from the mid file

Public property FileName: WideString;

name of currently open mid file

Public property FileType: TMidiFileType;

mid file type

Public property KeySignatureList: TMCList;

list with key signatures

Public property LoadingSavingClearing: boolean;

the sequence is currently loading or saving

Public property MarkerList: TMCList;

list with markers

Public property MetaDataList: TMCList;

list with meta data

Public property Name: WideString;

sequence name from the mid file

Public property Position: longint;

current playback position

Public property SelectionEnd: longint;

end of selection in sequence

Public property SelectionStart: longint;

start of selection in sequence

Public property SMPTEOffset: longint;

SMPTE offset from the mid file

Public property SMPTEOffsetList: TMCList;

list with SMPTE offsets

Public property SysExList: TMCList;

list with system exclusive information

Public property TempoList: TMCList;

list with tempos

Public property TimeSignatureList: TMCList;

list with time signatures

Public property TrackCount: integer;

read the track count

Public property TrackList: TMCList;

list with tracks

Public property Tracks[ Index: integer ]: TMCTrack;

read the tracks

Public property Use14BitController: boolean;

use 14 bit controller or 7 bit

Public property UseNoteOff: boolean;

use not off or note on with velocity 0

Public property UseRunningStatus: boolean;

use running status


MidiMountain 0.4.0 1999-2002 Adrian Meyer, developed with Delphi and Kylix


Generated by DIPasDoc 0.8.0 on Wed 29 Oct 2003 21:59:09