[Csnd] rtmidi in WASM
Date | 2018-01-28 13:02 |
From | Hlöðver Sigurðsson |
Subject | [Csnd] rtmidi in WASM |
I'm playing with my midi keybord in the browser wasm, I'm pretty sure the function CsoundObj_pushMidiMessage is being called, doing console.log I get the bytes as well. All seems good, except that the events won't trigger any instruments (massign 0,1 is there as well). Guessing -+rtmidi= is missing? Has someone been able to send midi messages from devices into csound to trigger events?
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
Best, Hlödver |
Date | 2018-01-28 13:09 |
From | Hlöðver Sigurðsson |
Subject | Re: [Csnd] rtmidi in WASM |
Nevermind, found it Answer is -+rtmidi=null -M0 :) On 28 January 2018 at 14:02, Hlöðver Sigurðsson <hlolli@gmail.com> wrote:
|
Date | 2018-01-28 13:37 |
From | Victor Lazzarini |
Subject | Re: [Csnd] rtmidi in WASM |
I don’t know about CsoundObj direct support for MIDI but if you use csound.js the MIDI functions in there should do what you need.
There is a html example included.
Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland
|
Date | 2018-01-28 15:03 |
From | Andrea Strappa |
Subject | Re: [Csnd] rtmidi in WASM |
About this way of rtmidi communication, that I don't know, is there a complete example or complete tutorial? Andrea S. Il 28/01/2018 14:37, Victor Lazzarini
ha scritto:
|
Date | 2018-01-28 16:25 |
From | Victor Lazzarini |
Subject | Re: [Csnd] rtmidi in WASM |
you’re right there is no example, and I thought there was one. I will think of something. ======================== Prof. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 28 Jan 2018, at 15:03, Andrea Strappa |
Date | 2018-01-28 16:31 |
From | Victor Lazzarini |
Subject | Re: [Csnd] rtmidi in WASM |
I think only -M0, -+rtmidi=null is already implied on WASM (afaik) ======================== Prof. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 28 Jan 2018, at 13:09, Hlöðver Sigurðsson |
Date | 2018-01-28 16:43 |
From | Hlöðver Sigurðsson |
Subject | Re: [Csnd] rtmidi in WASM |
This whole thread seems to hint to that my reply to the mailing list did not deliver :/ 7 minutes after my original post I replied: ``` Nevermind, found it Answer is -+rtmidi=null -M0 :) ``` On 28 January 2018 at 17:31, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote: I think only -M0, |
Date | 2018-01-28 17:04 |
From | Victor Lazzarini |
Subject | Re: [Csnd] rtmidi in WASM |
It did deliver. All I am saying is that -+rtmidi=null is not needed. With the very latest, neither -M0 is needed. ======================== Prof. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 28 Jan 2018, at 16:43, Hlöðver Sigurðsson |