surikov / webaudiofont

Use full GM set of musical instruments to play MIDI and single sounds or effects. Support for reverberation and equaliser. No plugins, no Flash. Pure HTML5 implementation compatible with desktop and mobile browser. See live examples.

Home Page:https://surikov.github.io/webaudiofont/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sound should play onMouseDown, not onClick / onMouseUp

dezman opened this issue · comments

To more accurately mimic real instruments, the sound should play when you initiate the action, rather than when the user is finishing the 'click'

Presumably we can just change the event to onMouseDown.

Use any event that you like.
WebAudioFont is library for music not UI events.