File: time_sig.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 (26 lines) | stat: -rw-r--r-- 503 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
26
@head {
	$tempo 80          # set initial tempo to 80 bpm
}

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

		/r8/e2              # 2 bars of 4/4
		/r6/e2              # 2 bars of 3/4
	}

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

		$time_sig 4/4       # set time sig to 4/4 (affects all tracks)

		/r8/e6              # 2 bars

		$time_sig 3/4       # set time signature to 3/4 (affects all tracks)

		/r6/e6              # 2 bars of 3/4
	}
}