Reply to topic  [ 1 post ] 
TuComposer Envelope (TCE) file format specifications 
Author Message
Administrator

Joined: 31. May 2005 05:23
Posts: 70
Location: Liège
Post TuComposer Envelope (TCE) file format specifications
Code:
TCE1 (TuComposer Envelope)
FORMxxxxTCE1
  EHDR = Envelope header
         Offset    Size    Meanings
          + 0      UBYTE   Version number of envelope (currently 01)
          + 1      UBYTE   Revision number of envelope (currently 00)
          + 2      UWORD   Flags (look the table below)
                           Bit # | Meanings if set
                               0 | Loop envelope (Envelope uses loop points)
                               1 | Sustain (Envelope uses sustain point)
                               2 | Pingpong (Envelope is played in ping pong
                                   order)
                               3 | Sustain loop is played in pingpong order
          + 4      UWORD   Envelope tempo in ticks (default 1)
          + 6      UWORD   Sustain start point
          + 8      UWORD   Sustain end point
          +10      UWORD   Sustain loop repeat counter
          +12      UWORD   Loop start point
          +14      UWORD   Loop end point
          +16      UWORD   Loop repeat counter
          +18      WORD    Lowest random value
          +20      WORD    Highest random value
  BODY = Envelope waveform. Size of envelope is length of BODY chunk / 2
         Each envelope point is a WORD ranging from -$8000 to $7FFF. The
         values are evaluated differently depending on the envelope type.
         Within volume envelopes, $7FFF is max volume level, while $0000 is
         middle volume and -$8000 is no volume.
 ?NODE = Envelope node points. Number of node points is length of NODE chunk
         divided by 2. Each node point contains a UWORD which is the X-axis
         of the envelope, e.g. if the third UWORD would be 125, the third
         node point would be at tick 125. The first node point is always at
         zero and the last node points always points to the last envelope
         point.


1. June 2005 12:10
Profile ICQ WWW
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.