DM2220A / EM2220A
User’s Manual - Page 2 of 2
File Number Assignment
The file number is a three digit number used to associate a sound
file with a particular trigger input. The file number must be added in
front of the original filename in the following manner:
010, 011, ...019 for input T1
020, 021, ...029 for input T2
......
190, 191, ...199 for input T19
200, 201, ...209 for input T20
Up to ten files may be associated with each input, and the file num-
bers must be consecutive. For example, to associate three files
with T1, the file numbers must be 010, 011 and 012. If the files are
numbered 010, 011 and 014, then only 010 and 011 will be asso-
ciated with T1. If an input has no file associated with it, it is auto-
matically disabled.
The files associated with an input will be used sequentially, one file
per trigger. For example, if two files (010 and 011) are associated
with T1, the first trigger will play file 010, the second trigger will play
file 011, and the third trigger will play file 010 again.
Device Configuration
The device can be configured to operate in many different ways by
adding on the flash card a plain text file called MODE.TXT, with
three upper case letters in it according to the following.
First Letter = Priority Mode
D = Decreasing (prioritized)
Inputs are prioritized with T1 being the highest and T20 being
the lowest. If multiple inputs are triggered at the same time, the
input with the highest priority wins. Also, in the Interrupt mode
(see below), a higher priority input can interrupt a lower priority
one, but not vice versa.
R = Round-robin (unprioritized)
Inputs are not prioritized. If multiple inputs are triggered at the
same time, they will take turn to play. For example, if both T1
and T2 are triggered, T1 will play first. After T1 ends, if both T1
and T2 are still triggered, then T2 will play. However, if T2 is not
triggered when T1 ends, then T2 will not play. That means the
system does not memorize previous triggers, it always checks
the inputs again after a playback ends.
Second Letter = Play Mode
N = Non-interrupt
The file plays once and is not interruptible until it is played to
the end. At that point the inputs are checked again according to
the priority mode. The hardware reset is the only way to stop
the playback prematurely.
I = Interrupt
The file plays once but can be interrupted by any other input if
the inputs are not prioritized (Round-robin mode), or by any
input of higher priority if the inputs are prioritized (Default mode).
H = Hold
The file plays for as long as the input is triggered, and stops as
soon as the trigger is removed. The playback is not interrupt-
ible until the file is played to the end. At that point, the inputs
are checked again according to the priority mode.
Third Letter = Trigger Mode
C = Closed (repeatable)
An input is triggered when it’s at or near 0V (ground). Therefore
if an input is tied to the ground through a switch, it is triggered
when the switch is closed.
O = Open (repeatable)
An input is triggered when it’s at or near 3.3V. Therefore if an
input is tied to the ground through a switch, it is triggered when
the switch is open (because the inputs are internally pulled up
to 3.3V).
M = Make (play once)
An input is triggered when it changes from 3.3V to 0V. There-
fore if an input is tied to the ground through a switch, it is trig-
gered at the very moment when the switch is closed.
B = Break (play once)
An input is triggered when it changes from 0V to 3.3V. There-
fore if an input is tied to the ground through a switch, it is trig-
gered at the very moment when the switch is opened.
Invalid Mode Combinations
The following mode combinations are invalid:
DHM, RHM, DHB, RHB
Trouble Shooting Guide
1. Does not play any file at all.
a. File numbers are not assigned properly.
b. The system is in the wrong mode due to missing or incorrect
configuration file.
c. If the flash card is inserted when the power is on, the system
may not work. To fix this problem, turn the power off for a few
seconds to reset the system.
d. The volume pot may need to be adjusted.
e. Some flash cards, especially those having been used in digital
cameras, may need to be reformatted in a PC.
2. Plays the wrong file.
a. File numbers are not assigned properly.
b. The system is in the wrong mode due to missing or incorrect
configuration file.