libkmid Globals


Annotated List
Files
Globals
Hierarchy
Index

alsaout.h

dattypes.h

libkmid.h

midfile.h

Global member Documentation

typedef struct snd_seq_event snd_seq_event_t

snd_seq_event_t

#include <alsaout.h>

typedef unsigned char uchar

uchar

#include <dattypes.h>

Unsigned char

typedef unsigned short ushort

ushort

#include <dattypes.h>

Unsigned short

typedef unsigned long ulong

ulong

#include <dattypes.h>

Unsigned long

ushort  readShort (FILE *fh)

readShort

#include <dattypes.h>

ulong  readLong (FILE *fh)

readLong

#include <dattypes.h>

void  printfdebug (const char *s,int a=0,int b=0, int c=0)

printfdebug

#include <dattypes.h>

void  printfdebug (const char *s,int a,long b)

printfdebug

#include <dattypes.h>

void  printfdebug (const char *s,double a,double b=0, double c=0)

printfdebug

#include <dattypes.h>

int  kMidInit (void)

kMidInit

#include <libkmid.h>

int  kMidLoad (const char *filename)

kMidLoad

#include <libkmid.h>

int  kMidPlay (void)

kMidPlay

#include <libkmid.h>

int  kMidStop (void)

kMidStop

#include <libkmid.h>

void  kMidDestruct (void)

kMidDestruct

#include <libkmid.h>

int  kMidIsPlaying (void)

kMidIsPlaying

#include <libkmid.h>

int  kMidDevices (void)

kMidDevices

#include <libkmid.h>

const char *  kMidName (int i)

kMidName

#include <libkmid.h>

const char *  kMidType (int i)

kMidType

#include <libkmid.h>

void  kMidSetDevice (int i)

kMidSetDevice

#include <libkmid.h>

void  kMidSetMidiMapper (const char *mapfilename)

kMidSetMidiMapper

#include <libkmid.h>

const char *  kMidVersion (void)

kMidVersion

#include <libkmid.h>

const char *  kMidCopyright (void)

kMidCopyright

#include <libkmid.h>

double  tempoToMetronomeTempo (ulong x)

tempoToMetronomeTempo

#include <midfile.h>

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.

double  metronomeTempoToTempo (ulong x)

metronomeTempoToTempo

#include <midfile.h>

MidiTrack ** readMidiFile ( const char *name, MidiFileInfo *info, int &ok)

readMidiFile

#include <midfile.h>

Reads a midi file.

Parameters:
namethe filename of the midi file to load.
infoa pointer to the MidiFileInfo struct that will be filled with the information of the loaded file.
okreturn status.

Returns: an array of MidiTrack objects with the contents of the file.

void  parseInfoData ( MidiFileInfo *info, MidiTrack **tracks, float ratioTempo)

parseInfoData

#include <midfile.h>

void  parsePatchesUsed ( MidiTrack **tracks, MidiFileInfo *info, int gm)

parsePatchesUsed

#include <midfile.h>


Generated by: dfaure on faure on Tue Apr 16 08:51:14 2002, using kdoc 2.0a53.