A small utility which facilitates creating cue files from tracklists.
r.js -o scripts/build-config.js
-
In case if a local performer is absent the global one is used, e.g.
-
Perfomer and title track separators:
' - '
— 45 (hyphen-minus)' – '
— 8211 (en dash)' ‒ '
— 8210 (figure dash)' — '
— 8212 (em dash)' ― '
— 8213 (horizontal bar)
-
Timings recognition:
[08:45] 03. 8 Ball
→08:45
01.[18:02] Giuseppe
→18:02
10:57 02. Space Manoeuvres
→10:57
56:53 T.O.M'
→56:53
1:02:28 Mossy
→62:28
- Sony Sound Forge format
dd:dd:dd[.,]dd
- Adobe Audition format
dd:dd:dd:dd
- Audacity format
ddddd.dddddd
_config.php
is a pretty plain configuration file, this is an example of mine:
<?php
ini_set('date.timezone', 'America/Vancouver');
define('DEBUG_MODE', true);
define('COUNTER_FILENAME', '_counter.dat');
error_reporting(DEBUG_MODE ? E_ALL | E_STRICT : 0);
_counter.dat
is a plain text file where I keep a counter value. There's no predefined content, just make sure it has a writable permissions.
Also please notice there is a test suite located at /scripts/tests/index.html
This is highly important if you change cue formatter or parser