Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #35483 > unrolled thread
| Started by | Jonas Thörnvall <jonas.thornvall@gmail.com> |
|---|---|
| First post | 2018-08-15 14:52 -0700 |
| Last post | 2018-08-19 15:48 -0700 |
| Articles | 20 on this page of 25 — 5 participants |
Back to article view | Back to comp.lang.javascript
Explain explicity what function does Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-08-15 14:52 -0700
Re: Explain explicity what function does Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-08-15 15:11 -0700
Re: Explain explicity what function does Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-08-15 15:16 -0700
Re: Explain explicity what function does Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-08-15 16:00 -0700
Re: Explain explicity what function does Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-08-15 16:03 -0700
Re: Explain explicity what function does JJ <jj4public@vfemail.net> - 2018-08-16 06:47 +0700
Re: Explain explicity what function does Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-08-15 21:43 -0700
Re: Explain explicity what function does Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-08-15 23:13 -0700
Re: Explain explicity what function does Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-08-15 23:18 -0700
Re: Explain explicity what function does Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-08-15 23:23 -0700
Re: Explain explicity what function does Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-08-15 23:44 -0700
Re: Explain explicity what function does Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-08-15 23:49 -0700
Re: Explain explicity what function does Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-08-16 01:26 -0700
Re: Explain explicity what function does Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-08-17 01:49 -0700
Re: Explain explicity what function does Flng Fck <nothanks@invalid.invalid> - 2018-08-17 16:02 +0200
Re: Explain explicity what function does Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-08-17 11:29 -0700
Re: Explain explicity what function does Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-08-17 11:33 -0700
Re: Explain explicity what function does Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-08-17 11:36 -0700
Re: Explain explicity what function does Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-08-19 11:22 -0700
Re: Explain explicity what function does "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-08-19 22:52 +0200
Re: Explain explicity what function does Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2018-08-20 00:15 +0200
Re: Explain explicity what function does Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-08-19 15:21 -0700
Re: Explain explicity what function does Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2018-08-20 00:27 +0200
Re: Explain explicity what function does Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-08-19 15:43 -0700
Re: Explain explicity what function does Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-08-19 15:48 -0700
Page 1 of 2 [1] 2 Next page →
| From | Jonas Thörnvall <jonas.thornvall@gmail.com> |
|---|---|
| Date | 2018-08-15 14:52 -0700 |
| Subject | Explain explicity what function does |
| Message-ID | <c33bd026-ee20-4e30-b43b-ee30be5b5fb1@googlegroups.com> |
I tried program these functions and i thought i knew what they did, but apparently i don't. First it tries grab midi object and returns success and failure that much i get.
var output;var input;var inputs;var outputs;var mid; var onMIDIMessage; var message;
if (navigator.requestMIDIAccess) {
navigator.requestMIDIAccess()
.then(success, failure);
}
function failure () {
console.error('No access to your midi devices.'+ + msg )
}
function success (midi) {
mid=midi;
inputs = mid.inputs.values();
console.log("Undefined value?="+inputs[0]);
// inputs outputs are Iterators
for (input = inputs.next(); input && !input.done; input = inputs.next()) {
// each time there is a midi message call the onMIDIMessage function?
input.value.onmidimessage = onMIDIMessage;
}
}
So I thought above success function grabbed The midi object whatever that is listened to incomingmessages on the last port because "next".
So it is basicly some sort of port listener, well it seem weird to me, but who am i to judge?
And that below function listed outputs ports in portout "object array?" and input ports in portin "object array?"
function selectPorts(){
portout = mid.outputs.values();
portin = mid.inputs.values();
for (input = portin.next(); input && !input.done; input = portin.next()) {
var deviceIn = input.value.name;
var optin = document.createElement("option");
optin.text = deviceIn;
document.getElementById("in_portsel").add(optin);
}
for (output = portout.next(); output && !output.done; output = portout.next()) {
var deviceOut = output.value.name;
//console.log(deviceOut);
var optout = document.createElement("option");
optout.text = deviceOut;
document.getElementById("out_portsel").add(optout);
}
}
So I thought it scrolled thru input ports and output ports added them to an option list. And i thought that the "input" would be the last one scrolled thru and the output would be the last scrolled thru. And i could read midimessages from that input and echo them to that output.
Because so it seemed on win XP, not so much on win 7,8 and 10.
function onMIDIMessage (message) {
playbackPort(message);
}
Don't ask me how message get a value above because i am baffeled myself...
function playbackPort(message){
var noteMessage = [message.data[0], message.data[1], message.data[2]];
output.send(noteMessage);
}
So can anyone explain "what i try to do" and "what i fail todo"?
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.
output.send(noteMessage) undefined...
[toc] | [next] | [standalone]
| From | Jonas Thörnvall <jonas.thornvall@gmail.com> |
|---|---|
| Date | 2018-08-15 15:11 -0700 |
| Message-ID | <f7be12ea-91eb-47e7-b38d-aeea83ce3146@googlegroups.com> |
| In reply to | #35483 |
Den onsdag 15 augusti 2018 kl. 23:52:35 UTC+2 skrev Jonas Thörnvall:
> I tried program these functions and i thought i knew what they did, but apparently i don't. First it tries grab midi object and returns success and failure that much i get.
>
> var output;var input;var inputs;var outputs;var mid; var onMIDIMessage; var message;
>
> if (navigator.requestMIDIAccess) {
> navigator.requestMIDIAccess()
> .then(success, failure);
> }
>
> function failure () {
> console.error('No access to your midi devices.'+ + msg )
> }
>
> function success (midi) {
> mid=midi;
> inputs = mid.inputs.values();
> console.log("Undefined value?="+inputs[0]);
> // inputs outputs are Iterators
> for (input = inputs.next(); input && !input.done; input = inputs.next()) {
> // each time there is a midi message call the onMIDIMessage function?
> input.value.onmidimessage = onMIDIMessage;
> }
> }
>
>
> So I thought above success function grabbed The midi object whatever that is listened to incomingmessages on the last port because "next".
> So it is basicly some sort of port listener, well it seem weird to me, but who am i to judge?
>
> And that below function listed outputs ports in portout "object array?" and input ports in portin "object array?"
>
> function selectPorts(){
> portout = mid.outputs.values();
> portin = mid.inputs.values();
>
> for (input = portin.next(); input && !input.done; input = portin.next()) {
> var deviceIn = input.value.name;
> var optin = document.createElement("option");
> optin.text = deviceIn;
> document.getElementById("in_portsel").add(optin);
> }
>
> for (output = portout.next(); output && !output.done; output = portout.next()) {
> var deviceOut = output.value.name;
> //console.log(deviceOut);
> var optout = document.createElement("option");
> optout.text = deviceOut;
> document.getElementById("out_portsel").add(optout);
> }
> }
>
> So I thought it scrolled thru input ports and output ports added them to an option list. And i thought that the "input" would be the last one scrolled thru and the output would be the last scrolled thru. And i could read midimessages from that input and echo them to that output.
>
> Because so it seemed on win XP, not so much on win 7,8 and 10.
>
> function onMIDIMessage (message) {
> playbackPort(message);
> }
>
> Don't ask me how message get a value above because i am baffeled myself...
>
> function playbackPort(message){
> var noteMessage = [message.data[0], message.data[1], message.data[2]];
> output.send(noteMessage);
> }
>
> So can anyone explain "what i try to do" and "what i fail todo"?
> 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.
>
> output.send(noteMessage) undefined...
The whole thing looping over the inputs seem weird to me "is there another way to make a listener on the port?", but that is how i find it done in examples.
https://gist.github.com/rudle/1007b15e84d70423fb59675182d3c4e0
onMIDISuccess: function(midiAccess) {
midi = midiAccess;
var inputs = midi.inputs.values();
// loop over all available inputs and listen for any MIDI input
for (var input = inputs.next(); input && !input.done; input = inputs.next()) {
// each time there is a midi message call the onMIDIMessage function
console.log("detected input: " + input.value.manufacturer + " " + input.value.name);
input.value.onmidimessage = ChordSpeller.onMIDIMessage;
}
},
[toc] | [prev] | [next] | [standalone]
| From | Jonas Thörnvall <jonas.thornvall@gmail.com> |
|---|---|
| Date | 2018-08-15 15:16 -0700 |
| Message-ID | <dd690fa9-0586-4f2b-9074-df8fc570e1ed@googlegroups.com> |
| In reply to | #35484 |
Den torsdag 16 augusti 2018 kl. 00:11:15 UTC+2 skrev Jonas Thörnvall:
> Den onsdag 15 augusti 2018 kl. 23:52:35 UTC+2 skrev Jonas Thörnvall:
> > I tried program these functions and i thought i knew what they did, but apparently i don't. First it tries grab midi object and returns success and failure that much i get.
> >
> > var output;var input;var inputs;var outputs;var mid; var onMIDIMessage; var message;
> >
> > if (navigator.requestMIDIAccess) {
> > navigator.requestMIDIAccess()
> > .then(success, failure);
> > }
> >
> > function failure () {
> > console.error('No access to your midi devices.'+ + msg )
> > }
> >
> > function success (midi) {
> > mid=midi;
> > inputs = mid.inputs.values();
> > console.log("Undefined value?="+inputs[0]);
> > // inputs outputs are Iterators
> > for (input = inputs.next(); input && !input.done; input = inputs.next()) {
> > // each time there is a midi message call the onMIDIMessage function?
> > input.value.onmidimessage = onMIDIMessage;
> > }
> > }
> >
> >
> > So I thought above success function grabbed The midi object whatever that is listened to incomingmessages on the last port because "next".
> > So it is basicly some sort of port listener, well it seem weird to me, but who am i to judge?
> >
> > And that below function listed outputs ports in portout "object array?" and input ports in portin "object array?"
> >
> > function selectPorts(){
> > portout = mid.outputs.values();
> > portin = mid.inputs.values();
> >
> > for (input = portin.next(); input && !input.done; input = portin.next()) {
> > var deviceIn = input.value.name;
> > var optin = document.createElement("option");
> > optin.text = deviceIn;
> > document.getElementById("in_portsel").add(optin);
> > }
> >
> > for (output = portout.next(); output && !output.done; output = portout.next()) {
> > var deviceOut = output.value.name;
> > //console.log(deviceOut);
> > var optout = document.createElement("option");
> > optout.text = deviceOut;
> > document.getElementById("out_portsel").add(optout);
> > }
> > }
> >
> > So I thought it scrolled thru input ports and output ports added them to an option list. And i thought that the "input" would be the last one scrolled thru and the output would be the last scrolled thru. And i could read midimessages from that input and echo them to that output.
> >
> > Because so it seemed on win XP, not so much on win 7,8 and 10.
> >
> > function onMIDIMessage (message) {
> > playbackPort(message);
> > }
> >
> > Don't ask me how message get a value above because i am baffeled myself...
> >
> > function playbackPort(message){
> > var noteMessage = [message.data[0], message.data[1], message.data[2]];
> > output.send(noteMessage);
> > }
> >
> > So can anyone explain "what i try to do" and "what i fail todo"?
> > 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.
> >
> > output.send(noteMessage) undefined...
>
> The whole thing looping over the inputs seem weird to me "is there another way to make a listener on the port?", but that is how i find it done in examples.
>
> https://gist.github.com/rudle/1007b15e84d70423fb59675182d3c4e0
>
> onMIDISuccess: function(midiAccess) {
> midi = midiAccess;
>
> var inputs = midi.inputs.values();
> // loop over all available inputs and listen for any MIDI input
> for (var input = inputs.next(); input && !input.done; input = inputs.next()) {
> // each time there is a midi message call the onMIDIMessage function
> console.log("detected input: " + input.value.manufacturer + " " + input.value.name);
> input.value.onmidimessage = ChordSpeller.onMIDIMessage;
> }
> },
If i just want to listen to one specified port? They are all doing this using next.
https://www.keithmcmillen.com/blog/making-music-in-the-browser-web-midi-api/
[toc] | [prev] | [next] | [standalone]
| From | Jonas Thörnvall <jonas.thornvall@gmail.com> |
|---|---|
| Date | 2018-08-15 16:00 -0700 |
| Message-ID | <8cd7c851-99a0-47e1-8476-3904952e97bf@googlegroups.com> |
| In reply to | #35485 |
Den torsdag 16 augusti 2018 kl. 00:16:28 UTC+2 skrev Jonas Thörnvall:
> Den torsdag 16 augusti 2018 kl. 00:11:15 UTC+2 skrev Jonas Thörnvall:
> > Den onsdag 15 augusti 2018 kl. 23:52:35 UTC+2 skrev Jonas Thörnvall:
> > > I tried program these functions and i thought i knew what they did, but apparently i don't. First it tries grab midi object and returns success and failure that much i get.
> > >
> > > var output;var input;var inputs;var outputs;var mid; var onMIDIMessage; var message;
> > >
> > > if (navigator.requestMIDIAccess) {
> > > navigator.requestMIDIAccess()
> > > .then(success, failure);
> > > }
> > >
> > > function failure () {
> > > console.error('No access to your midi devices.'+ + msg )
> > > }
> > >
> > > function success (midi) {
> > > mid=midi;
> > > inputs = mid.inputs.values();
> > > console.log("Undefined value?="+inputs[0]);
> > > // inputs outputs are Iterators
> > > for (input = inputs.next(); input && !input.done; input = inputs.next()) {
> > > // each time there is a midi message call the onMIDIMessage function?
> > > input.value.onmidimessage = onMIDIMessage;
> > > }
> > > }
> > >
> > >
> > > So I thought above success function grabbed The midi object whatever that is listened to incomingmessages on the last port because "next".
> > > So it is basicly some sort of port listener, well it seem weird to me, but who am i to judge?
> > >
> > > And that below function listed outputs ports in portout "object array?" and input ports in portin "object array?"
> > >
> > > function selectPorts(){
> > > portout = mid.outputs.values();
> > > portin = mid.inputs.values();
> > >
> > > for (input = portin.next(); input && !input.done; input = portin.next()) {
> > > var deviceIn = input.value.name;
> > > var optin = document.createElement("option");
> > > optin.text = deviceIn;
> > > document.getElementById("in_portsel").add(optin);
> > > }
> > >
> > > for (output = portout.next(); output && !output.done; output = portout.next()) {
> > > var deviceOut = output.value.name;
> > > //console.log(deviceOut);
> > > var optout = document.createElement("option");
> > > optout.text = deviceOut;
> > > document.getElementById("out_portsel").add(optout);
> > > }
> > > }
> > >
> > > So I thought it scrolled thru input ports and output ports added them to an option list. And i thought that the "input" would be the last one scrolled thru and the output would be the last scrolled thru. And i could read midimessages from that input and echo them to that output.
> > >
> > > Because so it seemed on win XP, not so much on win 7,8 and 10.
> > >
> > > function onMIDIMessage (message) {
> > > playbackPort(message);
> > > }
> > >
> > > Don't ask me how message get a value above because i am baffeled myself...
> > >
> > > function playbackPort(message){
> > > var noteMessage = [message.data[0], message.data[1], message.data[2]];
> > > output.send(noteMessage);
> > > }
> > >
> > > So can anyone explain "what i try to do" and "what i fail todo"?
> > > 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.
> > >
> > > output.send(noteMessage) undefined...
> >
> > The whole thing looping over the inputs seem weird to me "is there another way to make a listener on the port?", but that is how i find it done in examples.
> >
> > https://gist.github.com/rudle/1007b15e84d70423fb59675182d3c4e0
> >
> > onMIDISuccess: function(midiAccess) {
> > midi = midiAccess;
> >
> > var inputs = midi.inputs.values();
> > // loop over all available inputs and listen for any MIDI input
> > for (var input = inputs.next(); input && !input.done; input = inputs.next()) {
> > // each time there is a midi message call the onMIDIMessage function
> > console.log("detected input: " + input.value.manufacturer + " " + input.value.name);
> > input.value.onmidimessage = ChordSpeller.onMIDIMessage;
> > }
> > },
>
> If i just want to listen to one specified port? They are all doing this using next.
> https://www.keithmcmillen.com/blog/making-music-in-the-browser-web-midi-api/
One would thought that something like
input = midi.inputs.get(0);
Would get/set the port but no way Sir!
No it some lollypopping, that came up with the syntax for that.
[toc] | [prev] | [next] | [standalone]
| From | Jonas Thörnvall <jonas.thornvall@gmail.com> |
|---|---|
| Date | 2018-08-15 16:03 -0700 |
| Message-ID | <59ffec0e-0dd2-448e-9ffb-3b5860050f29@googlegroups.com> |
| In reply to | #35486 |
Den torsdag 16 augusti 2018 kl. 01:00:28 UTC+2 skrev Jonas Thörnvall:
> Den torsdag 16 augusti 2018 kl. 00:16:28 UTC+2 skrev Jonas Thörnvall:
> > Den torsdag 16 augusti 2018 kl. 00:11:15 UTC+2 skrev Jonas Thörnvall:
> > > Den onsdag 15 augusti 2018 kl. 23:52:35 UTC+2 skrev Jonas Thörnvall:
> > > > I tried program these functions and i thought i knew what they did, but apparently i don't. First it tries grab midi object and returns success and failure that much i get.
> > > >
> > > > var output;var input;var inputs;var outputs;var mid; var onMIDIMessage; var message;
> > > >
> > > > if (navigator.requestMIDIAccess) {
> > > > navigator.requestMIDIAccess()
> > > > .then(success, failure);
> > > > }
> > > >
> > > > function failure () {
> > > > console.error('No access to your midi devices.'+ + msg )
> > > > }
> > > >
> > > > function success (midi) {
> > > > mid=midi;
> > > > inputs = mid.inputs.values();
> > > > console.log("Undefined value?="+inputs[0]);
> > > > // inputs outputs are Iterators
> > > > for (input = inputs.next(); input && !input.done; input = inputs.next()) {
> > > > // each time there is a midi message call the onMIDIMessage function?
> > > > input.value.onmidimessage = onMIDIMessage;
> > > > }
> > > > }
> > > >
> > > >
> > > > So I thought above success function grabbed The midi object whatever that is listened to incomingmessages on the last port because "next".
> > > > So it is basicly some sort of port listener, well it seem weird to me, but who am i to judge?
> > > >
> > > > And that below function listed outputs ports in portout "object array?" and input ports in portin "object array?"
> > > >
> > > > function selectPorts(){
> > > > portout = mid.outputs.values();
> > > > portin = mid.inputs.values();
> > > >
> > > > for (input = portin.next(); input && !input.done; input = portin.next()) {
> > > > var deviceIn = input.value.name;
> > > > var optin = document.createElement("option");
> > > > optin.text = deviceIn;
> > > > document.getElementById("in_portsel").add(optin);
> > > > }
> > > >
> > > > for (output = portout.next(); output && !output.done; output = portout.next()) {
> > > > var deviceOut = output.value.name;
> > > > //console.log(deviceOut);
> > > > var optout = document.createElement("option");
> > > > optout.text = deviceOut;
> > > > document.getElementById("out_portsel").add(optout);
> > > > }
> > > > }
> > > >
> > > > So I thought it scrolled thru input ports and output ports added them to an option list. And i thought that the "input" would be the last one scrolled thru and the output would be the last scrolled thru. And i could read midimessages from that input and echo them to that output.
> > > >
> > > > Because so it seemed on win XP, not so much on win 7,8 and 10.
> > > >
> > > > function onMIDIMessage (message) {
> > > > playbackPort(message);
> > > > }
> > > >
> > > > Don't ask me how message get a value above because i am baffeled myself...
> > > >
> > > > function playbackPort(message){
> > > > var noteMessage = [message.data[0], message.data[1], message.data[2]];
> > > > output.send(noteMessage);
> > > > }
> > > >
> > > > So can anyone explain "what i try to do" and "what i fail todo"?
> > > > 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.
> > > >
> > > > output.send(noteMessage) undefined...
> > >
> > > The whole thing looping over the inputs seem weird to me "is there another way to make a listener on the port?", but that is how i find it done in examples.
> > >
> > > https://gist.github.com/rudle/1007b15e84d70423fb59675182d3c4e0
> > >
> > > onMIDISuccess: function(midiAccess) {
> > > midi = midiAccess;
> > >
> > > var inputs = midi.inputs.values();
> > > // loop over all available inputs and listen for any MIDI input
> > > for (var input = inputs.next(); input && !input.done; input = inputs.next()) {
> > > // each time there is a midi message call the onMIDIMessage function
> > > console.log("detected input: " + input.value.manufacturer + " " + input.value.name);
> > > input.value.onmidimessage = ChordSpeller.onMIDIMessage;
> > > }
> > > },
> >
> > If i just want to listen to one specified port? They are all doing this using next.
> > https://www.keithmcmillen.com/blog/making-music-in-the-browser-web-midi-api/
>
> One would thought that something like
> input = midi.inputs.get(0);
> Would get/set the port but no way Sir!
> No it some lollypopping, that came up with the syntax for that.
Suggestions for listening to one specified port?
//for (input = inputs.next(); input && !input.done; input = inputs.next()) {
// each time there is a midi message call the onMIDIMessage function
input = midi.inputs.get(0);
input.value.onmidimessage = onMIDIMessage;
//}
[toc] | [prev] | [next] | [standalone]
| From | JJ <jj4public@vfemail.net> |
|---|---|
| Date | 2018-08-16 06:47 +0700 |
| Message-ID | <18w04otipui3x$.v7dq6i8d8i0d.dlg@40tude.net> |
| In reply to | #35483 |
On Wed, 15 Aug 2018 14:52:28 -0700 (PDT), Jonas Thörnvall wrote: > > Because so it seemed on win XP, not so much on win 7,8 and 10. MIDI implementation on web browsers is still at an early stage, it seems. In my Window 7 system, `requestMIDIAccess()` doesn't recognize any port at all, under both FF Quantum and Chromium. The Windows' own Microsoft Virtual GS Wavetable Synth doesn't get listed even if I specifically requested Software synthesizer. > Don't ask me how message get a value above because i am baffeled myself... 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 play something. > 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. > > output.send(noteMessage) undefined... `send()` doesn't return anything. So, the value retrieved from that function call will always be `undefined`.
[toc] | [prev] | [next] | [standalone]
| From | Jonas Thörnvall <jonas.thornvall@gmail.com> |
|---|---|
| Date | 2018-08-15 21:43 -0700 |
| Message-ID | <a10a28f4-04f8-493c-9598-a4672cb16454@googlegroups.com> |
| In reply to | #35488 |
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örnvall wrote:
> >
> > Because so it seemed on win XP, not so much on win 7,8 and 10.
>
> MIDI implementation on web browsers is still at an early stage, it seems.
>
> In my Window 7 system, `requestMIDIAccess()` doesn't recognize any port at
> all, under both FF Quantum and Chromium. The Windows' own Microsoft Virtual
> GS Wavetable Synth doesn't get listed even if I specifically requested
> Software synthesizer.
>
> > Don't ask me how message get a value above because i am baffeled myself...
>
> 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 play
> something.
>
> > 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.
> >
> > output.send(noteMessage) undefined...
>
> `send()` doesn't return anything. So, the value retrieved from that function
> call will always be `undefined`.
Well i have an external USB midi cable attached and i basicly want to return in back to the device, "and thru to a model".
And i have no problem doing it using win XP and Opera latest version "for XP" and the lates version of Chrome available, but when i run the "code" script on my win 10 machine it seem the output port is undefined?
output.send(noteMessage) undefined...
What do you mean it will be undefined? On my XP machine it takes the input via
for (input = inputs.next(); input && !input.done; input = inputs.next()) {
// each time there is a midi message call the onMIDIMessage function?
input.value.onmidimessage = onMIDIMessage;
}
And echo it out to the selected port with no undefined message, i have an option list where i select output port. Beside the thing that i can not reach outport "undefined", because it do listen to input port even in win 10.
I also wonder about the code loop above how can i set a specific port without loop thru with next as above?
It seem weird that the outport is undefined in win 10 but work fine in win XP, there must be some change to the API between the versions of windows or browser?
[toc] | [prev] | [next] | [standalone]
| From | Jonas Thörnvall <jonas.thornvall@gmail.com> |
|---|---|
| Date | 2018-08-15 23:13 -0700 |
| Message-ID | <69235beb-abf8-47b1-bf63-2eaebe407e15@googlegroups.com> |
| In reply to | #35489 |
Den torsdag 16 augusti 2018 kl. 06:43:09 UTC+2 skrev Jonas Thörnvall:
> 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örnvall wrote:
> > >
> > > Because so it seemed on win XP, not so much on win 7,8 and 10.
> >
> > MIDI implementation on web browsers is still at an early stage, it seems.
> >
> > In my Window 7 system, `requestMIDIAccess()` doesn't recognize any port at
> > all, under both FF Quantum and Chromium. The Windows' own Microsoft Virtual
> > GS Wavetable Synth doesn't get listed even if I specifically requested
> > Software synthesizer.
> >
> > > Don't ask me how message get a value above because i am baffeled myself...
> >
> > 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 play
> > something.
> >
> > > 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.
> > >
> > > output.send(noteMessage) undefined...
> >
> > `send()` doesn't return anything. So, the value retrieved from that function
> > call will always be `undefined`.
>
> Well i have an external USB midi cable attached and i basicly want to return in back to the device, "and thru to a model".
>
> And i have no problem doing it using win XP and Opera latest version "for XP" and the lates version of Chrome available, but when i run the "code" script on my win 10 machine it seem the output port is undefined?
>
> output.send(noteMessage) undefined...
>
> What do you mean it will be undefined? On my XP machine it takes the input via
>
> for (input = inputs.next(); input && !input.done; input = inputs.next()) {
> // each time there is a midi message call the onMIDIMessage function?
> input.value.onmidimessage = onMIDIMessage;
> }
>
> And echo it out to the selected port with no undefined message, i have an option list where i select output port. Beside the thing that i can not reach outport "undefined", because it do listen to input port even in win 10.
>
> I also wonder about the code loop above how can i set a specific port without loop thru with next as above?
>
> It seem weird that the outport is undefined in win 10 but work fine in win XP, there must be some change to the API between the versions of windows or browser?
This is the string i use to set outport, and it do work in XP outportindex is just an integer initiated to outportindex=0, and it seem to initiate just fine using the following string.
output = mid.outputs.get(outportindex);
But when i try so send messages to it, it is undefined in windows 10?
Can you explain again why, and how i can assign the output?
So that i can use send to
output port.
output.send(noteMessage)
Because in windows XP, the above work just fine in conjunction with "see below", i really need to understand *WHY* the port is undefined in win 10
function onMIDIMessage (message) {
playbackPort(message);
}
function playbackPort(message){
var noteMessage = [message.data[0], message.data[1], message.data[2]];
output.send(noteMessage);
}
[toc] | [prev] | [next] | [standalone]
| From | Jonas Thörnvall <jonas.thornvall@gmail.com> |
|---|---|
| Date | 2018-08-15 23:18 -0700 |
| Message-ID | <09949559-e51a-4a27-b9e0-2087ba094ad5@googlegroups.com> |
| In reply to | #35490 |
Den torsdag 16 augusti 2018 kl. 08:13:25 UTC+2 skrev Jonas Thörnvall:
> Den torsdag 16 augusti 2018 kl. 06:43:09 UTC+2 skrev Jonas Thörnvall:
> > 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örnvall wrote:
> > > >
> > > > Because so it seemed on win XP, not so much on win 7,8 and 10.
> > >
> > > MIDI implementation on web browsers is still at an early stage, it seems.
> > >
> > > In my Window 7 system, `requestMIDIAccess()` doesn't recognize any port at
> > > all, under both FF Quantum and Chromium. The Windows' own Microsoft Virtual
> > > GS Wavetable Synth doesn't get listed even if I specifically requested
> > > Software synthesizer.
> > >
> > > > Don't ask me how message get a value above because i am baffeled myself...
> > >
> > > 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 play
> > > something.
> > >
> > > > 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.
> > > >
> > > > output.send(noteMessage) undefined...
> > >
> > > `send()` doesn't return anything. So, the value retrieved from that function
> > > call will always be `undefined`.
> >
> > Well i have an external USB midi cable attached and i basicly want to return in back to the device, "and thru to a model".
> >
> > And i have no problem doing it using win XP and Opera latest version "for XP" and the lates version of Chrome available, but when i run the "code" script on my win 10 machine it seem the output port is undefined?
> >
> > output.send(noteMessage) undefined...
> >
> > What do you mean it will be undefined? On my XP machine it takes the input via
> >
> > for (input = inputs.next(); input && !input.done; input = inputs.next()) {
> > // each time there is a midi message call the onMIDIMessage function?
> > input.value.onmidimessage = onMIDIMessage;
> > }
> >
> > And echo it out to the selected port with no undefined message, i have an option list where i select output port. Beside the thing that i can not reach outport "undefined", because it do listen to input port even in win 10.
> >
> > I also wonder about the code loop above how can i set a specific port without loop thru with next as above?
> >
> > It seem weird that the outport is undefined in win 10 but work fine in win XP, there must be some change to the API between the versions of windows or browser?
>
> This is the string i use to set outport, and it do work in XP outportindex is just an integer initiated to outportindex=0, and it seem to initiate just fine using the following string.
>
> output = mid.outputs.get(outportindex);
>
> But when i try so send messages to it, it is undefined in windows 10?
> Can you explain again why, and how i can assign the output?
>
> So that i can use send to
> output port.
>
> output.send(noteMessage)
>
> Because in windows XP, the above work just fine in conjunction with "see below", i really need to understand *WHY* the port is undefined in win 10
>
> function onMIDIMessage (message) {
> playbackPort(message);
> }
>
> function playbackPort(message){
> var noteMessage = [message.data[0], message.data[1], message.data[2]];
> output.send(noteMessage);
> }
As you can see i just try to echo the signal thru from inport to outport, but it is impossible if the outport is not defined. It do read and echo the messages from the inport via console.
[toc] | [prev] | [next] | [standalone]
| From | Jonas Thörnvall <jonas.thornvall@gmail.com> |
|---|---|
| Date | 2018-08-15 23:23 -0700 |
| Message-ID | <e108c22c-5a07-49bd-892c-8ec9f531eec8@googlegroups.com> |
| In reply to | #35491 |
Den torsdag 16 augusti 2018 kl. 08:18:28 UTC+2 skrev Jonas Thörnvall:
> Den torsdag 16 augusti 2018 kl. 08:13:25 UTC+2 skrev Jonas Thörnvall:
> > Den torsdag 16 augusti 2018 kl. 06:43:09 UTC+2 skrev Jonas Thörnvall:
> > > 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örnvall wrote:
> > > > >
> > > > > Because so it seemed on win XP, not so much on win 7,8 and 10.
> > > >
> > > > MIDI implementation on web browsers is still at an early stage, it seems.
> > > >
> > > > In my Window 7 system, `requestMIDIAccess()` doesn't recognize any port at
> > > > all, under both FF Quantum and Chromium. The Windows' own Microsoft Virtual
> > > > GS Wavetable Synth doesn't get listed even if I specifically requested
> > > > Software synthesizer.
> > > >
> > > > > Don't ask me how message get a value above because i am baffeled myself...
> > > >
> > > > 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 play
> > > > something.
> > > >
> > > > > 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.
> > > > >
> > > > > output.send(noteMessage) undefined...
> > > >
> > > > `send()` doesn't return anything. So, the value retrieved from that function
> > > > call will always be `undefined`.
> > >
> > > Well i have an external USB midi cable attached and i basicly want to return in back to the device, "and thru to a model".
> > >
> > > And i have no problem doing it using win XP and Opera latest version "for XP" and the lates version of Chrome available, but when i run the "code" script on my win 10 machine it seem the output port is undefined?
> > >
> > > output.send(noteMessage) undefined...
> > >
> > > What do you mean it will be undefined? On my XP machine it takes the input via
> > >
> > > for (input = inputs.next(); input && !input.done; input = inputs.next()) {
> > > // each time there is a midi message call the onMIDIMessage function?
> > > input.value.onmidimessage = onMIDIMessage;
> > > }
> > >
> > > And echo it out to the selected port with no undefined message, i have an option list where i select output port. Beside the thing that i can not reach outport "undefined", because it do listen to input port even in win 10.
> > >
> > > I also wonder about the code loop above how can i set a specific port without loop thru with next as above?
> > >
> > > It seem weird that the outport is undefined in win 10 but work fine in win XP, there must be some change to the API between the versions of windows or browser?
> >
> > This is the string i use to set outport, and it do work in XP outportindex is just an integer initiated to outportindex=0, and it seem to initiate just fine using the following string.
> >
> > output = mid.outputs.get(outportindex);
> >
> > But when i try so send messages to it, it is undefined in windows 10?
> > Can you explain again why, and how i can assign the output?
> >
> > So that i can use send to
> > output port.
> >
> > output.send(noteMessage)
> >
> > Because in windows XP, the above work just fine in conjunction with "see below", i really need to understand *WHY* the port is undefined in win 10
> >
> > function onMIDIMessage (message) {
> > playbackPort(message);
> > }
> >
> > function playbackPort(message){
> > var noteMessage = [message.data[0], message.data[1], message.data[2]];
> > output.send(noteMessage);
> > }
>
> As you can see i just try to echo the signal thru from inport to outport, but it is impossible if the outport is not defined. It do read and echo the messages from the inport via console.
I've been looking on this for a month or two on and off, and i will not solve it because i do not understand the problem, can someone explain the problem for me it seem rudimentary but is beyond my ability to grasp?
[toc] | [prev] | [next] | [standalone]
| From | Jonas Thörnvall <jonas.thornvall@gmail.com> |
|---|---|
| Date | 2018-08-15 23:44 -0700 |
| Message-ID | <d31becb9-71f3-4aeb-9281-5d38e9742f74@googlegroups.com> |
| In reply to | #35488 |
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örnvall wrote: > > > > Because so it seemed on win XP, not so much on win 7,8 and 10. > > MIDI implementation on web browsers is still at an early stage, it seems. > > In my Window 7 system, `requestMIDIAccess()` doesn't recognize any port at > all, under both FF Quantum and Chromium. The Windows' own Microsoft Virtual > GS Wavetable Synth doesn't get listed even if I specifically requested > Software synthesizer. > > > Don't ask me how message get a value above because i am baffeled myself... > > 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 play > something. > > > 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. > > > > output.send(noteMessage) undefined... > > `send()` doesn't return anything. So, the value retrieved from that function > call will always be `undefined`. Well i also noted that the GS wavetable not get listed, but it is probably because of latency issues? But of course if you want to make a midiplayer you want it listed as output port.
[toc] | [prev] | [next] | [standalone]
| From | Jonas Thörnvall <jonas.thornvall@gmail.com> |
|---|---|
| Date | 2018-08-15 23:49 -0700 |
| Message-ID | <dc99014a-e63f-45f0-aca7-e4b201aefe63@googlegroups.com> |
| In reply to | #35493 |
Den torsdag 16 augusti 2018 kl. 08:44:42 UTC+2 skrev Jonas Thörnvall: > 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örnvall wrote: > > > > > > Because so it seemed on win XP, not so much on win 7,8 and 10. > > > > MIDI implementation on web browsers is still at an early stage, it seems. > > > > In my Window 7 system, `requestMIDIAccess()` doesn't recognize any port at > > all, under both FF Quantum and Chromium. The Windows' own Microsoft Virtual > > GS Wavetable Synth doesn't get listed even if I specifically requested > > Software synthesizer. > > > > > Don't ask me how message get a value above because i am baffeled myself... > > > > 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 play > > something. > > > > > 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. > > > > > > output.send(noteMessage) undefined... > > > > `send()` doesn't return anything. So, the value retrieved from that function > > call will always be `undefined`. > > Well i also noted that the GS wavetable not get listed, but it is probably 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 looping thru using next. So if your example also show that GREAT I think it really should not be more then 20 lines of code, most of them can be copied straight off examples, but "howto echo to the output port is the challenge"
[toc] | [prev] | [next] | [standalone]
| From | Jonas Thörnvall <jonas.thornvall@gmail.com> |
|---|---|
| Date | 2018-08-16 01:26 -0700 |
| Message-ID | <3543a43e-8fc6-4114-9a8f-b98a82ee7ae1@googlegroups.com> |
| In reply to | #35495 |
Den torsdag 16 augusti 2018 kl. 08:49:38 UTC+2 skrev Jonas Thörnvall: > Den torsdag 16 augusti 2018 kl. 08:44:42 UTC+2 skrev Jonas Thörnvall: > > 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örnvall wrote: > > > > > > > > Because so it seemed on win XP, not so much on win 7,8 and 10. > > > > > > MIDI implementation on web browsers is still at an early stage, it seems. > > > > > > In my Window 7 system, `requestMIDIAccess()` doesn't recognize any port at > > > all, under both FF Quantum and Chromium. The Windows' own Microsoft Virtual > > > GS Wavetable Synth doesn't get listed even if I specifically requested > > > Software synthesizer. > > > > > > > Don't ask me how message get a value above because i am baffeled myself... > > > > > > 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 play > > > something. > > > > > > > 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. > > > > > > > > output.send(noteMessage) undefined... > > > > > > `send()` doesn't return anything. So, the value retrieved from that function > > > call will always be `undefined`. > > > > Well i also noted that the GS wavetable not get listed, but it is probably 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 looping thru using next. So if your example also show that GREAT > > I think it really should not be more then 20 lines of code, most of them can be copied straight off examples, but "howto echo to the output port is the challenge" I would think that echo the midi inport to the outport is roughly to add/change two lines of code, to my example above. First line assign the output port. Second line send a message to it whenever a message event received. input.value.onmidimessage = onMIDIMessage; By using the onMIDIMessage function. HINTS, HELP with the two lines needed. But i am totally clueless howto write them in win 10, anyone?
[toc] | [prev] | [next] | [standalone]
| From | Jonas Thörnvall <jonas.thornvall@gmail.com> |
|---|---|
| Date | 2018-08-17 01:49 -0700 |
| Message-ID | <8f1a3c51-6b07-4381-bdf3-b104fbfcf3a5@googlegroups.com> |
| In reply to | #35496 |
Den torsdag 16 augusti 2018 kl. 10:26:35 UTC+2 skrev Jonas Thörnvall: > Den torsdag 16 augusti 2018 kl. 08:49:38 UTC+2 skrev Jonas Thörnvall: > > Den torsdag 16 augusti 2018 kl. 08:44:42 UTC+2 skrev Jonas Thörnvall: > > > 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örnvall wrote: > > > > > > > > > > Because so it seemed on win XP, not so much on win 7,8 and 10. > > > > > > > > MIDI implementation on web browsers is still at an early stage, it seems. > > > > > > > > In my Window 7 system, `requestMIDIAccess()` doesn't recognize any port at > > > > all, under both FF Quantum and Chromium. The Windows' own Microsoft Virtual > > > > GS Wavetable Synth doesn't get listed even if I specifically requested > > > > Software synthesizer. > > > > > > > > > Don't ask me how message get a value above because i am baffeled myself... > > > > > > > > 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 play > > > > something. > > > > > > > > > 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. > > > > > > > > > > output.send(noteMessage) undefined... > > > > > > > > `send()` doesn't return anything. So, the value retrieved from that function > > > > call will always be `undefined`. > > > > > > Well i also noted that the GS wavetable not get listed, but it is probably 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 looping thru using next. So if your example also show that GREAT > > > > I think it really should not be more then 20 lines of code, most of them can be copied straight off examples, but "howto echo to the output port is the challenge" > > I would think that echo the midi inport to the outport is roughly to add/change two lines of code, to my example above. > First line assign the output port. > Second line send a message to it whenever a message event received. > input.value.onmidimessage = onMIDIMessage; > By using the onMIDIMessage function. > > HINTS, HELP with the two lines needed. > > > But i am totally clueless howto write them in win 10, anyone? An example howto echo midiin port to midiout port please.
[toc] | [prev] | [next] | [standalone]
| From | Flng Fck <nothanks@invalid.invalid> |
|---|---|
| Date | 2018-08-17 16:02 +0200 |
| Message-ID | <pl6kko$60i$1@dont-email.me> |
| In reply to | #35508 |
Il 17/08/2018 10:49, Jonas Thörnvall ha scritto: > Den torsdag 16 augusti 2018 kl. 10:26:35 UTC+2 skrev Jonas Thörnvall: > >> But i am totally clueless howto write them in win 10, anyone? > An example howto echo midiin port to midiout port please. You want fries with that, sir?
[toc] | [prev] | [next] | [standalone]
| From | Jonas Thörnvall <jonas.thornvall@gmail.com> |
|---|---|
| Date | 2018-08-17 11:29 -0700 |
| Message-ID | <68f20a06-b5ff-4bb8-85e8-8221b7234add@googlegroups.com> |
| In reply to | #35513 |
Den fredag 17 augusti 2018 kl. 16:04:14 UTC+2 skrev Flng Fck: > Il 17/08/2018 10:49, Jonas Thörnvall ha scritto: > > Den torsdag 16 augusti 2018 kl. 10:26:35 UTC+2 skrev Jonas Thörnvall: > > > >> But i am totally clueless howto write them in win 10, anyone? > > An example howto echo midiin port to midiout port please. > > > You want fries with that, sir? If that really possible,sure!
[toc] | [prev] | [next] | [standalone]
| From | Jonas Thörnvall <jonas.thornvall@gmail.com> |
|---|---|
| Date | 2018-08-17 11:33 -0700 |
| Message-ID | <e916a73e-b1bb-407f-81d1-b15070819b5c@googlegroups.com> |
| In reply to | #35514 |
Den fredag 17 augusti 2018 kl. 20:29:43 UTC+2 skrev Jonas Thörnvall: > Den fredag 17 augusti 2018 kl. 16:04:14 UTC+2 skrev Flng Fck: > > Il 17/08/2018 10:49, Jonas Thörnvall ha scritto: > > > Den torsdag 16 augusti 2018 kl. 10:26:35 UTC+2 skrev Jonas Thörnvall: > > > > > >> But i am totally clueless howto write them in win 10, anyone? > > > An example howto echo midiin port to midiout port please. > > > > > > You want fries with that, sir? > > If that really possible,sure! But honestly it is two fucking lines of code, if i as casual internet programmer by looking at Google examples could figure out howto do it in win XP ceratinly, some ***semi professional*** programmers of you could figure out howto do it in windows 10. It may be undocumented but it is hardly rocket physics.
[toc] | [prev] | [next] | [standalone]
| From | Jonas Thörnvall <jonas.thornvall@gmail.com> |
|---|---|
| Date | 2018-08-17 11:36 -0700 |
| Message-ID | <7ae7f5b4-269f-42d6-9387-957c0f3f01c4@googlegroups.com> |
| In reply to | #35515 |
Den fredag 17 augusti 2018 kl. 20:34:00 UTC+2 skrev Jonas Thörnvall: > Den fredag 17 augusti 2018 kl. 20:29:43 UTC+2 skrev Jonas Thörnvall: > > Den fredag 17 augusti 2018 kl. 16:04:14 UTC+2 skrev Flng Fck: > > > Il 17/08/2018 10:49, Jonas Thörnvall ha scritto: > > > > Den torsdag 16 augusti 2018 kl. 10:26:35 UTC+2 skrev Jonas Thörnvall: > > > > > > > >> But i am totally clueless howto write them in win 10, anyone? > > > > An example howto echo midiin port to midiout port please. > > > > > > > > > You want fries with that, sir? > > > > If that really possible,sure! > > But honestly it is two fucking lines of code, if i as casual internet programmer by looking at Google examples could figure out howto do it in win XP ceratinly, some ***semi professional*** programmers of you could figure out howto do it in windows 10. It may be undocumented but it is hardly rocket physics. Unfortunately i just know to little about Javascript semantic and OO programming to figure it out. But the idiots that made up the contrieved syntax for it certainly should? If not they should be ashamed.
[toc] | [prev] | [next] | [standalone]
| From | Jonas Thörnvall <jonas.thornvall@gmail.com> |
|---|---|
| Date | 2018-08-19 11:22 -0700 |
| Message-ID | <be079dc5-908a-4782-b2b1-4daaec95b5b2@googlegroups.com> |
| In reply to | #35513 |
Den fredag 17 augusti 2018 kl. 16:04:14 UTC+2 skrev Flng Fck: > Il 17/08/2018 10:49, Jonas Thörnvall ha scritto: > > Den torsdag 16 augusti 2018 kl. 10:26:35 UTC+2 skrev Jonas Thörnvall: > > > >> But i am totally clueless howto write them in win 10, anyone? > > An example howto echo midiin port to midiout port please. > > > You want fries with that, sir? So still waiting for the two lines and the fries....
[toc] | [prev] | [next] | [standalone]
| From | "Evertjan." <exxjxw.hannivoort@inter.nl.net> |
|---|---|
| Date | 2018-08-19 22:52 +0200 |
| Message-ID | <XnsA943E8C356E8Aeejj99@194.109.6.166> |
| In reply to | #35528 |
<jonas.thornvall@gmail.com> wrote on 19 Aug 2018 in comp.lang.javascript: > So still waiting for the two lines This is the first one, next one below. > and the fries.... Isn't that American for potato-chips? -- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress)
[toc] | [prev] | [next] | [standalone]
Page 1 of 2 [1] 2 Next page →
Back to top | Article view | comp.lang.javascript
csiph-web