| "Dr. Richard Boulanger" writes:
> Thanks Jonathan,
>
> Appreciate your help very much.
No worries.
>
> Interesting to note that when you get a controller message - kstatus
> 176, the controller value comes in as kdata2. I am not sure that
> this is correct for MIDI.
I'm pretty sure that it's correct.
> Also, when you receive midiin on a different midi channel, then the
> kstatus byte should change. Our csound midiin opcode does not
> actually pass raw midiin (as I think it should)
I'm not sure that I understand. Isn't midiin just parsing the raw midi
data and putting it into a more easily manipulated format? In raw midi
terms the status byte has two nibbles, kstatus gives you the value of
the high nibble, kchan the low, so you don't have to deal with hex or
splitting the byte into its useful components. This seems to me to be
a good idea. :)
J.
>
> -dr.B.
>
>
>
> On Nov 5, 2006, at 11:17 PM, Jonathan Murphy wrote:
>
>>
>> Hi Dr Boulanger,
>>
>> I'm using todays cvs, midiin seems to be working properly. I've
>> modified your test instrument a little so that it doesn't print
>> constantly and is easier to follow (the output to the console, I mean,
>> not the instr text). The main thing is though that I've assigned all
>> channels and all programs to instr 1, which I'm hoping will solve
>> things for you. It's only printing when you send a pgm change or cc
>> message, but you could easily modify that for further testing.
>>
>> J.
>>
>>
>>
>>
>> -+rtaudio=jack -+rtmidi=alsa -Mhw:1,0 -d -m0 --expression-opt --
>> sched -b64 -3 -+jack_client=midiin_test -odac
>>
>>
>>
>>
>> sr = 48000
>> ksmps = 8
>> nchnls = 1
>>
>> massign 0, 1 ; make sure that all channels
>> pgmassign 0, 1 ; and programs are assigned to test instr
>>
>> instr 1
>>
>> kstatus, kchan, kdata1, kdata2 midiin
>>
>> if (kstatus == 176) then
>> printks "kstatus= %f, kchan = %f, kdata1 = %f, kdata2 = %f \\n",
>> 0, kstatus, kchan, kdata1, kdata2
>> elseif (kstatus == 192) then
>> printks "kstatus= %f, kchan = %f, kdata1 = %f, kdata2 = %f \\n",
>> 0, kstatus, kchan, kdata1, kdata2
>> endif
>>
>> endin
>>
>>
>>
>>
>> i1 0 1000
>> e
>>
>>
>>
>>
>>
>>
>>
>> "Dr. Richard Boulanger" writes:
>>
>>> status of 144 is channel 1
>>> status of 145 is midi channel 2.
>>>
>>> when you change the channel on the keyboard, it still shows the
>>> status of 144
>>>
>>> AND more importantly,
>>>
>>> there is no status byte shown when you send a program change message.
>>>
>>> -dB
>>>
>>> On Nov 5, 2006, at 9:03 PM, Dr. Richard Boulanger wrote:
>>>
>>>> Help,
>>>>
>>>> I need a working midiin opcode.
>>>>
>>>> With the following orchestra, you will see that it does not return
>>>> the correct status message or any status message for that matter.
>>>>
>>>> -dB
>>>>
>>>>
>>>>
>>>> -odac -+rtaudio=CoreAudio -+rtmidi=virtual -M0
>>>>
>>>>
>>>> sr = 44100
>>>> kr = 441
>>>> ksmps = 100
>>>> nchnls = 1
>>>>
>>>> instr 1
>>>> kstatus, kchan, kdata1, kdata2 midiin
>>>> printks "kstatus= %f, kchan = %f, kdata1 = %f, kdata2 = %f \\n", 1,
>>>> kstatus, kchan, kdata1, kdata2
>>>> endin
>>>>
>>>>
>>>> i1 0 1000
>>>> e
>>>>
>>>>
>>>>
>>>> --------------------------------------------------------------------
>>>> --
>>>> ---
>>>> Using Tomcat but need to do more? Need to support web services,
>>>> security?
>>>> Get stuff done quickly with pre-integrated technology to make your
>>>> job easier
>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>>>> Geronimo
>>>> http://sel.as-us.falkag.net/sel?
>>>> cmd=lnk&kid=120709&bid=263057&dat=121642
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>> ---------------------------------------------------------------------
>>> ----
>>> Using Tomcat but need to do more? Need to support web services,
>>> security?
>>> Get stuff done quickly with pre-integrated technology to make your
>>> job easier
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>>> Geronimo
>>> http://sel.as-us.falkag.net/sel?
>>> cmd=lnk&kid=120709&bid=263057&dat=121642
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> ----------------------------------------------------------------------
>> ---
>> Using Tomcat but need to do more? Need to support web services,
>> security?
>> Get stuff done quickly with pre-integrated technology to make your
>> job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
>> http://sel.as-us.falkag.net/sel?
>> cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |