File: tempo.mg

package info (click to toggle)
midge 0.2.41%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 556 kB
  • sloc: perl: 5,508; modula3: 1,204; lisp: 869; makefile: 36; sh: 20
file content (25 lines) | stat: -rw-r--r-- 445 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
@head {
	$tempo 80          # set initial tempo to 80 bpm
	$time_sig 4/4      # set initial time signature to 4/4
}

@body {
	@channel 1 "bass" {
		$patch bass_fg
		$length 4           # play quarter notes

		/r16/e2             # 4 bars
	}

	@channel 2 "piano" {
		$patch piano_grand_ac
		$length 4

		/r8/e6              # 2 bars

		$tempo 120          # tempo change to 120 bpm (affects all tracks)

		/r8/e6              # 2 more bars
	}
}