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