Hacker News new | past | comments | ask | show | jobs | submit login
Play the trombone in your web browser (github.com/bignimbus)
64 points by jdauriemma on May 19, 2021 | hide | past | favorite | 27 comments



The best trombone you can play in your web browser is the pink trombone. https://dood.al/pinktrombone/



Sadly that version only seems to work in Chrome for me while the original works in Safari and Firefox as well, but the alphabet overlay is a fun idea.


This personally reminded me too much of being at the dentist to enjoy it, but it’s cool nonetheless.


In a similar vein, if you haven't seen the game Speaking Simulator, check it out. It's quite hilarious. https://www.affablegames.com/


OMG. I am hooked now. The thing is hilarious and totally awesome


Wow, this is so funny! Thanks for sharing!!


Yes that's amazing


Fun fact: trombonists can learn to play the Theremin faster than other instrumentalists because the relation between distance and pitch is comparable on the two instruments.


Fun! Two suggestions:

I'd like to see which partial I'm in. Perhaps a highlighted region behind the the instrument?

Also I'd rotate the scrolling to be more like moving the slide: make the slide move toward me when I scroll toward me and away when I scroll away. Partials can go left for higher or right for lower. Or some way for people to map their own scroll bindings, in case they've flipped scrolling.


Not showing the partial leads to a more authentic experience.

For true authenticity, click targets for the partials should get much closer together as you go higher (I haven't actually mapped what it does).


I had the same thought and am planning on making an update whenever I feel inspired. Right now we just subdivide the y-axis equally amongst the partials.


> I had grand plans for an informative heads-up display showing real-time data on pitch, slide position, partial, etc. Observant readers will note that the last commit of substance was made over 5 years ago; clearly I ran out of steam.


As a once aspiring trombonist, synth trombone is a uniquely grating sound for me. :-)

Trombone is a really unique instrument, as humorously explained in this video: https://youtu.be/IuS_brJYimY

I’d say the closest thing I’ve experienced to a spiritual experience is playing in a trombone choir in college. Ordinarily, in an orchestra you tune in accordance with the piano (well-tempered clavier dictates tuning sharper as you get higher in pitch and flatter as you get lower in pitch). By contrast, in a trombone choir where all the instruments are capable of perfect tuning, you tune to the “just” tuning system.

Multiple trombonists playing in perfect harmony will produce phantom tones that are the product of interference between the sound waves produced by each individual instrument. It’s hair-raising and beautiful.

Hmm... makes me want to whip myself back into shape.


To me, this sounds more like a car game on the C64. For reference, here's a trombone: https://www.youtube.com/watch?v=8-fkvWFSeYc


Pull requests are welcome! I tried to make the oscillators match the waveform described in the works cited. As a former professional trombonist, I doubt we’ll be able to use the Web Audio API to create the beautiful expressivity demonstrated by Davidson in that video. But there is certainly room for improvement! Thanks for the “reference” and feedback.


As a Hobbyist Trombone player, this made my morning!


... and here is the "car game on the C64" I have a suspicion sandebert is referring to: https://www.youtube.com/watch?v=WAfc_Ugki5U

I really don't know how I could bear this for hours as a kid, but somehow it seems to never have occurred to us children that we could turn off the sound;-)


Maximum speed is 251 for the human, 240 for the computer! It's "trucks overtaking each other"-simulator for two players.


Yeah, you're not going to get anything like a real instrument outputting a sawtooth wave, especially the bass notes.


I am having severe PTSD flashbacks of 'In the Night Garden'. This was supposed to help my children sleep, but only served to haunt my nightmares.

https://www.youtube.com/watch?v=vcD2Y_ciHCw


Needs a plunger so we can do the "Sad Trombone" sound.


A pull request would be welcome!


Very cool project!


this could have been named jsdoot instead


Mobile support would be nice


It does work on touch devices but YMMV. Unfortunately iOS Safari in particular is very, very stingy with allocating resources to the Web Audio API - the performance is generally dismal. So even if the UI is responsive, the oscillator performance generally makes the end user perceive slowness and unresponsiveness.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: