Skip to content

Commit 65fbb65

Browse files
committed
add fallthrough to sample score
- Add fallthrough where Thwaite and Zap Ruder had them (Concentration Room and RHDE did not use fallthrough) - Add fallthrough in a few places in musicseq - Fix comparison failure when rendering pattern of all waits (e.g. axe_beat::tiestream in pino-a53.pently)
1 parent 80face9 commit 65fbb65

File tree

3 files changed

+60
-48
lines changed

3 files changed

+60
-48
lines changed

audio/musicseq.pently

Lines changed: 40 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -478,10 +478,11 @@ song Isometry
478478
relative
479479
e'''16 c# a e
480480

481-
pattern melmaj2 on pulse2 with isopiano
481+
pattern melmin1 on pulse1 with isopiano
482482
relative
483-
e#'8. e# f#4. g#8 f#
484-
e#8. e# d#8 w2
483+
c#'8. c# d#4. e8 d#
484+
c#8. c# b8 w2
485+
fallthrough
485486

486487
pattern melmaj1 on pulse1 with isopiano
487488
relative
@@ -492,11 +493,12 @@ song Isometry
492493
relative
493494
e'8. e f#4. g#8 f#
494495
e8. e d#8 w2
496+
fallthrough
495497

496-
pattern melmin1 on pulse1 with isopiano
498+
pattern melmaj2 on pulse2 with isopiano
497499
relative
498-
c#'8. c# d#4. e8 d#
499-
c#8. c# b8 w2
500+
e#'8. e# f#4. g#8 f#
501+
e#8. e# d#8 w2
500502

501503
pattern drum
502504
lkick4 lsnare clhat lsnare
@@ -525,8 +527,8 @@ song Isometry
525527

526528
at 7
527529
play tinkle1
528-
play melmaj2
529-
play melmaj1
530+
# play melmaj2
531+
# play melmaj1
530532
play triosti
531533

532534
at 8:3
@@ -555,8 +557,8 @@ song Isometry
555557

556558
at 15
557559
play tinkle1
558-
play melmaj2
559-
play melmaj1
560+
# play melmaj2
561+
# play melmaj1
560562
play triosti
561563

562564
at 16:3
@@ -1082,9 +1084,6 @@ song arp_waltz
10821084
scale 4
10831085
tempo 180
10841086

1085-
pattern bassintro with toot0 on pulse1
1086-
absolute
1087-
f,4 a a c, a a
10881087
pattern bass1 with toot0 on pulse1
10891088
absolute
10901089
f,4 a a c, a a
@@ -1095,11 +1094,16 @@ song arp_waltz
10951094
absolute
10961095
c,4 bb bb
10971096
f, a a c, d, e,
1097+
fallthrough
1098+
pattern bassintro with toot0 on pulse1
1099+
absolute
1100+
f,4 a a c, a a
1101+
10981102
pattern melody with stringlead on pulse2
10991103
relative
1100-
EN-M ENP2
1104+
@stringlead EN-M ENP2
11011105
a'2:-M/2 bb4:-dim c2 d4:-m
1102-
# TODO: Add 'q' here when finishing that
1106+
# q means repeat last chord
11031107
c bb2:-M/1 w4 q c
11041108
d2:-m c4 bb2:-M/1 a4:-m
11051109
g bb2:-dim w2.
@@ -1109,9 +1113,9 @@ song arp_waltz
11091113
c2:-M/1 bb4:-M/1 a2:-49 g4:-M
11101114
f2.:-M/1 w4 r2
11111115

1112-
pattern interlude with argtwinkle on pulse2
1113-
relative
1114-
ENP2 f''2.:no3 ENP1 f:power
1116+
# interlude begins
1117+
@argtwinkle
1118+
ENP2 f'2.:no3 ENP1 f:power
11151119
ENP2 bb:no3 ENP1 f:M/2
11161120
ENP2 g:no3 ENP1 g:power
11171121
c:sus4 g:M/2
@@ -1133,7 +1137,6 @@ song arp_waltz
11331137

11341138
at 21
11351139
mark interlude
1136-
play interlude
11371140
play bass1
11381141

11391142
at 34
@@ -1160,10 +1163,11 @@ song allfeatures
11601163

11611164
at 2
11621165
stop pulse1
1163-
pattern drum
1164-
tkick8 clhat clhat tsnare clhat ohat tkick clhat clhat tsnare clhat tkick
11651166
pattern drumfill
11661167
tkick8 clhat tkick tsnare tsnare tsnare
1168+
fallthrough
1169+
pattern drum
1170+
tkick8 clhat clhat tsnare clhat ohat tkick clhat clhat tsnare clhat tkick
11671171
play drum
11681172
at 3:3
11691173
play drumfill
@@ -1203,19 +1207,20 @@ song Stairs
12031207
a b4 c8 d4 c8 a4.
12041208
b d d r
12051209
play lead1
1206-
1210+
12071211
at 5:2
1208-
pattern introg on pulse1 with latebanjo
1209-
g' r
1210-
play introg
1211-
1212-
at 8
12131212
pattern lead1end on pulse2 with banjo
1214-
b a g r
1213+
a
1214+
fallthrough
1215+
pattern introg on pulse1 with latebanjo
1216+
g r
1217+
play introg up 12
1218+
1219+
at 8:2
12151220
play lead1end
12161221
at 8:3
12171222
stop pulse1
1218-
1223+
12191224
at 9
12201225
segno
12211226
pattern bass on pulse1 with tubbass
@@ -1226,10 +1231,10 @@ song Stairs
12261231
play lead1
12271232
play bass
12281233

1229-
at 16
1234+
at 16:2
12301235
play lead1end
12311236
at 16:3
1232-
play introg down 24 with tubbass
1237+
play introg down 12 with tubbass
12331238

12341239
at 17
12351240
mark rolls
@@ -1246,7 +1251,7 @@ song Stairs
12461251
b4 d'8 a4 d'8 g4. r
12471252
play lead2end
12481253
at 24:3
1249-
play introg down 24 with tubbass
1254+
play introg down 12 with tubbass
12501255

12511256
at 25
12521257
dal segno
@@ -1270,6 +1275,9 @@ song attacktest
12701275
# signature that forces the correct beat length (dotted half).
12711276

12721277
at 1
1278+
pattern drumfill
1279+
snare4 ohat8 snare snare snare
1280+
fallthrough
12731281
pattern drums
12741282
kick4. clhat snare clhat4 kick8
12751283
clhat4. kick snare clhat
@@ -1295,8 +1303,6 @@ song attacktest
12951303
at 4
12961304
play atk down 2
12971305
at 4:4
1298-
pattern drumfill
1299-
snare4 ohat8 snare snare snare
13001306
play drumfill
13011307
at 5
13021308
da capo

audio/pino-a53.pently

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -481,13 +481,11 @@ song thwaite_0400
481481
tempo 100
482482
scale 8
483483

484-
pattern drum1
485-
kick4. clhat2. clhat4 kick8
486-
487484
pattern drum2
488-
snare4. clhat4 kick8
485+
kick4. clhat snare4. clhat4 kick8
486+
fallthrough
487+
pattern drum1
489488
kick4. clhat2. clhat4 kick8
490-
kick4. clhat
491489

492490
pattern chords1 on pulse1 with xylo_short
493491
relative
@@ -520,11 +518,11 @@ song thwaite_0400
520518
at 1:3
521519
play drum1
522520

523-
at 9:1
521+
at 8:3
524522
segno
525523
play drum2
526524

527-
at 17:1
525+
at 16:3
528526
dal segno
529527

530528
# This is melodies from the third movement of Beethoven's
@@ -666,20 +664,23 @@ song tennis_win_game
666664

667665
pattern fanfare on pulse2 with fanfarehorn
668666
relative
669-
bb'8 bb eb4 r8 bb8 eb2
667+
bb'8 bb
668+
fallthrough
670669

671-
pattern fanfarebass on triangle with v02detached
670+
pattern fanfarejoinin on pulse1 with fanfarehorn
672671
relative
673-
r4 eb'4 r8 bb8 eb2
672+
eb''4 r8 bb8 eb2
674673

675674
pattern drum
676675
clhat8 clhat snare4. clhat16 clhat snare2
677676

678677
play fanfare
679-
play fanfarebass
680-
play fanfarebass on pulse1 with fanfarehorn up 4
681678
play drum
682679

680+
at 1
681+
play fanfarejoinin on triangle with v02detached down 12
682+
play fanfarejoinin down 8
683+
683684
at 2
684685
fine
685686

@@ -696,7 +697,7 @@ song axe_beat
696697
kick8 ohat snare16 w1g clhat ohat8
697698

698699
# The tiestream keeps Pently from ending real-time-composed notes
699-
# on a channel.
700+
# on a channel, as the "stop" pattern is whole rests.
700701
pattern tiestream on pulse2 with xylo_short
701702
w1
702703

tools/pentlyas.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1452,8 +1452,11 @@ def render(self, scopes):
14521452
transpose_runs, cur_transpose = self.transpose_runs, self.transpose
14531453
last_slur = False
14541454

1455+
if cur_transpose is None: # "tiestream" with only waits
1456+
transpose_runs = []
1457+
14551458
# If the first run isn't in range, which may happen in a
1456-
# FALLTHROUGH, schedule a TRANSPOSE for the first note
1459+
# fallthrough, schedule a TRANSPOSE for the first note
14571460
transpose_pos = 1
14581461
if (transpose_runs
14591462
and (cur_transpose > transpose_runs[0][1]
@@ -2264,6 +2267,8 @@ def render_file(parser, segment='RODATA'):
22642267
# the group's last pattern's range is 2 octaves or less,
22652268
# find patterns that can be combined in a 2-octave overall group
22662269
# with the last pattern in the group
2270+
# TODO: Figure out what to do with tiestreams, when lastpat
2271+
# or pat is all rests/waits
22672272
for last, first in fallthrough_group.items():
22682273
if last == first: continue
22692274
lastpat = patterns[last]

0 commit comments

Comments
 (0)