Csound Csound-dev Csound-tekno Search About

midi from score and live

Date2015-12-24 09:32
FromRichard
Subjectmidi 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


Date2015-12-24 11:38
FromVictor Lazzarini
SubjectRe: 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

On 24 Dec 2015, at 09:32, Richard <zappfinger@GMAIL.COM> wrote:

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

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

Date2015-12-24 12:06
FromRichard
SubjectRe: 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:
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

On 24 Dec 2015, at 09:32, Richard <zappfinger@GMAIL.COM> wrote:

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

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

Date2015-12-24 12:13
FromVictor Lazzarini
SubjectRe: 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  wrote:
> 
> 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:
>> 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
>> 
>> On 24 Dec 2015, at 09:32, Richard  wrote:
>> 
>>> 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
>>> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports tohttps://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 tohttps://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 tohttps://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

Date2015-12-24 12:16
FromRichard
SubjectRe: 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  wrote:
>>
>> 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:
>>> 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
>>>
>>> On 24 Dec 2015, at 09:32, Richard  wrote:
>>>
>>>> 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
>>>> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports tohttps://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 tohttps://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 tohttps://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

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

Date2015-12-24 12:22
FromVictor Lazzarini
SubjectRe: 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  wrote:
> 
> 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  wrote:
>>> 
>>> 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:
>>>> 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
>>>> 
>>>> On 24 Dec 2015, at 09:32, Richard  wrote:
>>>> 
>>>>> 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
>>>>> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports tohttps://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 tohttps://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 tohttps://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
> 
> 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

Date2015-12-24 12:28
FromRichard
SubjectRe: 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  wrote:
>>
>> 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  wrote:
>>>>
>>>> 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:
>>>>> 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
>>>>>
>>>>> On 24 Dec 2015, at 09:32, Richard  wrote:
>>>>>
>>>>>> 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
>>>>>> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports tohttps://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 tohttps://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 tohttps://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
>> 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

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

Date2015-12-25 09:48
FromRichard
SubjectRe: 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  wrote:
>>>
>>> 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  wrote:
>>>>>
>>>>> 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:
>>>>>> 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
>>>>>>
>>>>>> On 24 Dec 2015, at 09:32, Richard  wrote:
>>>>>>
>>>>>>> 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
>>>>>>> Csound mailing list Csound@listserv.heanet.ie 
>>>>>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs 
>>>>>>> reports tohttps://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 
>>>>>> tohttps://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 
>>>>> tohttps://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
>>> 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
>

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

Date2015-12-25 10:30
FromRichard
SubjectRe: 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  wrote:
>>>>
>>>> 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  wrote:
>>>>>>
>>>>>> 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:
>>>>>>> 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
>>>>>>>
>>>>>>> On 24 Dec 2015, at 09:32, Richard  wrote:
>>>>>>>
>>>>>>>> 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
>>>>>>>> Csound mailing list Csound@listserv.heanet.ie 
>>>>>>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs 
>>>>>>>> reports tohttps://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 tohttps://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 
>>>>>> tohttps://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
>>>> 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
>>
>

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

Date2015-12-30 19:48
Fromjoachim heintz
SubjectRe: 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  wrote:
>>>>>
>>>>> 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  wrote:
>>>>>>>
>>>>>>> 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:
>>>>>>>> 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
>>>>>>>>
>>>>>>>> On 24 Dec 2015, at 09:32, Richard  wrote:
>>>>>>>>
>>>>>>>>> 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
>>>>>>>>> Csound mailing list Csound@listserv.heanet.ie
>>>>>>>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs
>>>>>>>>> reports tohttps://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 tohttps://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
>>>>>>> tohttps://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
>>>>> 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
>>>
>>
>
> 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