Motorola VA76R manual Midi Audio Guidelines, Tip 1 Use MIDI’s running status feature

Page 32

Sound

123

Bird Tweet

48-72

 

 

 

124

Telephone Ring

48-72

 

 

 

125

Helicopter

48-72

 

 

 

126

Applause

48-72

 

 

 

127

Gunshot

48-72

 

 

 

none

Drums

35-81

 

 

 

MIDI Audio Guidelines

The following are suggested guidelines to maximize sound quality while reducing the overall file size of a MIDI Ring Tone file for use with the W760r/VA76r handset.

Tip 1: Use MIDI’s running status feature

In the MIDI standard, a key-on or a key-off event uses, at most, three bytes each. However, when several key events occur on the same MIDI-channel, the running status feature can be used. In principle, running status means the first byte of a key-on event is omitted. In addition, the key-on event having a velocity of zero is equivalent to the key-off event. Thus, combining running status with key-on events that have zero velocity reduces the number of bytes needed to encode all key events.

EXAMPLE:

Without using the running status feature, the following sequence:

91 2E 23 8E, 91 2B 50 8E, 81 2E 64 00, 81 2B 64 00

represents “Key 2E ON” Velocity 23 MIDI Ch 1”, “Key 2B ON Velocity 50 MIDI Ch 1”, “Key 2E OFF Velocity 64 MIDI Ch 1”, “Key 2B OFF Velocity 64 MIDI Ch 1”. Using the running status feature reduces the sequence to:

91 2E 23 8E, 2B 50 8E, 2E 00 00, 2B 00 00,

That is, the command byte is omitted and velocity zero is used for key off.

Tip 2: Use Standard MIDI File (SMF) type 1

The MIDI content can be stored in a Standard MIDI File (SMF) of type 0 or type 1. In a type 0 SMF, the file format uses one header chunk with one-track chunk. In a type 1 SMF, the format uses one header chunk with several track chunks. SMF type 2 should not be used.

In general, it is more efficient to store the MIDI data as a type 1 file. The increased efficiency is achieved because each track contains only one MIDI channel and one instrument, as is often the case. The running status feature can be applied on each individual track, thereby reducing the track size. To reduce the size of the file even further, use one track for each MIDI channel. That is, if a temple/conductor track exists, merge it with the first instrument track and remove all unnecessary meta-events such as the “track name” and “lyric” meta-events.

W760r/VA76r Media Guide

Page 31

Image 32
Contents W760R/VA76R Page Contents Figures Tables Display Display InfoDisplay information DescriptionGraphics and Video Supported Picture FormatsGraphic and animation formats Type DescriptionFormat Maximum Decode Size Maximum Display Resolution Video PlaybackStill image capture Video formatsFormat Bit Rate kbps Frame Size Frame Rate Graphics and animation formats Bit rate, frame size, and frame rate streaming supported Graphics and Video Capture Video + Audio streamingAudio capture Image captureMaximum durations for video capture Video share MMS /SMS SupportMaximum durations for video + audio capture Picture settings Enhanced Messaging Service EMS SupportEMS animation settings Screensaver Support Audio settingsTechnical Specifications for Screen Savers How large screensaver images are displayed on the screen Technical Specifications for Wallpapers Wallpaper SupportW760r/VA76r Media Guide Sound Alert Tone SupportRing Tones Supported Sound FormatsSound formats AACAAC MPEG4 AAC-LC Progressive Download Bit rate, sampling rate, and stereo/mono streamingJSR 135 progressive download supported formats Technical Specifications for MidiMidi Support Midi format specification Format Dynamic Range Polyphony Channels FeatureIMelody Midi Key MappingMidi key mapping Patch Number Patch Names Valid Midi Note NumbersSound Tango Accordion 48-89 Acoustic Guitar nylon Sound String Ensemble 24-96 W760r/VA76r Media Guide Sound FX 3 crystal 36-108 FX 4 atmosphere Tip 2 Use Standard Midi File SMF type Tip 1 Use MIDI’s running status featureMidi Audio Guidelines Tip 3 Consider the Frequency Response Technical Specifications for MP3 MP3 Audio GuidelinesAvailable Sound Properties Design GuidelinesAppendix a DRM Digital Rights ManagementSupported DRM Solutions Appendix B Mime Types Application File type Mime TypeBMP W760r/VA76r Media Guide Appendix C Additional Information GlossaryReferences 3GPPIndex
Related manuals
Manual 230 pages 19.08 Kb