Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #38242
| Newsgroups | comp.lang.javascript |
|---|---|
| Date | 2020-03-12 21:11 -0700 |
| References | (4 earlier) <19d1b8d0-f24d-421e-9de3-8d3dbca6ffad@googlegroups.com> <d94fe4e1-de2f-4452-85c9-db54e60316e4@googlegroups.com> <3a927707-c4d3-4c00-936e-f547b61d8355@googlegroups.com> <6ec224ec-ec60-4037-80dd-09fdb9d38f88@googlegroups.com> <8b7ac35b-b27c-4d4b-b8ed-966a92156a48@googlegroups.com> |
| Message-ID | <c5c8bb56-e20d-4af8-9384-64d4d9982fb1@googlegroups.com> (permalink) |
| Subject | Re: Web midiAPI get name of sending device |
| From | "Michael Haufe (TNO)" <tno@thenewobjective.com> |
On Thursday, March 12, 2020 at 2:55:43 PM UTC-5, Jonas Thörnvall wrote: > > My skills about events only reach to you create a listener, but in midi api it seem implicit? I am not familiar with target. > > But i see "in your code", that you seem to say there is three parts in the midiMessageEvent "that the midiAPI created, ...because i have not..." > > I have generated timestamps myself are you saying they are autogenerated together with the port and in the "autogenerated as part of a sent message with 3 parts"? According to the spec [1] MIDIMessageEvent has a data property. MIDIMessageEvent inherits from Event. Event has a target and a timeStamp property [2]. To quote: "An event object implementing this interface is passed to a MIDIInput's onmidimessage handler when MIDI messages are received. Note that the DOM Event timeStamp attribute is defined as a DOMHighResTimeStamp, and represents the high-resolution time of when the event was received or is to be sent." [1] <https://webaudio.github.io/web-midi-api/#MIDIMessageEvent> [2] <https://dom.spec.whatwg.org/#event>
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Web midiAPI get name of sending device Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-03-10 00:39 -0700
Re: Web midiAPI get name of sending device Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-03-10 00:41 -0700
Re: Web midiAPI get name of sending device "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-03-10 15:21 -0700
Re: Web midiAPI get name of sending device "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-03-10 15:43 -0700
Re: Web midiAPI get name of sending device "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-03-10 17:15 -0700
Re: Web midiAPI get name of sending device Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-03-11 14:32 -0700
Re: Web midiAPI get name of sending device "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-03-11 15:52 -0700
Re: Web midiAPI get name of sending device Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-03-12 05:04 -0700
Re: Web midiAPI get name of sending device Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-03-12 05:21 -0700
Re: Web midiAPI get name of sending device Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-03-12 05:30 -0700
Re: Web midiAPI get name of sending device Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-03-12 06:32 -0700
Re: Web midiAPI get name of sending device "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-03-12 12:16 -0700
Re: Web midiAPI get name of sending device Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-03-12 12:55 -0700
Re: Web midiAPI get name of sending device "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-03-12 21:11 -0700
Re: Web midiAPI get name of sending device Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-03-13 02:16 -0700
Re: Web midiAPI get name of sending device "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2020-03-13 13:27 +0100
Re: Web midiAPI get name of sending device "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2020-03-13 13:34 +0100
Re: Web midiAPI get name of sending device "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-03-13 12:47 -0700
Re: Web midiAPI get name of sending device Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-03-11 03:35 -0700
Re: Web midiAPI get name of sending device Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-03-11 03:44 -0700
Re: Web midiAPI get name of sending device "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-03-11 05:21 -0700
csiph-web