Company logo.jpg (12785 bytes)


Introduction to Easy Format™ Supported Voice/Melody Controller

Home

Tutorial of Easy Format Supported Voice / Melody controller

Syntax of Easy Format Supported Voice / Melody controller

Introduction to Easy Format Enhanced C

The Easy Format™ supported voice/melody controller programming language is introduced to support the micro-controller manufacturers.  Micro-controllers are relatively complicated devices to apply.  Intensively training of the hardware structure; assembly language and development tools are required to develop application programs for micro-controllers.  Special  featured micro-controllers are particularly difficult to manage because the enhanced features usually added complexity to the hardware and programming requirements. 

Easy Format™ is a easy to learn language which can be a jump start to let your customers use your product within hours.  In addition, Easy Format is well structured and efficiently designed such that the program length for most application programs are greatly reduced.   The language is more robust in error proof than assembly language.  The user friendly format makes it hard to commit any structural error.  It can cut down more than 70% of debugging time required to develop a regular micro-controller program.  At the same time, the valuable library of Assembly language software developed are not wasted when switch to Easy Format™, because Easy Format™ always provides friendly access to the Assembly language program modules as well.    Finally, the Easy Format™ is a open standard to all micro-controller developers.   It is shared by many reputable manufacturers.   Very probably your customer had already gained good programming experience in the Easy Format™ before your new micro-controller chip is launched.

The framework of an Easy Format™ Supported Voice/Melody Controller program is consisted of several components as described below:

     Define the body     

This is a one line statement required to specify the boundary of the compiler for specific chips as different bodies will have different servicing scope of the format instruction.  This procedure is required for the compiler to determine if the program exceeds the capability of the chip.

     Defining keyboard scanning     

This statement defines the size of the keyboard which is in form of a matrix.    The system is able to determine to scan each key accordingly.   The possible keyboard scanning options are:
8 keys (4x2); 12 keys (4x3); 16 keys (4x4) 32 keys (8x4); 48 keys (8x6); 64 keys (8x8).

     Defining the data files    

Define the specification and content of data files such as wave files; melody scores.

     Modification of default settings    

The compiler predefined a set of default parameters.  If any default parameter needs to be changed, it is to be specified before the program is started.

Possible default options to be modified: sampling frequency, sound level, encoding/decoding algorithm, bit length of data, LED blinking rate, and counter setting.

     Defining the States of I/O ports    

The program will define the input, output, and scanning triggers according to the current state and the triggers.  The possible conditions to describe an input port can be : don't care, rising edge trigger, or falling edge trigger.   For an output port, it can be : high impedance, logic high, logic low, pulse train, or single pulse.   It also defines the output state which can drive the output to any I/O port.   StateTable.jpg (11800 bytes)All these logic are presented in form a state table with multiple rows of states and columns of trigger or I/O.   Each state has corresponding triggering inputs, outputs, and execution paths.  The next section will define the details of the execution path.

     Defining the Paths linking all the States together     

The "Paths" section is defined as a set of sequence of instruction.  Each sequence of instruction is labeled as independent block.   PathTable.jpg (11261 bytes)The defined state table in the previous section will refer to a "Path".  The initiation of execution occurs when a input or trigger is satisfied at any defined state.   It can also control the output state defined in previous section.   In addition, this section will carry out any computation, and changing between different states.   The combination of the state and "path" tables creates the framework of the program.

 

You may continue to the tutorial section to review some real examples.


[Home]
[Tutorial of Easy Format™ supported voice/melody controller]
[Syntax of Easy Format™ support voice/melody controller]
[Introduction to Easy Format Enhanced C] [Contact Us]

EasyFormatWord.JPG (11117 bytes)

For any question or comment: e-mail to WebMaster@EasyFormat.com
Copyrights© 1999 Grow with Me, Inc.   All materials are subject to change without notice.  Easy Format is a trademark of Grow With Me, Inc.  Patent no. 5867818 and other pending patents.
Last modified: 11/02/09 04:00 PM