I'm transposing this piece of music to ZZT for no reason other than shits and giggles. (ZZT 3.2, via Windows 98SE, on a Packard Bell Platinum 64MB RAM, and Pentium MMX @166MHz)
Code: Select all
#PLAY iea+cqeieqdidqc-b+dx
#PLAY ieab+qdidqcicq-ba+cx
#PLAY iea+cqeieqdideeqgfx
#PLAY i+edqedic-qbhaqx
#PLAY iea+cqeieqdidqc-b+dx
#PLAY ieab+qdidqcicq-ba+cx
#PLAY iea+cqeieqdideeqgfx
#PLAY i+edqedic-qbhaqx
#PLAY h.+fifgqaiaqgigqfq.eidqcidh.eqx
#PLAY h.+fifgqaiaqgigqfw.ehx
#PLAY iea+cqeieqdidqc-b+dx
#PLAY ieab+qdidqcicq-ba+cx
#PLAY iea+cqeieqdideeqgfx
#PLAY i+edqedic-qbhaqx
-Lines 1-4 and 5-8, are identical. they were copy/pasted once i got the sound right.
-Lines 9 and 10 are the bridge.
-Lines 11-14 again are identical to 1-4, copy/pasted.
If I play the whole song, lines 12 and 13 are completely skipped. Goes straight to line 14 after 11.
if i only have the SECOND half of the song (lines 9-14) it does not skip those two lines. its only when I have the whole thing.
I've put this object on its own board, and even deleted ALL other code from the object, other than the name and
Code: Select all
:touch
#lock
#play (whole song)
#unlock
#end
I filled the 2 lines with a scale, (line 12: qcdegab+c then Line 13: +c-bagfedc), and it stopped completely after line 12., did not do line 13 or 14.
I then split it into 2 labels (song1, song2 )so it goes
Code: Select all
:touch
#send name:song1
#end
:song1
#play (1-8)
#send name:song2
#end
:song2
#play (9-14)
#end
Out of sheer curiosity, i commented out lines 1-4 (but left them there) and the lines 5-14 played fine finally. but with the first 'verse' diasbled
Is there some upper limit to how many lines an object can have? this isnt that many, though, and with all the added variables and call outs, it's overall longer than it was before, and still worked...
I tried splitting the song to 2 objects. now @name1 has :song1 and @name2 has :song2. the hand off happens FINE, but the song still skips the same 2 lines. A sample song i have is 17 lines, and has way more notes, so its not likely a limit im hitting.
Lastly, i finally just FINISHED the song anyway. (only 2 more lines, 15 and 16) and the song still plays the same, skips line 12 and 13, plays 14, then ends (does not play 15 and 16).
I dont see any rogue spaces or other characters in the code at all. the code linked IS a direct copy paste from in the program, to a text doc)