Midge: Difference between revisions

From XPUB & Lens-Based wiki
(Created page with "Category: Software")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category: Software]]
{{Software
|Website=http://www.undef.org.uk/code/midge/
|License=GPL
|OS=GNU/Linux
|Media=Music synthesis
|Format=MIDI
|Interface=Command-line interface,
}}
<source lang="C">
# Artist: Blue \"{O}yster Cult
# Album: ?
# Song: Don't fear the reaper
 
@head {
$tempo 69
$time_sig 4/4
$title "Blue Oyster Cult - don't fear the reaper"
}
 
@body {
 
# Bass
 
@channel 1 bass {
$patch 35 $volume 127
%repeat 12 { /l16r4/b3 /r4/a /r4/g /r4/a }
}
 
# Drums
 
@channel 10 drums {
%repeat 48 { /l16/c3 c d c }
}
 
# Cymbals
 
%define cym_main { /l16/f+3 f+ g+ f+ }
%define cym_break { /l16/c+4 f+3 f+ c+4 }
 
@channel 10 cymbals {
%repeat 12 { %repeat 3 { ~cym_main } ~cym_break }
}
 
# rythm guitar
 
%define rythm_main { # b a g a arpegios
/l16/b3 f+4 b /l8/a3 /l16/e4 a e
    g3 d4 g /l8/a3 /l16/e4 a e
}
 
@channel 2 "rythm guitar" {
$patch 31 $chorus 96 $volume 80
%repeat 12 { ~rythm_main }
}
}
</source>
Resulting audio (with [[Timidity]] used to convert the midi to an OGG audio file):
[[File:Dont fear the reaper.ogg]]

Latest revision as of 20:31, 6 October 2013

Website http://www.undef.org.uk/code/midge/
License GPL
OS GNU/Linux
Media Music synthesis
Format MIDI
Interface Command-line interface,
Wikipedia
# Artist: Blue \"{O}yster Cult
# Album: ?
# Song: Don't fear the reaper

@head {
	$tempo 69
	$time_sig 4/4
	$title "Blue Oyster Cult - don't fear the reaper"
}

@body {

	# Bass

	@channel 1 bass {
		$patch 35 $volume 127
		%repeat 12 { /l16r4/b3 /r4/a /r4/g /r4/a } 
	}

	# Drums

	@channel 10 drums {
		%repeat 48 { /l16/c3 c d c }
	}

	# Cymbals

	%define cym_main { /l16/f+3 f+ g+ f+ }
	%define cym_break { /l16/c+4 f+3 f+ c+4 }

	@channel 10 cymbals { 
		%repeat 12 { %repeat 3 { ~cym_main } ~cym_break }
	}

	# rythm guitar

	%define rythm_main { # b a g a arpegios
		/l16/b3 f+4 b /l8/a3 /l16/e4 a e 
		     g3 d4 g /l8/a3 /l16/e4 a e 
	}

	@channel 2 "rythm guitar" {
		$patch 31 $chorus 96 $volume 80
		%repeat 12 { ~rythm_main }
	}
}

Resulting audio (with Timidity used to convert the midi to an OGG audio file): File:Dont fear the reaper.ogg