Stretch of the song as written that plays from a bar on.
More...
#include <playmap.h>
Stretch of the song as written that plays from a bar on.
◆ Loop() [1/2]
◆ Loop() [2/2]
| PlayMap::Loop::Loop |
( |
int | nStartBar, |
|
|
int | nNumBars, |
|
|
int | nPlayBar ) |
|
inline |
Construct a stretch.
- Parameters
-
| nStartBar | The first bar of the stretch as written, or -1 for silence. |
| nNumBars | The length of the stretch in bars. |
| nPlayBar | The bar the song plays the stretch from. |
◆ operator<()
| bool PlayMap::Loop::operator< |
( |
const Loop & | other | ) |
const |
|
inline |
Order loops by the bar they play from.
Inline. The searches of mLoops expand it.
- Parameters
-
- Returns
- Whether this loop plays first.
◆ GetStartBar()
| int PlayMap::Loop::GetStartBar |
( |
| ) |
const |
|
inline |
- Returns
- The first bar of the stretch as written, or -1 for silence.
◆ GetPlayBar()
| int PlayMap::Loop::GetPlayBar |
( |
| ) |
const |
|
inline |
- Returns
- The bar the song plays the stretch from.
◆ GetNumBars()
| int PlayMap::Loop::GetNumBars |
( |
| ) |
const |
|
inline |
- Returns
- The length of the stretch in bars.
The documentation for this class was generated from the following file: