IRF Posted December 4, 2017 Report Share Posted December 4, 2017 Do you recognise the tune? Quote Link to comment Share on other sites More sharing options...
jetsetdanny Posted December 4, 2017 Report Share Posted December 4, 2017 It sounds like the RIP tune, which really is Chopin's Piano Sonata No. 2 in B-flat minor, Op. 35, popularly known as 'The Funeral March', isn't it? ;) Spider and IRF 2 Quote Link to comment Share on other sites More sharing options...
IRF Posted December 4, 2017 Report Share Posted December 4, 2017 Spot on, Danny! jetsetdanny and Spider 2 Quote Link to comment Share on other sites More sharing options...
jetsetdanny Posted December 4, 2017 Report Share Posted December 4, 2017 :) Spider 1 Quote Link to comment Share on other sites More sharing options...
Norman Sword Posted December 5, 2017 Author Report Share Posted December 5, 2017 Re Game Over.In JSW their are a multitude of sound effects.The title tune and in game tune plays their notes in a differing method to all the other sound FX's.Both the title tune and in game tune attempt to play the note over a fixed period of time.Your simple demo routine plays the tune, were each notes length is dictated by its pitch. The overall length of each note is the product of a fixed length and a pitch variable. This has several repercussions. The obvious visual one is the speed change in the boot as it descends. The obvious audio effect would be shifting tempo.Your routine might benefit from using a routine more similar to the in game tune routine. Whereby the length of each note is fixed (sort of). ;in game tune;Pitch of note held in D which should be copied to E before playing;a=border colour8B60 LD BC,$0003 ;length of the note overall8B63 OUT ($FE),A8B65 DEC E8B66 JR NZ,$8B6B8B68 LD E,D8B69 XOR $188B6B DJNZ $8B638B6D DEC C8B6E JR NZ,$8B63 Since this plays slower, this would also require new music data jetsetdanny, IRF and Spider 3 Quote Link to comment Share on other sites More sharing options...
IRF Posted December 5, 2017 Report Share Posted December 5, 2017 (edited) Thanks Norman. I was aware that I had implemented a 'quick and dirty' solution, which causes the changes in duration of the notes. (It's probably a deliberate effect in the original routine, as the increasing pitch causes the Monty Python foot to speed up as it descends onto Willy.) Edited December 5, 2017 by IRF Spider and jetsetdanny 2 Quote Link to comment Share on other sites More sharing options...
IRF Posted December 6, 2017 Report Share Posted December 6, 2017 In the attached, I've tweaked my Game Over test file in accordance with Norman Sword's suggestions. I've also come up with a way of having a pause instead of (but of the same length as) a note, to punctuate the music. That required four additional bytes in the code, and the use of the value '01' in the music data to denote the 'dead notes'. Game Over Test 2.z80 Spider and jetsetdanny 2 Quote Link to comment Share on other sites More sharing options...
jetsetdanny Posted December 6, 2017 Report Share Posted December 6, 2017 Well done, it sounds much closer to what it should :). IRF and Spider 2 Quote Link to comment Share on other sites More sharing options...
IRF Posted January 12, 2018 Report Share Posted January 12, 2018 (edited) Well done, it sounds much closer to what it should :). My third and final attempt at the 'Funeral March' is implemented in the attached. B) (Apologies to Norman Sword for hijacking this thread somewhat!) Game Over Test 3.z80 Edited January 13, 2018 by IRF Spider 1 Quote Link to comment Share on other sites More sharing options...
Spider Posted January 12, 2018 Report Share Posted January 12, 2018 My third and final attempt at the 'Funeral March' is implemented in the attached. B) (Apologies to Norman Sword for hijacking this thread somewhat!) I like that its very good. :) My only slight suggestion (and it is off topic somewhat) the attribute cycling does not seem to suit it. I'd suggest either just blue/black or perhaps none ? Blue/Black is quite easy to do, the 'C' projects both have this. IRF 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.