libgig  4.0.0
DLS::Articulation Class Reference

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 (progress_t *pProgress)
 Apply articulation connections to the respective RIFF chunks. More...
 

Public Attributes

ConnectionpConnections
 Points to the beginning of a Connection array. More...
 
uint32_t Connections
 Reflects the number of Connections. More...
 

Protected Attributes

RIFF::ChunkpArticulationCk
 
uint32_t HeaderSize
 

Detailed Description

Provides access to the defined connections used for the synthesis model.

Definition at line 273 of file DLS.h.

Constructor & Destructor Documentation

§ Articulation()

DLS::Articulation::Articulation ( RIFF::Chunk artl)

Constructor.

Expects an 'artl' or 'art2' chunk to be given where the articulation connections will be read from.

Parameters
artl- pointer to an 'artl' or 'art2' chunk
Exceptions
Exceptionif no 'artl' or 'art2' chunk was given

Definition at line 118 of file DLS.cpp.

References CHUNK_ID_ART2, CHUNK_ID_ARTL, DLS::Connection::conn_block_t::control, DLS::Connection::conn_block_t::destination, RIFF::Chunk::GetChunkID(), 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.

§ ~Articulation()

DLS::Articulation::~Articulation ( )
virtual

Definition at line 140 of file DLS.cpp.

Member Function Documentation

§ UpdateChunks()

void DLS::Articulation::UpdateChunks ( progress_t pProgress)
virtual

Apply articulation connections to the respective RIFF chunks.

You have to call File::Save() to make changes persistent.

Parameters
pProgress- callback function for progress notification

Definition at line 150 of file DLS.cpp.

References DLS::Connection::conn_block_t::control, DLS::Connection::conn_block_t::destination, DLS::Connection::conn_block_t::scale, DLS::Connection::conn_block_t::source, and DLS::Connection::conn_block_t::transform.

Member Data Documentation

§ Connections

uint32_t DLS::Articulation::Connections

Reflects the number of Connections.

Definition at line 276 of file DLS.h.

§ HeaderSize

uint32_t DLS::Articulation::HeaderSize
protected

Definition at line 283 of file DLS.h.

§ pArticulationCk

RIFF::Chunk* DLS::Articulation::pArticulationCk
protected

Definition at line 282 of file DLS.h.

§ pConnections

Connection* DLS::Articulation::pConnections

Points to the beginning of a Connection array.

Definition at line 275 of file DLS.h.


The documentation for this class was generated from the following files: