Loading...
Searching...
No Matches
Scenario::PulseGridLayout Struct Reference

How the pulses of a bar are laid out in the transport's pulse grid. More...

Detailed Description

How the pulses of a bar are laid out in the transport's pulse grid.

The pulses fill the grid row by row from the top left. Every row is full except possibly the last one, which is filled from the left.

Public Member Functions

constexpr int row (int pulse) const noexcept
 
constexpr int column (int pulse) const noexcept
 
constexpr int pulsesInRow (int r) const noexcept
 

Public Attributes

int columns {1}
 
int rows {1}
 
int pulses {1}
 

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