|
wavelength 1.0.0
|
Player of the guide sound of each gem of a catch track as the song reaches the gem. More...
#include <guideticker.h>
Public Member Functions | |
| GuideTicker (CatchTrackState *pState, int nTicksPerBar) | |
| Construct a ticker at the first gem of the track. | |
| ~GuideTicker () | |
| Withdraw the scheduled gem. | |
| void | Start () |
| Schedule an update for the current tick. | |
| void | Stop () |
| Withdraw the scheduled update. | |
| void | Mute () |
| Mute the ticker until Unmute(). | |
| void | Unmute () |
| Let the ticker play again. | |
| void | MuteForTwoBars () |
| Mute the ticker until the gems of two bars after the current bar have passed. | |
| void | Update () |
| Play the gems the song has reached and schedule the next gem. | |
Player of the guide sound of each gem of a catch track as the song reaches the gem.
The RTTI records only the command the class schedules. The class is not polymorphic. CatchTrack builds one. Gems of bars that are disabled or already captured play no sound, and the ticker can be muted, indefinitely or until two more bars with gems have passed.
| GuideTicker::GuideTicker | ( | CatchTrackState * | pState, |
| int | nTicksPerBar ) |
Construct a ticker at the first gem of the track.
| pState | The state of the bars of the track. |
| nTicksPerBar | The song ticks in one bar. |
| GuideTicker::~GuideTicker | ( | ) |
Withdraw the scheduled gem.
| void GuideTicker::Start | ( | ) |
Schedule an update for the current tick.
| void GuideTicker::Stop | ( | ) |
Withdraw the scheduled update.
| void GuideTicker::Mute | ( | ) |
| void GuideTicker::Unmute | ( | ) |
Let the ticker play again.
| void GuideTicker::MuteForTwoBars | ( | ) |
Mute the ticker until the gems of two bars after the current bar have passed.
| void GuideTicker::Update | ( | ) |
Play the gems the song has reached and schedule the next gem.