[HN Gopher] Play the trombone in your web browser
___________________________________________________________________
Play the trombone in your web browser
Author : jdauriemma
Score : 57 points
Date : 2021-05-19 11:44 UTC (11 hours ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| royletron wrote:
| 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
| leafario2 wrote:
| Very cool project!
| BugsJustFindMe wrote:
| The best trombone you can play in your web browser is the pink
| trombone. https://dood.al/pinktrombone/
| jeremyleach wrote:
| Yes that's amazing
| smusamashah wrote:
| A modified version with alphabets overlayed.
| https://zakaton.github.io/Pink-Trombone/
|
| src: https://github.com/zakaton/Pink-Trombone
| BugsJustFindMe wrote:
| 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.
| allenu wrote:
| In a similar vein, if you haven't seen the game Speaking
| Simulator, check it out. It's quite hilarious.
| https://www.affablegames.com/
| jamil7 wrote:
| This personally reminded me too much of being at the dentist to
| enjoy it, but it's cool nonetheless.
| onemoresoop wrote:
| Wow, this is so funny! Thanks for sharing!!
| FpUser wrote:
| OMG. I am hooked now. The thing is hilarious and totally
| awesome
| sandebert wrote:
| 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
| causality0 wrote:
| Yeah, you're not going to get anything like a real instrument
| outputting a sawtooth wave, especially the bass notes.
| weinzierl wrote:
| ... 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;-)
| rzzzt wrote:
| Maximum speed is 251 for the human, 240 for the computer!
| It's "trucks overtaking each other"-simulator for two
| players.
| jdauriemma wrote:
| 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.
| kop316 wrote:
| As a Hobbyist Trombone player, this made my morning!
| pmarreck wrote:
| Mobile support would be nice
| jdauriemma wrote:
| 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.
| weinzierl wrote:
| Needs a plunger so we can do the _" Sad Trombone"_ sound.
| jdauriemma wrote:
| A pull request would be welcome!
| mLuby wrote:
| 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.
| tolbish wrote:
| > 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.
| bewaretheirs wrote:
| 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).
| jdauriemma wrote:
| 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.
| peatmoss wrote:
| 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.
| shujito wrote:
| this could have been named jsdoot instead
| bambax wrote:
| 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.
___________________________________________________________________
(page generated 2021-05-19 23:02 UTC)