beautypg.com

G: programmers’ reference, Appendix g programmers’ reference, Identify the sonic blaster – APPLIED ENGINEERING Sonic Blaster User Manual

Page 68: Ae file format

background image

APPENDIX G

Programmers’ Reference

*

Note: This chapter contains technical information for
programmers interested in programming the Sonic
Blaster. It is not a programming tutorial, If you're not a
programmer you should ignore this information. Don't
look at it. Don’t even think about it. The card will run
fine without knowing what’s under the hood.

Identify the Sonic Blaster

The card resides in the following memory locations:

$CN00

——>

$5B

CNO1

——>

$5B

'
'
'

CNFF

——>

$5B

AE File Format

The AE File Format attaches an ID header with the following
information to the sound file.

F i l e s

B i n a r y

N o t e s

ID

$4145504D

‘AEPM'
ASCII 4 byte MSB off

Type

2 bytes

0—AE Format
1—2:1
2—2.67:1

Channel

2 bytes

0—Mono
1—Stereo

Length

4 bytes

Length of sampled Sound
(per channel) does not
include header

Frequency

2 bytes

In Hz

Following the header is Channel 1 sampled data.

App. G- Programmers’ Reference 59