• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • libkmid
 

libkmid

Public Attributes | List of all members
MidiFileInfo Struct Reference

#include <midfile.h>

Public Attributes

int format
 
int ntracks
 
int ticksPerCuarterNote
 
ulong ticksTotal
 
double millisecsTotal
 
ulong ticksPlayed
 
int patchesUsed [256]
 

Detailed Description

Contains all the information about a MIDI file.

All the information about a MIDI file.

Version
0.9.5 17/01/2000
Author
Antonio Larrosa Jimenez larro.nosp@m.sa@k.nosp@m.de.or.nosp@m.g

Definition at line 39 of file midfile.h.

Member Data Documentation

◆ format

int MidiFileInfo::format

Format of MIDI file.

Definition at line 44 of file midfile.h.

◆ millisecsTotal

double MidiFileInfo::millisecsTotal

Total number of milliseconds.

Definition at line 64 of file midfile.h.

◆ ntracks

int MidiFileInfo::ntracks

Number of tracks.

Definition at line 49 of file midfile.h.

◆ patchesUsed

int MidiFileInfo::patchesUsed[256]

Patches used in the MIDI file.

In each position of the array it stores the number of times the corresponding patch is used. So, if a MIDI file plays 782 notes with a piano, patchesUsed[0] will store 782. In the same way, if it doesn't use the Music Box patch, patchesUsed[10] will be 0.

Definition at line 77 of file midfile.h.

◆ ticksPerCuarterNote

int MidiFileInfo::ticksPerCuarterNote

Ticks per cuarter note.

Definition at line 54 of file midfile.h.

◆ ticksTotal

ulong MidiFileInfo::ticksTotal

Total number of MIDI ticks.

Definition at line 59 of file midfile.h.


The documentation for this struct was generated from the following file:
  • midfile.h

libkmid

Skip menu "libkmid"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

libkmid

Skip menu "libkmid"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for libkmid by doxygen 1.9.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |