Sustain volume delta in generators renamed from dvol to dsvol.
[ahxm.git] / examples / example1.ahml
blob65db364c3075e0b04072a482ed27ff50868aac5f
2 (($drumloop ) * 7 c16ddddddddddddd ) = phrase
3 (c8dcdcdcd)=drumloop $phrase
4 (c8ececece)=drumloop $phrase
5 ( (ia-) * 2 (uaka!) * 2 ) * 2
6 o0 z16 (cdefgab o+) * 10
7 ab c8/3 def /* C style
8         comment */ 12345
9 6789 // C++ style comment
10 (ah)*4 // ah 4 times
12 ^trans-re
13 T125
16 /* main piano track */
17 :pat=acpiano.pat
18 :sustain=2b
19 :channel-map=1,1,0,0
21 /* delays right channel phase one 16th note */
22 :delay=0,1,0.4b
24 (ooo!)=block $block $block ($block)*4
25 (aaa¡)=block $block
27 @trans-re
30 /* synth bass track */
31 %synths/elecbass1.ahml
32 :flanger=0,0,1s,0.9,150,0.1,0.25
33 :flanger=1,1,1s,0.9,150,0.1,0
35 @trans-re
36 :off=0
37 :off=1
40 /* drums track */
41 %drums/electro.ahml
42 %effects/reverb.ahml
43 :channel-map=0,0,1,1
45 @trans-re
47 /* reverb.ahml */
48 :allpass=0,0,20ms,0.9
49 :allpass=1,0,36ms,0.9
50 :allpass=2,0,39ms,0.9
52 :allpass=3,1,20ms,0.9
53 :allpass=4,1,36ms,0.9
54 :allpass=5,1,39ms,0.9
56 /* alloff.ahml */
57 :off=0
58 :off=1
59 :off=2
60 :off=3
61 :off=4
62 :off=5
63 :off=6
64 :off=7
65 :off=8
66 :off=9
67 :off=10
69 /* arpeggiator */
70 /* play each note again a 4. after at 0.8 of volume,
71    then again after a 4/8*1.5, transposing -2, at 0.6 of volume on track 8 */
72 x4.~0.8,4/8*1.5-2~0.6@8
74 /* whispering walls riff */
75 z16 (cb-cc')*3 cb-cb-, (cb-cc')*3 e-'d-'g-d-