Keywords: Category:
 
Long Timbre Usage for One Key One Note
TIME: 2009-6-24
 
 

Long Timbre Usage for One Key One Note

(EzCode4F V2.31)

 

1.      Introduction

In EzCode4F V2.31, the Long Timbre instructions are newly added for One Key One Note function. By using these instructions, you can produce an effect that whenever you press a key, a single note can be played all along until the key is released. For details on One Key One Note function, please refer to the article ‘Application of One Key One Note (EzCode4F v2.00)’.

This article introduces how to realize the long or short timbre effect in using One Key One Note function.

 

2.      Required Tools

PowerMelody V2.11: Add Chord codes.

 

MusicShop V1.01: Edit timbres in MIDI and add pm1 file, as well as compile the project to generate the MDB file for use in EzCode.

 

EzCode4F V2.31: Programming.

 

3.      Long Timbre Instructions

OKONLM: Use long timbre when the One Key One Note function is selected.

 

OKONLR: Use Long timbre until the key is released when the One Key One Note function is selected.

 

OKONSM: Use short timbre when the One Key One Note function is selected.

 

 


4.      Operation Steps

1.  Open a MIDI file in PowerMelody, and then add Chord codes in the major channel. After finishing that, save it as pm1 file. See the figure 1.

Figure 1

 

2.  Use MusicShop to edit timbres. Note that if some of timbres need to be made as the long timbre (e.g. violin), you should add those timbres into MIDI and keyboard timbre. After that, compile the project to generate MDB file.

3.  Add the MDB file into Music Database in EzCode4F v2.31.

4.  Program as the figure 2 shows.

Example description:

[Path]

@_ka0: Change timbres. It can realize the alternation of long timbre and short timbre.

okon_lm: Start up the long timbre effect accompanied with One Key One Note function and play melody circularly.

okon_lm_rel: Release the long timbre.

okon_smStart up the short timbre effect accompanied with One Key One Note function and play melody circularly.

Figure 2

 

5.      Notes

1.  In melody, the number of Chord Code starts from ‘0’ and accumulates in sequence.

2.  If you want to play a note with long timbre effect, you should execute OKONLM instruction before every note playing. Besides, OKONLM should be used with OKONLR instruction.

3.  Only when a note is with the long timbre, OKONLM can play the note completely. Otherwise, OKONLM can only play the length of the timbre.

4.  OKONSM can only play one beat for a note whether the note is with long timbre or short one.

5.  If OKONSM or OKONLM are not used in program, One Key One Note function only plays one beat for a note whether the timbre of this note is long or short. Namely, the defaulted playing length of timbre is the short one.


AM4F_okon长音色的使用.rar
ORIGIN: ICE
BACK TO TOP PRINT ADD TO FAVORITE SUBMIT CLOSE
 
>>
 OTHERS
 
·Application Note of Recording Modes (EzCode4...
·Using Midi Background
·How to Use General I/O to Drive LCD?
·The Application of One Key One Note
·Making an LED fan by ALPHA MCU
·Using ALPHA IC in Serial Communication
·Application of the Action Function
·Using AM8EB for I2C Communication
 
>>
 RECOMMENDED
 
·About the Recording Duration of AMSR Series ...
·EzCode4E Solutions
·Application Note of Recording Modes (EzCode4...
·Using Midi Background
·The Control of Silicon Controlled Rectifier
·The Application of One Key One Note
·Portamento Effect in AM4F
 
 

About Us Contact Us Disclaimer


ICP Record : 08035793 Prepared Guangdong ICP