X-Received: by 2002:a02:b587:: with SMTP id m7-v6mr13931647jaj.7.1534402174004; Wed, 15 Aug 2018 23:49:34 -0700 (PDT) X-Received: by 2002:aca:2b06:: with SMTP id i6-v6mr794316oik.0.1534402173914; Wed, 15 Aug 2018 23:49:33 -0700 (PDT) Path: csiph.com!4.us.feeder.erje.net!feeder.erje.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!g24-v6no2154043iti.0!news-out.google.com!c189-v6ni1266ith.0!nntp.google.com!w19-v6no2124327itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.javascript Date: Wed, 15 Aug 2018 23:49:33 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=84.217.164.223; posting-account=kxPkPAoAAACjJi8w0gL9bnyznPzdw9HW NNTP-Posting-Host: 84.217.164.223 References: <18w04otipui3x$.v7dq6i8d8i0d.dlg@40tude.net> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Explain explicity what function does From: =?UTF-8?Q?Jonas_Th=C3=B6rnvall?= Injection-Date: Thu, 16 Aug 2018 06:49:33 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Lines: 50 Xref: csiph.com comp.lang.javascript:35495 Den torsdag 16 augusti 2018 kl. 08:44:42 UTC+2 skrev Jonas Th=C3=B6rnvall: > Den torsdag 16 augusti 2018 kl. 01:47:30 UTC+2 skrev JJ: > > On Wed, 15 Aug 2018 14:52:28 -0700 (PDT), Jonas Th=C3=B6rnvall wrote: > > >=20 > > > Because so it seemed on win XP, not so much on win 7,8 and 10. > >=20 > > MIDI implementation on web browsers is still at an early stage, it seem= s. > >=20 > > In my Window 7 system, `requestMIDIAccess()` doesn't recognize any port= at > > all, under both FF Quantum and Chromium. The Windows' own Microsoft Vir= tual > > GS Wavetable Synth doesn't get listed even if I specifically requested > > Software synthesizer. > >=20 > > > Don't ask me how message get a value above because i am baffeled myse= lf... > >=20 > > You'll need a MIDI source which is connected to the selected MIDI input > > port, then play something. If the MIDI input port is a hardware port on= your > > sound card, you'll need a MIDI keyboard connected to that port then pla= y > > something. > >=20 > > > I really would like to make my rudimentary sequenser, but since i do = not > > > understand the logic of ports above i am stuck in undefined land when= i > > > try. > > >=20 > > > output.send(noteMessage) undefined... > >=20 > > `send()` doesn't return anything. So, the value retrieved from that fun= ction > > call will always be `undefined`. >=20 > Well i also noted that the GS wavetable not get listed, but it is probabl= y because of latency issues? But of course if you want to make a midiplayer= you want it listed as output port. Well if anyone would be so kind make a simple example where the input port/= ports "echoed" to an output port in windows i would be overwhelmed. As you see i am also interested of howto listen to a single port, without l= ooping thru using next. So if your example also show that GREAT=20 I think it really should not be more then 20 lines of code, most of them ca= n be copied straight off examples, but "howto echo to the output port is th= e challenge"