libgig
3.3.0.svn3
|
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 | ~Articulation () |
virtual void | UpdateChunks () |
Apply articulation connections to the respective RIFF chunks. More... | |
Public Attributes | |
Connection * | pConnections |
Points to the beginning of a Connection array. More... | |
uint32_t | Connections |
Reflects the number of Connections. More... | |
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 118 of file DLS.cpp.
References CHUNK_ID_ART2, CHUNK_ID_ARTL, Connections, DLS::Connection::conn_block_t::control, DLS::Connection::conn_block_t::destination, RIFF::Chunk::GetChunkID(), HeaderSize, DLS::Connection::Init(), pArticulationCk, pConnections, RIFF::Chunk::Read(), RIFF::Chunk::ReadUint32(), DLS::Connection::conn_block_t::scale, RIFF::Chunk::SetPos(), DLS::Connection::conn_block_t::source, and DLS::Connection::conn_block_t::transform.
|
virtual |
Definition at line 140 of file DLS.cpp.
References pConnections.
|
virtual |
Apply articulation connections to the respective RIFF chunks.
You have to call File::Save() to make changes persistent.
Definition at line 148 of file DLS.cpp.
References Connections, DLS::Connection::conn_block_t::control, DLS::Connection::conn_block_t::destination, HeaderSize, RIFF::Chunk::LoadChunkData(), pArticulationCk, pConnections, RIFF::Chunk::Resize(), DLS::Connection::conn_block_t::scale, DLS::Connection::conn_block_t::source, DLS::Connection::ToConnBlock(), and DLS::Connection::conn_block_t::transform.
uint32_t DLS::Articulation::Connections |
Reflects the number of Connections.
Definition at line 256 of file DLS.h.
Referenced by Articulation(), and UpdateChunks().
|
protected |
Definition at line 263 of file DLS.h.
Referenced by Articulation(), and UpdateChunks().
|
protected |
Definition at line 262 of file DLS.h.
Referenced by Articulation(), and UpdateChunks().
Connection* DLS::Articulation::pConnections |
Points to the beginning of a Connection array.
Definition at line 255 of file DLS.h.
Referenced by Articulation(), UpdateChunks(), and ~Articulation().