The converted data is saved to a directory called CHIMES in the root directory of the SD card. For
a given WAV file, two files with the same name are created with extensions CHM containing the
DAC ready data and HDR containing set up data such as the sample rate and information about
the original data, such if it was mono or stereo.
The console menu command
CHMC
is used to run the WAV file pre-processor. To connect the
console see section 3 above and to use the menu commands, section 4.
Before giving the CHMC command ensure that the RTC contains the correct data and time as the
file timestamps are used to determine which WAV files need to be updated.
When the command is given all clock functions are stopped and, if connected, the USB drive is
disconnected by the firmware. The clock firmware then:
•
Creates the CHIMES directory if it does not exists
•
Scans the WAV directory for WAV files
•
If the corresponding CHM and HDR files don't exist in the CHIMES directory then it
creates them and proceeds with the conversion
•
If the CHM and HDR files exist then it replaces them if the WAV file is newer
•
When all the conversions have been completed the Fortress E1T Clock resets itself and the
clock restarts.
N.B. The file pre-processor is quiet a slow operation. Conversion of a file can take several seconds
to many minutes. So if you converting several files then go and make a cup of coffee and have a
piece of cake...
Other useful menu commands
CHMK
Chime Kill
Stop the chime currently playing
CHMR
Chime Report
List all the preprocessed files available with some key data
CHMU
name
Chime Use
Play the given named chime
Un-fragmented File Requirement
For speed, the chime CHM files are read directly by the low-level disc functions and not using the
higher level FAT32 functions. To play correctly, this means that a CHM file must not be
fragmented. If a chime “breaks up” when playing then it is an indication the the file is fragmented.
The best process to defragment an SD card is to copy the files contents to a directory on your PC.
Delete all of the SD card contents. The copy the saved copy back again. I do not recommend
using a defrag tool on the SD card.
You'll need to keep a copy of the SD card contents as a back up in any case.
Using new chime files
The chimes are played by statements in the Nuggle file that displays a give clock face. If you have
replaced a file with the same name then the Nuggle will use the new file. Otherwise you will need
to edit the Nuggle text - this is not at all difficult - see the next section.
Page 63
Version 1.0
Copyright Grahame Marsh/Nick Stock 2019
Содержание An E1T Timepiece
Страница 79: ...Fortress How It Works Board Schematics and Function Page 79 Version 1 0 Copyright Grahame Marsh Nick Stock 2019...
Страница 82: ...Page 82 Version 1 0 Copyright Grahame Marsh Nick Stock 2019 1 1 SAM3X8C schematic...
Страница 108: ...Page 108 Version 1 0 Copyright Grahame Marsh Nick Stock 2019...
Страница 109: ...Page 109 Version 1 0 Copyright Grahame Marsh Nick Stock 2019...
Страница 110: ...Page 110 Version 1 0 Copyright Grahame Marsh Nick Stock 2019...
Страница 120: ...E1T Data Sheet Page 120 Version 1 0 Copyright Grahame Marsh Nick Stock 2019...