mdn/webaudio-examples

Add support for touch events to violent theremin demo

オープン

#126 opened on 2021/01/18

 (6 件のコメント) (1 件のリアクション) (0 人の担当者)HTML (419 件のフォーク)batch import
accepting PRhelp wanted

Repository metrics

Stars
 (1,114 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

@normanr commented on Wed Dec 02 2020

It would be nice to be able to use the demo in a touch environment (eg: phone or tablet). (Not required: sound could be continuous after a 'start/down' event until an 'end/up' event is received)


@chrisdavidmills commented on Wed Dec 02 2020

I agree that this would be nice.

For reference:


@normanr commented on Wed Dec 02 2020

(side-note: the event listeners for triggering init should be removed in init, otherwise using the keyboard causes init to be triggered multi times, and DOMExceptions when trying to remove the startMessage that has already been removed).

コントリビューターガイド