resonance 1.0.1
Loading...
Searching...
No Matches
LevelConverter::Span Struct Reference

One gem of a gem track, as the three span collections store it. More...

#include <levelconverter.h>

Collaboration diagram for LevelConverter::Span:

Public Attributes

Sch::Tick mStart
int mGem
Sch::Tick mLength

Detailed Description

One gem of a gem track, as the three span collections store it.

Span is a placeholder for the name. The size comes from the stride the destructor steps each collection by. AddGemSpan() appends one per note of a gem track, and NextRiff() opens a riff for each in turn.

Member Data Documentation

◆ mStart

Sch::Tick LevelConverter::Span::mStart

The gem's song position.

◆ mGem

int LevelConverter::Span::mGem

The gem, 0 through 2, from a C, an E, or a G.

◆ mLength

Sch::Tick LevelConverter::Span::mLength

The note's duration, which becomes the riff's length.


The documentation for this struct was generated from the following file: