[Csnd] Android javascript web midi API
| Date | 2018-07-25 11:25 |
| From | vallste <00000008a49663bc-dmarc-request@LISTSERV.HEANET.IE> |
| Subject | [Csnd] Android javascript web midi API |
Hello,
I've understood that midi driver (realtime reading of hardware ports) in
csound for android is not yet available.
My plan is to connect a midi controller (a behringer pedalboard) via and
midi to usb cable to an OTG adapter to control a csd program, read the
messages with javascript web midi api and pass them to csound via software
channels.
Can someone tell me if is possible with the csound for android apk?
Is the javascript web midi api integrated in the html part of the app?
Thank you in advance
Stefano
--
Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |
| Date | 2018-07-27 21:36 |
| From | Steven Yi |
| Subject | Re: [Csnd] Android javascript web midi API |
Hi Stefano,
Have you thought about making Web page with WebMIDI and WebAudio
Csound? That should work fine on Desktop and I believe would work on
Android Chrome (though, I haven't tested, but the searches I looked at
seemed to hint it would).
I have a test web page for WebMIDI and WebAudio Csound:
https://kunstmusik.github.io/csound-audioworklet/midiInputTest.html
This works here for me testing on Desktop using loopMIDI to drive the
Csound web page from Charlie Roberts' Gibberwocky.MIDI web app. You
could try connecting your MIDI keyboard, then opening that web page in
Android Chrome to see if that responds. (You might try
https://www.webaudiomodules.org/ synths as well to see if the WebMIDI
works.)
steven
On Wed, Jul 25, 2018 at 6:25 AM vallste
<00000008a49663bc-dmarc-request@listserv.heanet.ie> wrote:
>
> Hello,
> I've understood that midi driver (realtime reading of hardware ports) in
> csound for android is not yet available.
> My plan is to connect a midi controller (a behringer pedalboard) via and
> midi to usb cable to an OTG adapter to control a csd program, read the
> messages with javascript web midi api and pass them to csound via software
> channels.
> Can someone tell me if is possible with the csound for android apk?
> Is the javascript web midi api integrated in the html part of the app?
>
> Thank you in advance
> Stefano
>
>
>
> --
> Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
> https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |
| Date | 2018-07-28 14:23 |
| From | 00000008a49663bc-dmarc-request@LISTSERV.HEANET.IE |
| Subject | Re: [Csnd] Android javascript web midi API |
| Attachments | midi_js.csd |
|
Hi Steven, thanks for the hint, i dont understand what to do with the link you provided, looks like a white page with the output log of csound. I can not interact with it nor see any change when I play with my midi controller (on Android using chrome). The good news (at least for me) is that seems that I can use the web midi api in csound for android to have a realtime midi input (see attachment). Stefano
|
| Date | 2018-07-28 16:25 |
| From | Steven Yi |
| Subject | Re: [Csnd] Android javascript web midi API |
Hi Stefano, Just as I mentioned, the web pages could be used to test WebMIDI in the standard Android Chrome browser. If so, then you could make web pages that work on Desktop and Mobile browsers, as those test links work on desktop Chrome (here at least). Anyways, glad things worked out for you! steven On Sat, Jul 28, 2018 at 9:23 AM <00000008a49663bc-dmarc-request@listserv.heanet.ie> wrote: > > Hi Steven, > > thanks for the hint, i dont understand what to do with the link you provided, looks like a white page with the output log of csound. I can not interact with it nor see any change when I play with my midi controller (on Android using chrome). > > The good news (at least for me) is that seems that I can use the web midi api in csound for android to have a realtime midi input (see attachment). > > Stefano > > > Il 27 luglio 2018 alle 22.36 Steven Yi |