~ubuntu-branches/ubuntu/utopic/midge/utopic

« back to all changes in this revision

Viewing changes to examples/tutorial/bend_simple.mg

  • Committer: Bazaar Package Importer
  • Author(s): Mario Lang
  • Date: 2004-05-01 15:23:57 UTC
  • Revision ID: james.westby@ubuntu.com-20040501152357-effrpw4kn030r097
Tags: upstream-0.2.38
ImportĀ upstreamĀ versionĀ 0.2.38

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
@head {
 
2
        $tempo 120
 
3
        $time_sig 4/4
 
4
}
 
5
 
 
6
@body {
 
7
        @channel 1 "bass" {
 
8
                $patch bass_fg
 
9
 
 
10
                %repeat 4 {
 
11
 
 
12
                        /l3:8/a3=>b-3=>a3 # Bend from a3 up to b-3 and back down to a3
 
13
                              # with the bend amount increasing/decreasing
 
14
                              # linearly over the duration of 3 eighth notes.
 
15
                              # By default, the bend is done over 16 steps
 
16
                              # per quarter note (giving 24 here). This can
 
17
                              # be changed using the `-b' command line switch.
 
18
                
 
19
                        /l8/g3 r /l32/d /l3:32/e /l8/g a
 
20
                }
 
21
        }
 
22
 
 
23
        @channel 10 "tamborine" {
 
24
                %repeat 4 { /l4r4/tamb }
 
25
        }
 
26
}
 
27