resonance 1.0.1
Loading...
Searching...
No Matches
levelconverter.h File Reference
#include <vector>
#include "game/harmony.h"
#include "mid/receiver.h"
#include "mid/tick.h"
#include "os/hxstr.h"
Include dependency graph for levelconverter.h:

Go to the source code of this file.

Classes

class  LevelConverter
 Converter that reads a Standard MIDI File and fills a LevelBuilder from its events. More...
struct  LevelConverter::PendingEvent
 One note on waiting for its note off. More...
struct  LevelConverter::Span
 One gem of a gem track, as the three span collections store it. More...

Enumerations

enum  LevelConverterTrackType {
  kTrackTypeUnknown = 0 , kTrackTypeTempo = 1 , kTrackTypeAxe = 2 , kTrackTypePitch = 3 ,
  kTrackTypeScratch = 4 , kTrackTypeVocal = 5 , kTrackTypeData = 6 , kTrackTypeHarmony = 7 ,
  kTrackTypeCatch = 8 , kTrackTypeBackground = 9 , kTrackTypeIntro = 10 , kTrackTypeControl = 11 ,
  kTrackTypeInstrument = 12 , kTrackTypeGhost = 13
}
 Kind of a MIDI track, as LevelConverter's track-name parser reports it. More...

Enumeration Type Documentation

◆ LevelConverterTrackType

Kind of a MIDI track, as LevelConverter's track-name parser reports it.

The values are the cases of the jump table at 0x007e7050. Every name below is the track-name text the parser matches. The two exceptions are the tempo track (track 0, whatever its name) and the instrument track (a name with a colon as its second character).

Enumerator
kTrackTypeUnknown 

A name the parser rejected.

kTrackTypeTempo 

Track 0.

kTrackTypeAxe 

axe.

kTrackTypePitch 

pitch.

kTrackTypeScratch 

scratch.

kTrackTypeVocal 

vocal, outside play mode 1.

kTrackTypeData 

data.

kTrackTypeHarmony 

harmony.

kTrackTypeCatch 

catch, and vocal in play mode 1.

kTrackTypeBackground 

A name beginning bg_.

kTrackTypeIntro 

intro.

kTrackTypeControl 

control.

kTrackTypeInstrument 

A letter, a colon, and a display name.

kTrackTypeGhost 

ghost.