/[svn]/libgig/trunk/src/DLS.h
ViewVC logotype

Diff of /libgig/trunk/src/DLS.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1180 by persson, Sat May 12 12:39:25 2007 UTC revision 1335 by schoenebeck, Sun Sep 9 21:22:58 2007 UTC
# Line 316  namespace DLS { Line 316  namespace DLS {
316              String SourceForm;       ///< <ISRF-ck>. Identifies the original form of the material that was digitized, such as record, sampling CD, TV sound track. This is not neccessarily the same as <i>Medium</i>.              String SourceForm;       ///< <ISRF-ck>. Identifies the original form of the material that was digitized, such as record, sampling CD, TV sound track. This is not neccessarily the same as <i>Medium</i>.
317              String Commissioned;     ///< <ICMS-ck>. Lists the name of the person or organization that commissioned the subject of the file, e.g., Pope Julian II.              String Commissioned;     ///< <ICMS-ck>. Lists the name of the person or organization that commissioned the subject of the file, e.g., Pope Julian II.
318              String Subject;          ///< <ISBJ-ck>. Describes the contents of the file.              String Subject;          ///< <ISBJ-ck>. Describes the contents of the file.
319                bool UseFixedLengthStrings; ///< Deprecated. Use #FixedStringLengths instead.
320    
321              struct FixedStringLength {              struct FixedStringLength {
322                  uint32_t chunkId;                  uint32_t chunkId;
# Line 340  namespace DLS { Line 341  namespace DLS {
341    
342              Resource* GetParent() { return pParent; };              Resource* GetParent() { return pParent; };
343              virtual void UpdateChunks();              virtual void UpdateChunks();
344                void GenerateDLSID();
345          protected:          protected:
346              Resource* pParent;              Resource* pParent;
347              RIFF::List* pResourceList;              RIFF::List* pResourceList;
# Line 412  namespace DLS { Line 414  namespace DLS {
414      /** Defines <i>Region</i> information of an <i>Instrument</i>. */      /** Defines <i>Region</i> information of an <i>Instrument</i>. */
415      class Region : public Resource, public Articulator, public Sampler {      class Region : public Resource, public Articulator, public Sampler {
416          public:          public:
417              range_t     KeyRange;              range_t     KeyRange; ///< @deprecated Only read, don't write! Use SetKeyRange() instead.
418              range_t     VelocityRange;              range_t     VelocityRange;
419              uint16_t    KeyGroup;              uint16_t    KeyGroup;
420              uint16_t    Layer;              uint16_t    Layer;
# Line 424  namespace DLS { Line 426  namespace DLS {
426    
427              Sample*     GetSample();              Sample*     GetSample();
428              void        SetSample(Sample* pSample);              void        SetSample(Sample* pSample);
429                virtual void SetKeyRange(uint16_t Low, uint16_t High);
430              virtual void UpdateChunks();              virtual void UpdateChunks();
431          protected:          protected:
432              RIFF::List* pCkRegion;              RIFF::List* pCkRegion;
# Line 450  namespace DLS { Line 453  namespace DLS {
453              Region*  GetFirstRegion();              Region*  GetFirstRegion();
454              Region*  GetNextRegion();              Region*  GetNextRegion();
455              Region*  AddRegion();              Region*  AddRegion();
             void     MoveRegion(Region* pSrc, Region* pDst);  
456              void     DeleteRegion(Region* pRegion);              void     DeleteRegion(Region* pRegion);
457              virtual void UpdateChunks();              virtual void UpdateChunks();
458          protected:          protected:
# Line 468  namespace DLS { Line 470  namespace DLS {
470              virtual void LoadRegions();              virtual void LoadRegions();
471              virtual ~Instrument();              virtual ~Instrument();
472              friend class File;              friend class File;
473                friend class Region;
474            private:
475                void MoveRegion(Region* pSrc, Region* pDst);
476      };      };
477    
478      /** Parses DLS Level 1 and 2 compliant files and provides abstract access to the data. */      /** Parses DLS Level 1 and 2 compliant files and provides abstract access to the data. */

Legend:
Removed from v.1180  
changed lines
  Added in v.1335

  ViewVC Help
Powered by ViewVC