MatthewRayfield / popup-trombone

it's a trombone you play by resizing a POPUP window
94 stars 5 forks source link

Use a key to trigger sound instead of only resize #1

Open Okazari opened 5 years ago

Okazari commented 5 years ago

Hey ! Love what you're doing here !

I guess it could be improved by triggering sound with another key and using the resize for the pitch. I'll take a look at that if you want :)

Okazari commented 5 years ago

I made a test with keydown/keyup to trigger/stop sound but since you loose focus when resizing the pop-up it doesn't wwork as expected. I guess my idea could be done by dragging the slide instead of the popup. So i guess it's a no-go since the project is based on the fact that you control pitch by sliding the popup. I may fork for a slide dragging version :+1:

freddi301 commented 5 years ago

I used to play trombone, the positions are bit different, but the idea is awesome. What about a clarinet/flute made of checkbox/radio buttons?

stonkol commented 3 years ago

Yes, I was thinking the same. it would be even more fun with this function.