Csound Csound-dev Csound-tekno Search About

[Csnd] chnl mode msg 125 not implemented

Date2024-10-09 10:42
FromPhilipp Neumann <0000119f78f3a4f9-dmarc-request@LISTSERV.HEANET.IE>
Subject[Csnd] chnl mode msg 125 not implemented
Hello everybody,

via the midiin opcode i get this

chnl mode msg 125 not implemented

when i use my midi controller with cc number 125.
Is there a bug inside this opcode?

This is my instrument and i use a faderfox ec4 on channel 1



-m0 -d -+rtmidi=PortMIDI -Ma 


; global variables
sr = 44100
ksmps = 128
nchnls = 2
;-----------------
; more global variables
;--------------
gkstatus	init	0
gkchan	init 	0
gkdata1	init	0
gkdata2	init	0

massign 0, 3

;-------- instruments -------
instr 1
  ;ires system_i 1, {{rm test.aif}}
  gkstatus, gkchan, gkdata1, gkdata2 midiin
  ktrig changed gkstatus, gkchan, gkdata1, gkdata2
  schedkwhen ktrig, 0, 0, 2, 0, 0.01
endin

instr 2
  istatus	=	i(gkstatus)	 
  ichan	= 	i(gkchan)
  idata1	=	i(gkdata1)
  idata2	=	i(gkdata2)
  prints	"status=%d\\t chan=%d\\t data1=%d\\t data2=%d\\n", istatus, ichan, idata1, idata2
endin

instr 3
  ival notnum
  prints "\\n\\nnote number: %d\\n", ival
    turnoff
endin



;f1 0 512 10 1
i1 0 60000


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

Date2024-10-09 10:55
Fromvlz
SubjectRe: [Csnd] chnl mode msg 125 not implemented
Not a bug. Midi CC 125 is reserved for omni mode setting, which is not implemented by Csound.
Prof. Victor Lazzarini
Maynooth University
Ireland

> On 9 Oct 2024, at 10:42, Philipp Neumann <0000119f78f3a4f9-dmarc-request@listserv.heanet.ie> wrote:
> 
> Hello everybody,
> 
> via the midiin opcode i get this
> 
> chnl mode msg 125 not implemented
> 
> when i use my midi controller with cc number 125.
> Is there a bug inside this opcode?
> 
> This is my instrument and i use a faderfox ec4 on channel 1
> 
> 
> 
> -m0 -d -+rtmidi=PortMIDI -Ma
> 
> 
> ; global variables
> sr = 44100
> ksmps = 128
> nchnls = 2
> ;-----------------
> ; more global variables
> ;--------------
> gkstatus    init    0
> gkchan    init    0
> gkdata1    init    0
> gkdata2    init    0
> 
> massign 0, 3
> 
> ;-------- instruments -------
> instr 1
>  ;ires system_i 1, {{rm test.aif}}
>  gkstatus, gkchan, gkdata1, gkdata2 midiin
>  ktrig changed gkstatus, gkchan, gkdata1, gkdata2
>  schedkwhen ktrig, 0, 0, 2, 0, 0.01
> endin
> 
> instr 2
>  istatus    =    i(gkstatus)    
>  ichan    =    i(gkchan)
>  idata1    =    i(gkdata1)
>  idata2    =    i(gkdata2)
>  prints    "status=%d\\t chan=%d\\t data1=%d\\t data2=%d\\n", istatus, ichan, idata1, idata2
> endin
> 
> instr 3
>  ival notnum
>  prints "\\n\\nnote number: %d\\n", ival
>    turnoff
> endin
> 
> 
> 
> ;f1 0 512 10 1
> i1 0 60000
> 
> 
> 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

Date2024-10-09 11:29
FromPhilipp Neumann <0000119f78f3a4f9-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd] chnl mode msg 125 not implemented
Thanks for clarifying!

> Am 09.10.2024 um 11:55 schrieb vlz :
> 
> Not a bug. Midi CC 125 is reserved for omni mode setting, which is not implemented by Csound.
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
> 
>> On 9 Oct 2024, at 10:42, Philipp Neumann <0000119f78f3a4f9-dmarc-request@listserv.heanet.ie> wrote:
>> 
>> Hello everybody,
>> 
>> via the midiin opcode i get this
>> 
>> chnl mode msg 125 not implemented
>> 
>> when i use my midi controller with cc number 125.
>> Is there a bug inside this opcode?
>> 
>> This is my instrument and i use a faderfox ec4 on channel 1
>> 
>> 
>> 
>> -m0 -d -+rtmidi=PortMIDI -Ma
>> 
>> 
>> ; global variables
>> sr = 44100
>> ksmps = 128
>> nchnls = 2
>> ;-----------------
>> ; more global variables
>> ;--------------
>> gkstatus    init    0
>> gkchan    init    0
>> gkdata1    init    0
>> gkdata2    init    0
>> 
>> massign 0, 3
>> 
>> ;-------- instruments -------
>> instr 1
>> ;ires system_i 1, {{rm test.aif}}
>> gkstatus, gkchan, gkdata1, gkdata2 midiin
>> ktrig changed gkstatus, gkchan, gkdata1, gkdata2
>> schedkwhen ktrig, 0, 0, 2, 0, 0.01
>> endin
>> 
>> instr 2
>> istatus    =    i(gkstatus)    
>> ichan    =    i(gkchan)
>> idata1    =    i(gkdata1)
>> idata2    =    i(gkdata2)
>> prints    "status=%d\\t chan=%d\\t data1=%d\\t data2=%d\\n", istatus, ichan, idata1, idata2
>> endin
>> 
>> instr 3
>> ival notnum
>> prints "\\n\\nnote number: %d\\n", ival
>>   turnoff
>> endin
>> 
>> 
>> 
>> ;f1 0 512 10 1
>> i1 0 60000
>> 
>> 
>> 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