Bongo Cat

  • Please add `return false` or `event.preventDefault()` to your keyboard handlers!

    Otherwise the browser assumes the page didn't do anything with the events and uses its default keyboard handlers. I have find-as-you-type enabled, and pressing keys launches search for me. Handlers need to "eat" the keyboard events to prevent default browser behavior.

  • In case you want (like me) to share your best art with you colleagues:

    let e = $.Event('keyup'); '09090586 '.split('').map((k, i) => {setTimeout(()=>{$.play(InstrumentPerKeyEnum[k],k,e.type==="keydown")}, i * 200); setTimeout(() => {$.play(InstrumentPerKeyEnum[k],k,e.type==="keyup")}, i * 250)});

  • While the website has barely any text, consider adding a translated option in Catalan. .cat domain is used to highlight the Catalan language[1]. nyan.cat offers a Catalan version because of this.

    I think this is checked regularly, but I'm not sure.

    [1] https://en.m.wikipedia.org/wiki/.cat

  • This is great fun. The code may not be perfect, nor translated into 100 languages, nor built with microservices on an instantly scalable architecture, and not even leveraging AI, but that's why it's so awesome. Thank you for posting this today. After the week we had here in Colorado I needed it.

  • Showed it to my young kids who promptly took my phone and ran away making various instument noises until I took it away 15 minutes later. Love it!

  • It uses jQuery extensively. The frontend developer in me wants to make a fork written in typescript using react and redux toolkit to manage keystrokes. Then I realize it is just a fun toy.

  • If you're not familiar with the origins of bongo cat: https://knowyourmeme.com/memes/bongo-cat

  • This is delightful. It would be nice though if you could play a full scale/octave of notes on the keyboard and marimba.

    Right now you can only play the first 10 notes (semitones) of the chromatic scale so it makes it a little unusable musically.

    It would be awesome and playable if it was:

    - All 12 semitones plus octave (13 notes total)

    or if limited space for buttons is an issue

    - 7 notes of a major scale plus octave (8 notes total)

  • I made an app in such playful style but without memes, maybe crowd in this thread would appreciate it. It would at least keep your kids occupied for few minutes.

    https://play.google.com/store/apps/details?id=com.castlewrat...

    https://github.com/jmiskovic/hexpress

  • Very fun 2452 997 2452 775 2452 57421175 Rick Astley - Never gonna give you up

  • The fact that this is at the top of HN at 3am gives me hope.

  • To play Beethoven, press keys

    0 9 0 9 0 5 - 8 6 3

  • Deeply sad that this makes no sound on my iPhone cos my kids would find this hilarious.

  • The last time I checked, we didn't have a whole lot of songs that feature a cat playing the cowbell and therefore I would be doing myself a disservice, and every member of the HN if I didn't perform the hell out of this.

  • More Cowbell!!! F F F F F F F F F F F F F F F F F F F F F

    Thanks for the fun distraction for a few minutes :)

  • The piano and marimba doesn't quite have a full scale, consider using -, = and [, ] to add the extra couple of notes!

    I would love to be able to upload a midi to this...

  • Protip: disable Vimium.

  • I'd never heard of Bongo Cat until now and it brings back fond memories.

    Back in 2006, a while after the passing of my previous cat (Kira), I became the new subordinate of two six week old sibling tuxedo kittens, Buzz (male) and Blossom (female). They were pre-named by the cat rescue place and I didn't have any better ideas, and so those names stuck for a while. Explaining "Blossom" was sometimes a challenge if you know me, 20st at the time, petrol head, beer, curry, other things, but do love cats.

    Anyway, Buzz grew into this almost 5ft long (but not fat, or overweight) slightly clumsy cat in his "teens"; there was a laptop flooded by a glass of water, a not inexpensive B&W speaker broken by an attempted leap (grrr)...usual cat stuff.

    Privately I started calling him "Bongo", I don't know why, it just seemed appropriate, and suited him. I also started calling Blossom, his sister mini-bongo around the house, but then mini-puss. Blossom was the runt of the litter (there were three cats in the photo, I offered to take all of them, Buzz was the middle cat, Blossom was the tiny one).

    Anyway just a story.

    Sadly Bongo (Buzz) passed away due to kidney issues at the age of 10 back in 2014. I miss him, he was so good natured (as is Blossom) and an amazing lump of feline friendlyness, seeing this today brought a wee tear to my eye.

    Anyway, some links to these awesome pals:

    https://imgur.com/bMr725m ("Bongo")

    https://imgur.com/YGZZOAW (Younger days)

    https://imgur.com/oq124oJ ("Bongo...again")

    https://imgur.com/Fsgmqsd (When Buzz broke into a bag of paperwork when I left the house for a couple of hours)

    https://imgur.com/NZLsF59 (They still managed to squeeze into their kitten bed somehow even after five years)

    https://imgur.com/voqjl0F (Blossom, pretty much today, a bit of a lopsided sit, but 14 and a half years old and still as crazy as ever).

  • The Bongos correspond nicely with the left and right hands. Left side ( letter a ) corresponds with the cat's left hand (from my view ), and right side ( letter d ) corresponds with the cat's right hand.

    This is reversed for the Piano and Marimba for some reason which I think should be fixed.

  • I have installed an Android app for use in emergencies: https://play.google.com/store/apps/details?id=com.miknik.bon...

  • The interaction mechanism is quite well done - it provides very different (and appropriate) mechanisms for laptop/phone. Though I wish we could tap on the bongos directly instead of using the seperate buttons on an Android phone.

  • Finally, some real life use for that n-key rollover feature of my new keyboard :D

  • After recent guitar lessons copyright disputes I've decided to learn perfect pitch. No need for written material if can hear it.

    Online tools I've found present note in all octaves, which I found confusing. So I've created own tool — no frameworks, 5603 bytes, entire code displayed on the page (except soundfont-player library).

    http://sergeykish.com/perfect-pitch-ear-training

  • I logged in on my phone to tell you this is based.

  • Feature request: Looping -> Being able to record a sequence or more and then using them as background.

  • Now I just wonder if it is technically possible to save a playing session in a MIDI file.

    (I'm musically illiterate but I assume that, except for the meow, all instruments from this site follows the usual music rules. Sorry if what I just written is nonsense)

  • IS a matter of time befores someone uploads a video playing Is The Final Countdown on this.

  • The sounds don't seem well balanced. The cow bell is very loud and when I turn down overall volume I can't even hear the bongos. I bet they are normalised rather than balanced for perceived loudness.

  • Cute toy, but the links right below the buttons are absolutely infuriating.

  • Totally worked with sound on mobile Opera, Firefox and Chrome (Android 10)

  • It's getting increasingly more surreal to see Bongo Cat popping up everywhere when you know the person who did the original art for it. NEVER expected to see it here on Hacker News.

    Now back to lurking.

  • Mouse clicks also play the bongos, and other mouse buttons meow.

  • Very cool. I wish the keyboard and marimba had notes instead of numbers for their button names though. It would open up more possibilities for playing tunes easily

  • Nice. Would be extra nice touch if long press would produce muted sound (cut out early) as the cat keeps its paw on the bongo drum / cowbell.

  • It's fun and game, but there is too much latency between my keyboard and the output sound. It is impossible to overdub something.

  • That took me back to the fun days of the late 90's. Thanks for this I really needed it. The internet can still be fun.

  • I can't thank you enough for posting this

  • Came across this little gem earlier - did not expect it to hit the front page! All credit to the original authors. Enjoy!

  • lol, while I was playing with the piano notes, I accidentally hit my laptop's "play" button. Meanwhile, my wife had queued up "spooky background music" in spotify. I was legitimately giving the site props for asking me to play along to a slowed-down electronica version of the Jaws theme.

  • cant play bongos and piano at the same time

  • This is really cool, especially for my 8yo

  • It's impressive that this checks for the system theme switches between dark/light modes

  • Cute, but some of the keybindings aren't great for (us few) Dvorak users.

  • It is perfect the way it is.

  • Press and hold space.

    You're welcome ^_^

  • Has anyone mapped a fully functioning "piano" to the keyboard?

  • I love how so many recent websites respect system theme preferences.

  • I needed this, thank you.

  • Thanks, this is going to be perfect for my daily remote stand-ups!

  • It would be even more fun if there was a looper built into it.

  • Just what I needed to jump-start my productivity today!

  • My two year old refuses to stop playing the bongos now.

  • Sliding your fingers over more rows at a time is fun.

  • I just spent 5 minutes on this .. and loved it

  • Why does it presume the cat is right pawed?

  • Well, there goes my productivity for today

  • I found hope in my life, thank you.

  • This is what the internet is for.

  • I love it!

  • ugh, there goes ANY chance of having a productive friday! ;D

  • Not enough instruments to play Steve Reich's Drumming!

  • So cute LOL

  • Disruptive.

  • Feature requests:

    - ability to save played melodies,

    - ranked playlist.

  • There is a cat for that (C)

  • HN vehemently attacks FB for removing Holocaust denial groups and upvotes a cat hitting a synth.

    Not the same people necessarily, but the same community.

  • I can't stop hitting the space key

  • Please add `return false` or `event.preventDefault()` to your keyboard handlers! Otherwise the browser assumes the page didn't do anything with the events and uses its default keyboard handlers. I have find-as-you-type enabled, and pressing keys launches search for me. Handlers need to "eat" the keyboard events to prevent default browser behavior.

  • undefined

  • Needs a replay saving feature.

  • You are my favorite human for today.

  • http://193.168.192.43/

    Dapatkan permainan poker online terbai di srver Jwpoker yang cepat dan handal. Daftar idn poker skarang juga

  • Dapatkan keuntungan bermain togel terbesar dengan bermain bersama dengan Kudatogel. Kudatogel selalu menggunakan pasran resmi serta melengkapi semua permainan togel yang ada dengan diskon yang besar. http://3.114.208.180/

  • Why am I upvoting this?