ebooksgratis.com

See also ebooksgratis.com: no banners, no cookies, totally FREE.

CLASSICISTRANIERI HOME PAGE - YOUTUBE CHANNEL
Privacy Policy Cookie Policy Terms and Conditions
Music Macro Language - Wikipedia, the free encyclopedia

Music Macro Language

From Wikipedia, the free encyclopedia

Music Macro Language (MML) is a music description language used in sequencing music on a number of computer and video game system platforms.

MML is also sometimes known as Music Markup Language, by conflation with the XML musical notation markup language of that name. For instance, what the video game Mabinogi refers to as "Music Markup Language" is actually a typical implementation of Music Macro Language.

Contents

[edit] History

MML originally appeared in Microsoft BASIC and was common in the early 1980s on 16-bit era Japanese personal computers. It was especially popular on NEC's personal computers, such as the NEC PC-8801.[1] With the 2001 release of the mck (Music Creation Kit) software for compiling MML to play music on the Nintendo Entertainment System[2], awareness and use of MML has seen some revitalization.[3] MML is presently popular among Japanese electronic musicians[1] and musicians who create chiptunes[4] as a way to write music for the Nintendo Entertainment System.

[edit] Syntax

Where present, MML originally usually took the form of a specialized sub-language of a computer's dialect of BASIC, used as an argument to a PLAY statement. This usage appears to originate with Microsoft BASIC, which forms the basis of many BASIC implementations.

MML code takes a simple textual format, whereby letters and numbers are used to describe a series of musical notes to be played by the computer's sound hardware.[1] In addition, various implementations of MML add system extensions allowing specific parameters of the audio synthesis to be altered with specialized commands, or to simplify the entry of common musical features such as arpeggios.

Though many platforms feature custom extensions to MML, and letter case requirements and other minor syntactical features vary slightly in some implementations, the fundamental set of syntax rules, commands, and features which defines MML and is present in whole or in part in all implementations is as follows:[1][5]

  • cdefgab — The letters a through g correspond to the musical pitches and cause the corresponding note to be played. Sharp notes are produced by appending a + or #, and flat notes by appending a -. The length of a note is specified by appending a number representing its length as a fraction of a whole note — for example, c8 represents a C eighth note, and f+2 an F♯ half note.
  • r — A rest. The length of the rest is specified in the same manner as the length of a note — for example, r1 produces a whole rest.
  • o — Followed by a number, o selects the octave the instrument will play in.
  • >, < — Used to step up or down one octave.
  • l — Followed by a number, specifies the default length used by notes or rests which do not explicitly define one. For example, l8 g a b g l16 g a b g produces a series of four eighth notes followed by a series of four sixteenth notes.
  • v — Followed by a number, sets the volume of the instrument. The range of values allowed is dependent upon the specific sound hardware being used. Some implementations also allow an ADSR envelope to be applied to the amplitude of each note.
  • t — Followed by a number, sets the tempo in beats per minute. On hardware with more than one sound channel, it is often possible to set each channel to a different tempo.

In addition to these, most implementations add their own keywords and symbols for system-specific enhancements or extensions.

[edit] Programming languages, platforms, and software which use MML

Among others, MML appears in the following programming languages, platforms, and software applications:

[edit] See also

[edit] References

  1. ^ a b c d e Selfridge-Field, Eleanor (1997). Beyond Midi: The Handbook of Musical Codes. Cambridge: MIT Press. ISBN 0262193949. 
  2. ^ VORC Internet Chiptune Encyclopedia - mck. Retrieved on 2008-02-13.
  3. ^ a b VORC Internet Chiptune Encyclopedia - MML. Retrieved on 2008-02-13.
  4. ^ VORC: VGM or Chiptune of The Year 2001 (2001-12-31).
  5. ^ Johnson, Jeremiah. MCK/MML Beginners Guide. Retrieved on 2008-02-13.
  6. ^ QBasic manual, Microsoft Corporation, 1991 
  7. ^ IBM Personal Computer BASIC manual, IBM Corporation, 1982 
  8. ^ BASICA manual, Microsoft Corporation, 1982 
  9. ^ GW-BASIC manual, Microsoft Corporation, 1987 
  10. ^ Koshiro, Yuzo. Interview with Kikizo Games. (Interview). Retrieved on 2008-02-13.
  11. ^ 着信メロディは再び自分で作る時代に?──MIDIファイルやWAVファイルを着メロに変換. ITmedia, Inc. (2001-04-03). Retrieved on 2008-02-13.

[edit] External links

Languages


aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -