Amstrad DDI-1 manual Sound, Env, Ent, Release, Bye

Models: DDI-1

1 103
Download 103 pages 20.5 Kb
Page 79
Image 79

4.10.14 SOUND:

The sound commands are unique to the AMSTRAD implementation of Dr. LOGO and are similar to their AMSTRAD BASIC counterparts.

Refer to Chapter 6 of the CPC464 User Instructions for further information.

sound puts a sound into the sound queue. The format is : [<channel-status> <tone- period> <duration> <volume> <volume-envelope> <tone-envelope> <noise-period>] The parameters after duration are optional.

?sound [1 20 50]

env

Set up a volume envelope. The format is: [<envelope-number> envelope-section(s)>]

?env[l 100 2 20] ?sound[l 200 300 5 1]

ent

Set up a tone envelope. The format is: [<envelope-number> <envelope-section(s)>]

?ent [l 100 2 20] ?sound [1 200 300 5 1 1]

Release

Releases sound channels that have been set to a hold state in a sound command. The channels to release are indicated as follows:

Input value

Channels released.

0

None

1

A

2

B

3

B and A

4

C

5

C and A

6

C and B

7

C and B and A

?release 1

4.10.15FLOW OF CONTROL:

bye

Exits the current session of Dr. Logo.

?bye

co

Ends a pause caused by pause,a [CTRL]Z or ERRACT

?co

 

Chapter 4.21

AMSTRAD Disc Drive & Interface DDI-1 Manual

Page 79
Image 79
Amstrad DDI-1 manual Sound, Env, Ent, Release, Bye