|
wavelength 1.0.0
|
Player of the gems of a vocal track, one bar of the song at a time. More...
#include <voxtrackmusic.h>
Public Member Functions | |
| VoxTrackMusic (CatchTrackData *pGems, PlayMap *pPlayMap, int nTicksPerBar, int nNumBars) | |
| Construct the player and collect the music of the gems bar by bar. | |
| ~VoxTrackMusic () | |
| Withdraw the scheduled command and release the player. | |
| void | Start () |
| Schedule the first bar at tick 0. | |
| void | Stop () |
| Withdraw the scheduled command. | |
| void | SetMuted (bool bMuted) |
| Silence the music, or play the current bar again from the current tick. | |
Player of the gems of a vocal track, one bar of the song at a time.
The RTTI records the command the class schedules. The class is not polymorphic. The member names are inferred. Each bar of the song has a MultiMuse with the music of the gems of the bar, and each bar the song plays starts the MultiMuse of the bar of the song it maps to.
| VoxTrackMusic::VoxTrackMusic | ( | CatchTrackData * | pGems, |
| PlayMap * | pPlayMap, | ||
| int | nTicksPerBar, | ||
| int | nNumBars ) |
Construct the player and collect the music of the gems bar by bar.
| pGems | The gems. |
| pPlayMap | The map of the song positions. |
| nTicksPerBar | The song ticks in one bar. |
| nNumBars | The length of the song in bars. |
| VoxTrackMusic::~VoxTrackMusic | ( | ) |
Withdraw the scheduled command and release the player.
The MultiMuse objects of the bars are not released.
| void VoxTrackMusic::Start | ( | ) |
Schedule the first bar at tick 0.
| void VoxTrackMusic::Stop | ( | ) |
Withdraw the scheduled command.
| void VoxTrackMusic::SetMuted | ( | bool | bMuted | ) |
Silence the music, or play the current bar again from the current tick.
| bMuted | Whether the music is silent. |