56 bool ToggleGem(
signed char nSlot,
int nTick,
signed char nOwner,
bool bRepeat);
Stream of raw bytes, the base of the memory, file, and network streams.
Definition binstream.h:22
View of the gems of one bar of a pitch track's song as written, moved to a bar the song plays.
Definition gemslice.h:13
The gems of a pitch track, by the bar of the song as written they lie in.
Definition pitchtrackgems.h:17
PitchTrackPlayGems(PitchTrackGems *pGems, PlayMap *pPlayMap, SectionBoundaries *pSections, SlotGrid *pPatterns, int nNumBars, int nTicksPerBar)
Construct a view of gems.
void ApplyPatterns()
Copy the gems of each section's pattern into the section.
void Load(BinStream &stream)
Read the gems.
void ClearSection(int nBar)
Remove every gem of the section a bar lies in.
bool ToggleGem(signed char nSlot, int nTick, signed char nOwner, bool bRepeat)
Place or remove the gem at a tick, and on request at the same tick of every other bar of the section.
void Save(BinStream &stream)
Write the gems.
GemSlice GetBar(int nBar)
Report the gems of a bar the song plays.
void CopyBars(PitchTrackPlayGems *pSource, int nStartBar, int nEndBar)
Copy the gems of a range of bars of other gems.
int GetOwner(int nBar)
Report the owner of the section a bar lies in.
void ClearBar(int nBar, bool bRepeat)
Remove every gem of a bar, and on request of every other bar of the section.
~PitchTrackPlayGems()
Release the view.
Map from the bars a song plays to the bars of the song as written, with the loops that repeat stretch...
Definition playmap.h:11
Ascending list of the measures at which the sections of a song end.
Definition sectionboundaries.h:12
The pattern each section of a remixed song repeats, as the section the pattern comes from.
Definition slotgrid.h:10