User Tools

Site Tools


engine_library_format

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
engine_library_format [2017/10/26 06:44]
mr_smidge [Table]
engine_library_format [2017/10/26 06:51]
mr_smidge [''beatData'' Format]
Line 422: Line 422:
 The //last// beat marker in any beat grid is always "beat N + 1", i.e. one beat past the last usable beat in the track. ​ Hence, its sample offset in the file is beyond the last sample in the track. The //last// beat marker in any beat grid is always "beat N + 1", i.e. one beat past the last usable beat in the track. ​ Hence, its sample offset in the file is beyond the last sample in the track.
  
-Also note that when discussing the index/​number of any given beat, the ''​beatData''​ format always assumes that the first beat in the file is beat 1, and the last is beat N.+Also note that when discussing the index/​number of any given beat, the ''​beatData''​ format always assumes that the first beat in the file is beat 0, and the last is beat N.  The index/​number of a given beat is not shown to the end user in either Engine Prime or an SC5000'​s display.
  
 Note that the BPM can be calculated from the information in ''​beatData''​ as follows: Note that the BPM can be calculated from the information in ''​beatData''​ as follows:
Line 457: Line 457:
 As ''​beatData''​ is one of the more complex fields in the Engine Library format, an example always helps. ​ The below is from an example track, where the beatgrid has been adjusted in Engine Prime to correct a mis-identified tempo (wrongly thought to be 97, but was actually 108.3): As ''​beatData''​ is one of the more complex fields in the Engine Library format, an example always helps. ​ The below is from an example track, where the beatgrid has been adjusted in Engine Prime to correct a mis-identified tempo (wrongly thought to be 97, but was actually 108.3):
  
-^ Field                                       ​^ Value              +^ Field                               ​^ Value        
-| Sample Rate (in Hertz) ​                     | 44100              +| Sample Rate (in Hertz) ​             | 44100        
-| Track length (in samples) ​                  ​| 16988686 ​          ​+| Track length (in samples) ​          ​| 16988686 ​    ​
-| Is beat data set (always 1)                 ​| 1                  +| Is beat data set (always 1)         ​| 1            
-| **Default beatgrid** ​                                          +| **Default beatgrid** ​                            
-| Num markers ​                                ​| 2                  +| Num markers ​                        ​| 2            
-| 1st marker offset ​                          ​| -88813.78 ​         +| 1st marker offset ​                  ​| -88813.78 ​   
-| 1st marker beat index                       ​| -4                 ​+| 1st marker beat index               ​| -4           ​
-| 1st marker ​beat until next marker ​          ​| 628                +| 1st marker ​beats until next marker ​ | 628          
-| 1st marker unknown field                    | ???                +| 1st marker unknown field            | ???          
-| 2nd marker offset ​                          ​| 17000758.37 ​       +| 2nd marker offset ​                  ​| 17000758.37 ​ 
-| 2nd marker beat index                       ​| 624                +| 2nd marker beat index               ​| 624          
-| 2nd marker ​beat until next marker ​          ​| 0                  +| 2nd marker ​beats until next marker ​ | 0            
-| 2nd marker unknown field                    | ???                +| 2nd marker unknown field            | ???          
-| **Adjusted beatgrid** ​                      ​                   +| **Adjusted beatgrid** ​              ​             
-| Num markers ​                                ​| 2                  +| Num markers ​                        ​| 2            
-| 1st marker offset ​                          ​| -57722.04 ​         +| 1st marker offset ​                  ​| -57722.04 ​   
-| 1st marker beat index                       ​| -4                 ​+| 1st marker beat index               ​| -4           ​
-| 1st marker ​beat until next marker ​          ​| 698                +| 1st marker ​beats until next marker ​ | 698          
-| 1st marker unknown field                    | ???                +| 1st marker unknown field            | ???          
-| 2nd marker offset ​                          ​| 16995906.29 ​       +| 2nd marker offset ​                  ​| 16995906.29 ​ 
-| 2nd marker beat index                       ​| 694                +| 2nd marker beat index               ​| 694          
-| 2nd marker ​beat until next marker ​          ​| 0                  +| 2nd marker ​beats until next marker ​ | 0            
-| 2nd marker unknown field                    | ???                |+| 2nd marker unknown field            | ???          |
  
 Using the adjusted beatgrid values above, the BPM can be calculated as: Using the adjusted beatgrid values above, the BPM can be calculated as:
engine_library_format.txt · Last modified: 2017/10/26 06:51 by mr_smidge