Download Latest Version smc-maven-plugin-7.6.0.jar (25.9 kB)
Email in envelope

Get an email when there's a new version of SMC - The State Machine Compiler

Home / SMC 7.6.0 / Examples / Java / EX7 / sounds
Name Modified Size InfoDownloads / Week
Parent folder
AM.au 2023-06-24 5.3 kB
busy_signal.au 2023-06-24 7.9 kB
touch_tone_8.au 2023-06-24 1.1 kB
2.au 2023-06-24 5.7 kB
3.au 2023-06-24 5.4 kB
6.au 2023-06-24 5.8 kB
PM.au 2023-06-24 5.7 kB
second.au 2023-06-24 5.3 kB
7.au 2023-06-24 7.8 kB
could_not_be_completed.au 2023-06-24 30.3 kB
phone_off_hook.au 2023-06-24 1.8 kB
touch_tone_9.au 2023-06-24 989 Bytes
15.au 2023-06-24 6.7 kB
touch_tone_2.au 2023-06-24 1.0 kB
touch_tone_6.au 2023-06-24 1.0 kB
touch_tone_10.au 2023-06-24 1.0 kB
11.au 2023-06-24 5.6 kB
40.au 2023-06-24 6.0 kB
50.au 2023-06-24 5.9 kB
911.au 2023-06-24 107.9 kB
8.au 2023-06-24 5.3 kB
nyctemp.au 2023-06-24 150.7 kB
touch_tone_11.au 2023-06-24 967 Bytes
9.au 2023-06-24 5.9 kB
10.au 2023-06-24 5.3 kB
error_signal.au 2023-06-24 9.1 kB
the_time_is.au 2023-06-24 6.4 kB
touch_tone_7.au 2023-06-24 980 Bytes
14.au 2023-06-24 7.0 kB
oclock.au 2023-06-24 6.0 kB
the_number_you_have_dialed.au 2023-06-24 13.1 kB
touch_tone_3.au 2023-06-24 993 Bytes
20.au 2023-06-24 5.4 kB
30.au 2023-06-24 5.8 kB
dialtone.au 2023-06-24 1.6 kB
touch_tone_4.au 2023-06-24 1.0 kB
13.au 2023-06-24 6.7 kB
17.au 2023-06-24 8.2 kB
fast_busy_signal.au 2023-06-24 7.9 kB
touch_tone_0.au 2023-06-24 1.0 kB
touch_tone_1.au 2023-06-24 946 Bytes
16.au 2023-06-24 7.7 kB
ring.au 2023-06-24 39.2 kB
seconds.au 2023-06-24 6.1 kB
12.au 2023-06-24 7.7 kB
19.au 2023-06-24 6.8 kB
and.au 2023-06-24 4.7 kB
exactly.au 2023-06-24 7.0 kB
touch_tone_5.au 2023-06-24 1.0 kB
0.au 2023-06-24 6.2 kB
4.au 2023-06-24 4.4 kB
50_cents_please.au 2023-06-24 46.5 kB
oh.au 2023-06-24 5.2 kB
1.au 2023-06-24 5.9 kB
5.au 2023-06-24 5.6 kB
18.au 2023-06-24 7.3 kB
Totals: 56 Items   630.2 kB 0


                         Java Example 7


This is a telephone finite state machine.


+ Building
----------

NOTE: Smc.jar must be built and installed.

Unix & Windows:
    $ make telephone


+ Executing
-----------

(Make sure you have sound turned on before running this
 application.)

Do what you normally do with a telephone: pick up the receiver
and start dialing.

Try some of these telephone number:

    + 555-1212
    + 555-9263
    + 1-212-555-1234
    + 879-6877
    + 1-802-521-6448
    + Dial a "#" or a "*"
    + 911

When you have completed the telephone call put down the receiver.

Note: If you don't put down the receiver after the call has
      completed, a "receiver left off hook" alarm will sound.

Unix:

    $ java -classpath ${CLASSPATH}:../../../lib/statemap.jar Telephone

Windows:

    $ java -classpath "${CLASSPATH};../../../lib/statemap.jar" Telephone
Source: README.txt, updated 2023-06-24