[MEGA] MML

Posted by Astryl on Jan. 24, 2012, 1:20 a.m.

No, not Mega Man Legends.

MML. Music Macro Language.

What is MML? A Musical notation language for creating music for a variety of old systems, and MIDI. Of course, I'm using the NES variation (Though I have a version that makes music for the CPS-1 system. Be jealous Cyrus :P)

To cut things short, I made this:

http://chipmusic.org/64mega/music/castle-x

Note that this has nothing to do with the music comp.

And here's an interesting thing: The 'source' code for this music:

#TITLE Castle X
#COMPOSER Mega
#PROGRAMER 2012 Mega

; Tempo 180
ABCDE t180

;Instruments
@v0 {15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 }
@v1 {8 7 6 5 4 3 2 1 0}

@DPCM0 = { "samples\kick.dmc",15 }
@DPCM2 = { "samples\snare.dmc",15 }

; Drum A (Noise)
@v10 {14 12 10 8 6 4 2 0}

; Duty Cycle settings
@01 { 1 2 }

;Channel Setups
A L @@01 o4 l8 @02 @v0
B @@01 o3 l8 @00 @v0

C o4 l8
D o4 l8 @v10
E o0 l4

/*
	The drums and triangle are delayed by one 'frame', instead of two.
        This was at first an accident, but then I found out that it adds a nice
        little variation to the song.
*/

; Drums
D L [b b a b b b a b b b a b b b a16 a16 a]16
D r1 r1 r1 r1
E L [c c c c8 c8 c c c c8 c8 c c c c8 c8 c c c c16 c16 c8]8
E r1 r1 r1 r1

; Back (Triangle)
C L [e <e> e <e> e <e> d e e <e> e <e> e <e> d e c <c> c <c> c <c b> c c <c> c <c> c <c b> c]8
C r1 r1 r1 r1

; MAIN MELODY ( Square 1 )
A [r1]8

A d e4 e4 d e g a+4 a4 g a4. c2. <b> c w w w w c d e g 
A d e4 e4 d e g a+4 a4 g a4. >e2. d e w w w w a+16 a16 g16 e16 a16 g16 d16 e16<

A > e e a+ e a e d e c c g c a+ a g e e e d e a+ a a+ g e e d e a+16 a16 g d e <
A > e e a+ e a e d e c c g c a+ a g e e e d e a+ a a+ g e e d e a+16 a16 g d e <

; BACK MELODY ( Square 2)
B [r1]8
B e e e e e e e e
B e e e e e e e g
B c c c c c c c c
B c c c c c d e g
B e e e e e e e e
B e e e e e e e g
B c c c c c c c c
B c c c c c d e g
B e e e e e e e e
B d d d d d d d d
B c c c c c c c c
B c c c c c d e g
B e e e e e e e e
B d d d d d d d d
B c c c c c c c c
B c c c c c d e g

Not as mind bending as you'd think.

Comments

Ferret 12 years, 10 months ago

This sounds amazingly impressive, I have to give it a try.

Astryl 12 years, 10 months ago

Quote:
Are you able to compile songs in the Sharp x68k's MDX format? If so, I am definitely jealous. :P
Be jealous then, because I can. :P

death 12 years, 10 months ago

damn dude really nice tune. your stuff keeps getting better and better. especially for using this format for the first time?

Astryl 12 years, 10 months ago

Quote:
damn dude really nice tune. your stuff keeps getting better and better. especially for using this format for the first time?

I'm getting more practice in than usual, I guess. It's the first track I made with MML, so yes, first time working with the format (I only downloaded the tools yesterday).

Astryl 12 years, 10 months ago

I got most of them from this site: http://woolyss.com/chipmusic-mml.php

The links, anyway. The rest I got by Googling.

panzercretin 12 years, 10 months ago

Quote:
B e e e e e e e g

I see what you did there.

Eva unit-01 12 years, 10 months ago

This little tune was pretty awesome, if I do say so myself.

+1'd Panzer, cause I noticed the Beeeeeeg thing a while ago, but forgot.