libgig
4.3.0
|
Provides access to the defined connections used for the synthesis model. More...
#include <DLS.h>
Public Member Functions | |
Articulation (RIFF::Chunk *artl) | |
Constructor. More... | |
virtual void | UpdateChunks (progress_t *pProgress) |
Apply articulation connections to the respective RIFF chunks. More... | |
virtual void | DeleteChunks () |
Remove all RIFF chunks associated with this Articulation object. More... | |
Public Attributes | |
Connection * | pConnections |
Points to the beginning of a Connection array. | |
uint32_t | Connections |
Reflects the number of Connections. | |
Protected Attributes | |
RIFF::Chunk * | pArticulationCk |
uint32_t | HeaderSize |
Provides access to the defined connections used for the synthesis model.
DLS::Articulation::Articulation | ( | RIFF::Chunk * | artl | ) |
Constructor.
Expects an 'artl' or 'art2' chunk to be given where the articulation connections will be read from.
artl | - pointer to an 'artl' or 'art2' chunk |
Exception | if no 'artl' or 'art2' chunk was given |
Definition at line 119 of file DLS.cpp.
References Connections, RIFF::Chunk::GetChunkID(), pConnections, RIFF::Chunk::Read(), RIFF::Chunk::ReadUint32(), and RIFF::Chunk::SetPos().
|
virtual |
Remove all RIFF chunks associated with this Articulation object.
At the moment Articulation::DeleteChunks() does nothing. It is recommended to call this method explicitly though from deriving classes's own overridden implementation of this method to avoid potential future compatiblity issues.
See Storage::DeleteChunks() for details.
Implements DLS::Storage.
|
virtual |
Apply articulation connections to the respective RIFF chunks.
You have to call File::Save() to make changes persistent.
pProgress | - callback function for progress notification |
Implements DLS::Storage.
Definition at line 154 of file DLS.cpp.
References Connections, RIFF::Chunk::LoadChunkData(), pConnections, and RIFF::Chunk::Resize().