TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Monkey Island PC-speaker music player

315 pointsby ttsiodrasalmost 4 years ago

27 comments

nyanpasu64almost 4 years ago
Oddly this sounds more like a 40% pulse wave than a 50% square wave. I assume the original was played on a 50% square wave.<p>EDIT: Upon reading the original code:<p><pre><code> int volume = 60; periodMicros = 1000000&#x2F;((long)freq); onMicros = periodMicros * volume&#x2F;100; offMicros = periodMicros * (100-volume)&#x2F;100; </code></pre> volume doesn&#x27;t control the volume, but the duty cycle (timbre and harmonic content) of the waveform. And it looks like I guessed the 40% (audibly equivalent to 60%) duty cycle exactly!
评论 #27999183 未加载
评论 #27996746 未加载
评论 #27996771 未加载
评论 #27998001 未加载
评论 #27996709 未加载
rob74almost 4 years ago
BTW, if you want to compare the Monkey Island title music for all platforms the game was ported to (and some it wasn&#x27;t ported to, looking at you C64), take a look at this video: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=DydmYhaL7zw" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=DydmYhaL7zw</a><p>For me, the Amiga version brings back the fondest memories - 4 channels of glorious 8-bit sampled sound! Unfortunately two of those channels were hardwired to the left speaker and two to the right speaker, so listening with headphones is not so great, but still...
评论 #27997066 未加载
评论 #27996289 未加载
评论 #27997371 未加载
评论 #28000745 未加载
评论 #27997929 未加载
评论 #28002088 未加载
agysalmost 4 years ago
Slightly unrelated but MBR (Master Boot Record, @masterbootrec on Twitter) made 42 covers of classic game songs in heavy-metal chiptune style.<p>Among the many fantastic pieces covered you’ll also find the Monkey Island theme.<p>The whole pack is available for free:<p><a href="http:&#x2F;&#x2F;mbrserver.com&#x2F;warez.zip" rel="nofollow">http:&#x2F;&#x2F;mbrserver.com&#x2F;warez.zip</a><p>Please also appreciate the retro-ansi-gfx style of his productions!
Razenganalmost 4 years ago
Even though it was supposed to be mostly parody, Monkey Island instills a sense of adventure that few other games have (like King’s Quest).<p>The semi-open island hopping of MI2 was specially fun. I still wonder if there will be an open-world game like Skyrim or Fallout etc. that is spread across islands instead of an endless landmass.<p>Too bad LucasArts got gobbled up by the D Demon and Monkey Island will probably never get another revival because it cannibalizes Pirates of the Caribbean.<p>Unless Ron Gilbert et al. can pull off a Thimbleweed Park with it.. ;)
评论 #27999880 未加载
评论 #27998694 未加载
jonplackettalmost 4 years ago
Original Monkey Island theme is still my favourite bit of music from a game ever.
评论 #27995665 未加载
评论 #27998026 未加载
评论 #27998157 未加载
评论 #27995859 未加载
评论 #27997642 未加载
xatttalmost 4 years ago
I’ve been wondering for a while. What tools were used to compose PC beeper music? Was there some sort of DAW or toolkit, or was the music all hard coded as a text file?
评论 #27997025 未加载
评论 #27996696 未加载
评论 #28003938 未加载
评论 #27996581 未加载
darkwateralmost 4 years ago
This reminds me of how I was used to this music while playing MI on my PS&#x2F;2 and how I was blown away the day I installed an adlib-compatible soundcard (the cheapest I could find with my 11yo money) and the first game I tried was Monkey Island.<p>It&#x27;s one of those memories that will stay with me forever.
eloeffleralmost 4 years ago
The important question at hand here: When and how did you expose your nieces and nephews to Monkey Island and how did you introduce it to them? :D<p>I would really like to share this experience with kids I know but I find it hard to find the right time and way to show it to them and to get them to play. Did you play it with them? Or just show it to them? On a computer or a phone?<p>I&#x27;m so curious O:)<p>Awesome project, too!
评论 #27996051 未加载
评论 #27995815 未加载
godotalmost 4 years ago
Oh man, I&#x27;m sure only people who&#x27;ve actually played the games back then can relate, but I got literal goosebumps upon hearing that music when I played that video. I think the fact that it&#x27;s played from a PC speaker added that much more level of nostalgia.
ggambettaalmost 4 years ago
This brings up memories :)<p>My mind was completely blown away by the early MOD players that somehow managed to play relatively high res music through the speaker. I have a vivid memory of playing Axel F and being in total disbelief!
评论 #27998754 未加载
评论 #27998240 未加载
评论 #27996056 未加载
shadowgovtalmost 4 years ago
It can be easy sometimes, sitting where we do now in the era of smartphones and globe-spanning networks, to forget that teaching sand to think has been <i>hard.</i><p>Videogames required a <i>lot</i> of trickery to do what developers wanted them to do. And they succeeded.<p>(As a fun parenthetical, it&#x27;s enjoyable to consider that the studio that produced this game was LucasArts. This was one of the projects Lucas had his game studio create because he was gunshy about whether they could produce games that would enrich or dilute the Star Wars brand. He wanted them to do original IP first to verify they were, first and foremost, game creators. The studio&#x27;s first published game was 1985, this game came out in 1990, and 1991 would see their first Star Wars game released).
评论 #27998517 未加载
Andrew_nenakhovalmost 4 years ago
Of all DOS games I ever played, by far the coolest PC speaker music was in Star Control 2. Unfortunately (understandably) it was not loud enough, but it was great.<p>MI music is great though, I speak it as a person who has LeChuck fanfare on a ringtone.
评论 #27998340 未加载
tluyben2almost 4 years ago
Off topic somewhat: just playing through the Monkey Island enhanced versions on Steam. Still great stuff.
code_duckalmost 4 years ago
It’s rather sad that this was the music in these otherwise excellent 80s PC games when earlier machines such as the Commodore 64 or even 8 bit contemporaries like the NES and Sega Master System had far superior audio capabilities. PC games for the most part skipped a lovely era of synthesized music.
评论 #27996592 未加载
评论 #27996780 未加载
评论 #27996533 未加载
MrBuddyCasinoalmost 4 years ago
Building little audio gizmos is fun. I recommend using replacement smartphone speakers (eg for the iPhone SE 2020) if size is an issue, because a bare chassis without an enclosure sounds like crap due to acoustic short-circuit.<p>Another option is LCD TV speakers, those already have an enclosure but are a bit larger.
评论 #27996776 未加载
zxcvgmalmost 4 years ago
I had the same idea! Except that I wanted to do it for Xenon 2 Megablast. It was a DOS game I grew up with and loved the intro music, so much that I wanted to play it outside the computer.<p>You can run it in the browser here to listen to the intro music: <a href="https:&#x2F;&#x2F;archive.org&#x2F;details&#x2F;msdos_Xenon_2_-_Megablast_1990" rel="nofollow">https:&#x2F;&#x2F;archive.org&#x2F;details&#x2F;msdos_Xenon_2_-_Megablast_1990</a><p>Thanks for posting this! I&#x27;ll refer to it when I finally get around to making it.
ricardo81almost 4 years ago
The pertinent question perhaps: How much wood could a woodchuck chuck if a woodchuck could chuck wood?<p>Hopefully the grand kids appreciate the theory&#x2F;use of Huffman!
评论 #27997003 未加载
评论 #27996624 未加载
评论 #27996537 未加载
codetrotteralmost 4 years ago
Wait, is it just me or does either of these two more recent songs sound a lot like the first one of those Monkey Island songs?<p>ItaloBrothers - Stamp on the ground. 2009. <a href="https:&#x2F;&#x2F;youtu.be&#x2F;cHcVU5cGUNE" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;cHcVU5cGUNE</a><p>Basshunter - DotA. 2008. <a href="https:&#x2F;&#x2F;youtu.be&#x2F;qTsaS1Tm-Ic" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;qTsaS1Tm-Ic</a>
评论 #27995629 未加载
SamPattalmost 4 years ago
Curse of Monkey Island (the third one, more cartoony than pixel) is one of my all time favorite games.<p>Hilariously fun to play.
SamBamalmost 4 years ago
What a great write-up. A huge amount of tricky concepts in a single project. This seems like it could be the capstone project for an advanced microcontrollers course.<p>And, as someone who wants to program in more embedded systems, it tells me how high the cliffs are ahead of me...
pierrebaialmost 4 years ago
I wonder if using RLE encoding would not have been but vastly simpler and more compact that the huffman encoding used. Just frequency + duration.
评论 #27999886 未加载
评论 #27998233 未加载
jonplackettalmost 4 years ago
What is the device between the battery and the board?
评论 #27995775 未加载
alfonsodevalmost 4 years ago
So great and standalone, this should be added to ATMs, vending machines and the like :) Also could be added to your house ring bell ?
评论 #27996018 未加载
tallmansixfouralmost 4 years ago
Count me as simply impressed.
easymovetalmost 4 years ago
Brought a tear to my eye, so nostalgic.
gwbas1calmost 4 years ago
(Meta)<p>If you can, try to make the video louder. I really had to crank up the volume to listen to it. (Probably use a combination of normalize and compress in Audacity.)<p>Cool hack!
评论 #27996328 未加载
评论 #27996421 未加载
hereforphonealmost 4 years ago
I probably would have loved this game series. I couldn&#x27;t play very long because I found the constant ™ after words intrusive and definitely an impediment to immersion.<p>I can&#x27;t be the only one.
评论 #27996668 未加载
评论 #27998192 未加载
评论 #27996299 未加载
评论 #27996718 未加载