Melody Data; Outline Of Melody Data; Melody Data Creation Procedure - Epson S5U1C63000A User Manual

Cmos 4-bit single chip microcomputer manual
Table of Contents

Advertisement

11.4 Melody Data

11.4.1 Outline of Melody Data

To produce music or sound effects with the melody generator of the S1C63xxx, the following four data
must be created:
(1) Tempo data
Two types of tempo settings are available for a piece of music. They can be selected from 16 types of
tempos.
(2) Main data
a) Control bits
b) Note data
c) Interval data
d) Jump bit
e) Tempo
(3) Control data
The jump destinations (main data numbers) from the main data in which the jump bit is set are
described here.
(4) Option data
The hardware option specifications for melody output are set.

11.4.2 Melody Data Creation Procedure

The following flowchart shows the melody data creation procedure.
S5U1C63000A MANUAL
(S1C63 FAMILY ASSEMBLER PACKAGE)
Attack (for separating notes), rest and the end of melody are specified.
Eight types of notes are available.
The range differs according to the reference frequency (38.4 kHz or 32.768 kHz).
Used to repeat a phrase and to change the flow.
Either one of the tempo data (1) can be selected.
Create a melody data from the score.
Execute the melody assembler to generate
melody ROM option HEX and document data.
Execute the function option generator (winfog)
to create a function option HEX data.
Create the program for
controlling the melody generator.
Start up the db63 and the ICE and then
load the program, function option HEX data
and melody ROM option HEX data to the ICE.
Evaluation and debugging
No
Fig. 11.4.2.1 Melody Data Creation Procedure
CHAPTER 11: MELODY ASSEMBLER
START
START
START
Write a score.
OK?
Yes
END
EPSON
269

Advertisement

Table of Contents
loading

Table of Contents