midi from score and live
Date | 2015-12-24 09:32 |
From | Richard |
Subject | midi from score and live |
Every now and then I'm struggeling with midi in Csound. I have a score with velocity as p4 and midinote as p5. The score plays fine with the following sample (instrument 11):
ifreq = cpsmidinn(p5) print ifreq iamp = p4/127
kenv madsr 0.001, 0, .8, 0.2 isin ftgenonce 0, 0, 65536, 10, 1 avco vco iamp, ifreq, 1, 0.5, isin But live midi does nothing. CsoundQt shows midi events coming in:
midiKey: pfield: 5 value: 74 midiVelocity: pfield: 4 value: 67 rtevent: T 9.578 TT 9.578 M: 0.00000 0.00000 rtevent: T 9.718 TT 9.718 M: 0.00000 0.00000 but the 'print ifreq' is not executed, only via the score. I have massign 1,11 and flags:
--midi-key=5 --midi-velocity=4 -odac -d -O null --midi-device=0 |
Date | 2015-12-24 11:38 |
From | Victor Lazzarini |
Subject | Re: midi from score and live |
CsoundQT uses its own midi backend. Check in the preferences that you are selecting the correct device. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy Maynooth University Ireland
|
Date | 2015-12-24 12:06 |
From | Richard |
Subject | Re: midi from score and live |
Well, I tried many possible settings there, to no avail. And, as I said, midi events can be seen coming in to the output console. But somehow they are not passed on to the correct instrument (11), although I have 'massign 1,11' Richard On 24/12/15 12:38, Victor Lazzarini
wrote:
|
Date | 2015-12-24 12:13 |
From | Victor Lazzarini |
Subject | Re: midi from score and live |
Could you post a test CSD for us to try? ======================== Dr 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 24 Dec 2015, at 12:06, Richard |
Date | 2015-12-24 12:16 |
From | Richard |
Subject | Re: midi from score and live |
That is the same one I sent you just now for the UDO problem. On 24/12/15 13:13, Victor Lazzarini wrote: > Could you post a test CSD for us to try? > ======================== > Dr 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 24 Dec 2015, at 12:06, Richard |
Date | 2015-12-24 12:22 |
From | Victor Lazzarini |
Subject | Re: midi from score and live |
I’ve opened the CsoundQT virtual keyboard and it plays correctly (as far as I can hear). ======================== Dr 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 24 Dec 2015, at 12:16, Richard |
Date | 2015-12-24 12:28 |
From | Richard |
Subject | Re: midi from score and live |
Here too. That's weird. Ok thanks. On 24/12/15 13:22, Victor Lazzarini wrote: > I’ve opened the CsoundQT virtual keyboard and it plays correctly (as far as I can hear). > ======================== > Dr 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 24 Dec 2015, at 12:16, Richard |
Date | 2015-12-25 09:48 |
From | Richard |
Subject | Re: midi from score and live |
It looks like massign is not doing its job. When I change instrument 11 to instr 1, I get midi to trigger it (the default). Richard On 24/12/15 13:28, Richard wrote: > Here too. That's weird. Ok thanks. > > On 24/12/15 13:22, Victor Lazzarini wrote: >> I’ve opened the CsoundQT virtual keyboard and it plays correctly (as >> far as I can hear). >> ======================== >> Dr 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 24 Dec 2015, at 12:16, Richard |
Date | 2015-12-25 10:30 |
From | Richard |
Subject | Re: midi from score and live |
My conclusion was probably wrong. When I change the massign to 0,11 (so all midi channels to instr 11) midi triggering also works. I am using my Nord G2 now as midi keyboard, so it might not be sending on channel 1 in this setting.... Richard On 25/12/15 10:48, Richard wrote: > It looks like massign is not doing its job. > When I change instrument 11 to instr 1, I get midi to trigger it (the > default). > > Richard > > On 24/12/15 13:28, Richard wrote: >> Here too. That's weird. Ok thanks. >> >> On 24/12/15 13:22, Victor Lazzarini wrote: >>> I’ve opened the CsoundQT virtual keyboard and it plays correctly (as >>> far as I can hear). >>> ======================== >>> Dr 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 24 Dec 2015, at 12:16, Richard |
Date | 2015-12-30 19:48 |
From | joachim heintz |
Subject | Re: midi from score and live |
you can use in csoundqt: Examples > Useful > MIDI IO Test to see on which channel it sends data. joachim On 25/12/15 11:30, Richard wrote: > My conclusion was probably wrong. When I change the massign to 0,11 (so > all midi channels to instr 11) midi triggering also works. > I am using my Nord G2 now as midi keyboard, so it might not be sending > on channel 1 in this setting.... > > Richard > > On 25/12/15 10:48, Richard wrote: >> It looks like massign is not doing its job. >> When I change instrument 11 to instr 1, I get midi to trigger it (the >> default). >> >> Richard >> >> On 24/12/15 13:28, Richard wrote: >>> Here too. That's weird. Ok thanks. >>> >>> On 24/12/15 13:22, Victor Lazzarini wrote: >>>> I’ve opened the CsoundQT virtual keyboard and it plays correctly (as >>>> far as I can hear). >>>> ======================== >>>> Dr 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 24 Dec 2015, at 12:16, Richard |