libgig  4.1.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 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.
 
uint32_t Connections
 Reflects the number of Connections.
 

Protected Attributes

RIFF::ChunkpArticulationCk
 
uint32_t HeaderSize
 

Detailed Description

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

Definition at line 274 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 RIFF::Chunk::GetChunkID(), RIFF::Chunk::Read(), RIFF::Chunk::ReadUint32(), and RIFF::Chunk::SetPos().

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 RIFF::Chunk::GetChunkID(), RIFF::List::GetFirstSubChunk(), RIFF::List::GetListType(), RIFF::List::GetNextSubChunk(), and RIFF::List::GetSubList().


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