Csound Csound-dev Csound-tekno Search About

[Csnd] NRPNs

Date2021-08-20 22:19
FromVictor Lazzarini
Subject[Csnd] NRPNs
While responding to a ticket a few weeks ago, I noticed that Csound reserves the use of four CC numbers for NRPNs and RPNs. 

It made me wonder if there's anything we could do with this functionality, and if so, in what form. Does anyone have ideas about this?

In HW synths generally there is a table of NPRNs that are responded to, but not sure what we could do within the Csound context that is not already possible with other means.

As far as I can see four CC messages are sent for each NPRN parameter change. Two identify the parameter and two carry the data value (numbers are 14bit long).


Prof. Victor Lazzarini
Maynooth University
Ireland
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

Date2021-08-20 23:58
FromPete Goodeve
SubjectRe: [Csnd] NRPNs
AttachmentsNone  

Date2021-08-21 00:25
FromVictor Lazzarini
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] NRPNs
As far as I can see, there is no handling of NRPNs anywhere, but CCs 98-101 are not read as CCs but placed in a separate location. The opcodes ctl7 etc do not see messages coming in these CCs. Of course midiin does.

I can't change this because it may break some Csound code somewhere, so removing them is not an option, but I don't have an immediate idea how to offer NRPN functionality.

Maybe simply something like

kout nprn ipar

where ipar is a user given nprn in the 14-bit range, and kout is the value sent also in the same range.

Or 

kout nprn imsb, ilsb

where parameter is given as an imsb ilsb pair, which may be easier in some cases.


Prof. Victor Lazzarini
Maynooth University
Ireland

> On Aug 20, 2021, at 11:58 PM, Pete Goodeve  wrote:
> 
> *Warning*
> 
> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
> 
>> On Fri, Aug 20, 2021 at 09:19:38PM +0000, Victor Lazzarini wrote:
>> While responding to a ticket a few weeks ago, I noticed that Csound reserves the use of four CC numbers for NRPNs and RPNs.
> 
> These are standard, so probably should be there.  I use the "Fine Tune" NRPN codes
> myself to retune my live playing when I'm playing along with some older recordings.
>> 
>> It made me wonder if there's anything we could do with this functionality, and if so, in what form. Does anyone have ideas about this?
>> 
>> In HW synths generally there is a table of NPRNs that are responded to, but not sure what we could do within the Csound context that is not already possible with other means.
> 
> See above... (:-))  Rather essential for me a lot of the time.
>> 
> Actually there seem to be a number of "special actions" that I'm not sure are relevant
> at all. I remember being very confused with the "Unknown Drum Parameter..." error.
> (Can't remember exactly what I was trying to do.)  If Csound itself has no special
> response to these NRPNs that code should probably just be removed.
> 
>        -- Pete --
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7Cde4fe0be403841e2e48608d9642e0716%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C1%7C637650971131873651%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=R6qidFBlRGnUBgvWQvfMqQKfe%2FU5WbLaS7bWhQ0c9jE%3D&reserved=0
> Send bugs reports to
>        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7Cde4fe0be403841e2e48608d9642e0716%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C1%7C637650971131883651%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=RZRd3uKD8OU%2BpxLRNLxaumz%2BdcJXVwJfuI42S3vltL8%3D&reserved=0
> 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

Date2021-08-21 19:13
From"Jeanette C."
SubjectRe: [Csnd] NRPNs
Hi Victor,
Aug 20 2021, Victor Lazzarini has written:
...
> It made me wonder if there's anything we could do with this functionality, and if so, in what form. Does anyone have ideas about this?
...
It would be nice if there was a secondary version of midiin which would
allow for more status messages or have an additional k-rate output to
signal the arrival of NRPN/RPN parameters. I have a roughly working UDO
to parse NRPNs and RPNs, but it can get a little frisky.

AFAIK HW synth may only send part of an NRPN/RPN message, especially if
it is just a value change of the previous control. I don't know how far
this goes. The Yoshimi team looked into that. Though I haven't seen it
on any of my synths.

Best wishes,

Jeanette

-- 
  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

Loneliness up ahead, emptiness behind <3
(Britney Spears)

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

Date2021-08-21 19:58
FromVictor Lazzarini
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] NRPNs
What do you mean about "more status messages"? 

Since NRPN/RPN are basically CC messages bundled together, maybe a specific opcode (as we have for other messages) to receive these may be appropriate.


Prof. Victor Lazzarini
Maynooth University
Ireland

> On Aug 21, 2021, at 7:13 PM, Jeanette C.  wrote:
> 
> *Warning*
> 
> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
> 
> Hi Victor,
> Aug 20 2021, Victor Lazzarini has written:
> ...
>> It made me wonder if there's anything we could do with this functionality, and if so, in what form. Does anyone have ideas about this?
> ...
> It would be nice if there was a secondary version of midiin which would
> allow for more status messages or have an additional k-rate output to
> signal the arrival of NRPN/RPN parameters. I have a roughly working UDO
> to parse NRPNs and RPNs, but it can get a little frisky.
> 
> AFAIK HW synth may only send part of an NRPN/RPN message, especially if
> it is just a value change of the previous control. I don't know how far
> this goes. The Yoshimi team looked into that. Though I haven't seen it
> on any of my synths.
> 
> Best wishes,
> 
> Jeanette
> 
> --
> * Website: https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjuliencoder.de%2F&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C56eecdf9b8cf40ff1cd408d964cf68d3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651664266321741%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=QT9nVf91lmodCUAOQwDGG73UhLWM2Ev%2B%2FVnGB3CpVgE%3D&reserved=0 - for summer is a state of sound
> * Youtube: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Fchannel%2FUCMS4rfGrTwz8W7jhC1Jnv7g&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C56eecdf9b8cf40ff1cd408d964cf68d3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651664266331735%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=9%2FMM3xt8Nsb3BVdw6PdmWhTQvVWHPF4X4%2BepI71yE9A%3D&reserved=0
> * Audiobombs: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.audiobombs.com%2Fusers%2Fjeanette_c&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C56eecdf9b8cf40ff1cd408d964cf68d3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651664266331735%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ntULBGTOAUma4QRab4%2Be34vavlxT6luBAmHTG6Pd7IY%3D&reserved=0
> * GitHub: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjeanette-c&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C56eecdf9b8cf40ff1cd408d964cf68d3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651664266331735%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=1rtHdEOkycAHP%2BTEh5c07nV%2BGiQV1L8HthT6SSaJBGA%3D&reserved=0
> 
> Loneliness up ahead, emptiness behind <3
> (Britney Spears)
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C56eecdf9b8cf40ff1cd408d964cf68d3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651664266331735%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=6OeH2W0jdYxMN2jRHJCszEt%2BgVnVQ8rz%2B0MU5%2BpU3rQ%3D&reserved=0
> Send bugs reports to
>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C56eecdf9b8cf40ff1cd408d964cf68d3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651664266331735%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=rJYbgoZQZzh7iDkmnrGTg4MsWIP92GKSDuv7qnU49KE%3D&reserved=0
> 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

Date2021-08-21 20:22
From"Jeanette C."
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] NRPNs
By additional status message I mean perhaps an extra k-rate parameter that can 
signify a standard CC, RPN or NRPN, although kstatus could also do that with 
higher or lower values. Yes, these parameters are constructed, but it's 
helpful to get them parsed.

It is also helpful to receive all CCs, RPNs and NRPNs in one opcode, since 
there are a few hardware synthesizers that will send CCs and RPNs/NRPNs. A 
simple matter of convenience.

Best wishes,

Jeanette

Aug 21 2021, Victor Lazzarini has written:

> What do you mean about "more status messages"?
>
> Since NRPN/RPN are basically CC messages bundled together, maybe a specific opcode (as we have for other messages) to receive these may be appropriate.
>
>
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
>
>> On Aug 21, 2021, at 7:13 PM, Jeanette C.  wrote:
>>
>> *Warning*
>>
>> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
>>
>> Hi Victor,
>> Aug 20 2021, Victor Lazzarini has written:
>> ...
>>> It made me wonder if there's anything we could do with this functionality, and if so, in what form. Does anyone have ideas about this?
>> ...
>> It would be nice if there was a secondary version of midiin which would
>> allow for more status messages or have an additional k-rate output to
>> signal the arrival of NRPN/RPN parameters. I have a roughly working UDO
>> to parse NRPNs and RPNs, but it can get a little frisky.
>>
>> AFAIK HW synth may only send part of an NRPN/RPN message, especially if
>> it is just a value change of the previous control. I don't know how far
>> this goes. The Yoshimi team looked into that. Though I haven't seen it
>> on any of my synths.
>>
>> Best wishes,
>>
>> Jeanette
>>
>> --
>> * Website: https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjuliencoder.de%2F&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C56eecdf9b8cf40ff1cd408d964cf68d3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651664266321741%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=QT9nVf91lmodCUAOQwDGG73UhLWM2Ev%2B%2FVnGB3CpVgE%3D&reserved=0 - for summer is a state of sound
>> * Youtube: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Fchannel%2FUCMS4rfGrTwz8W7jhC1Jnv7g&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C56eecdf9b8cf40ff1cd408d964cf68d3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651664266331735%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=9%2FMM3xt8Nsb3BVdw6PdmWhTQvVWHPF4X4%2BepI71yE9A%3D&reserved=0
>> * Audiobombs: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.audiobombs.com%2Fusers%2Fjeanette_c&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C56eecdf9b8cf40ff1cd408d964cf68d3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651664266331735%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ntULBGTOAUma4QRab4%2Be34vavlxT6luBAmHTG6Pd7IY%3D&reserved=0
>> * GitHub: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjeanette-c&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C56eecdf9b8cf40ff1cd408d964cf68d3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651664266331735%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=1rtHdEOkycAHP%2BTEh5c07nV%2BGiQV1L8HthT6SSaJBGA%3D&reserved=0
>>
>> Loneliness up ahead, emptiness behind <3
>> (Britney Spears)
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C56eecdf9b8cf40ff1cd408d964cf68d3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651664266331735%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=6OeH2W0jdYxMN2jRHJCszEt%2BgVnVQ8rz%2B0MU5%2BpU3rQ%3D&reserved=0
>> Send bugs reports to
>>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C56eecdf9b8cf40ff1cd408d964cf68d3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651664266331735%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=rJYbgoZQZzh7iDkmnrGTg4MsWIP92GKSDuv7qnU49KE%3D&reserved=0
>> 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
>

-- 
  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

Loneliness up ahead, emptiness behind <3
(Britney Spears)

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

Date2021-08-21 20:44
FromVictor Lazzarini
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] NRPNs
Given that midiin outputs a single midi byte, it's not really appropriate to signal the arrival of nrpns, which use four bytes. 

The best I can think so far is an opcode that outputs the value received in a user-defined nrpn. Similar to what we have for CCs (ctl7 etc). This is what I proposed in a response to Pete Goodeve yesterday.

Prof. Victor Lazzarini
Maynooth University
Ireland

> On Aug 21, 2021, at 8:22 PM, Jeanette C.  wrote:
> 
> By additional status message I mean perhaps an extra k-rate parameter that can signify a standard CC, RPN or NRPN, although kstatus could also do that with higher or lower values. Yes, these parameters are constructed, but it's helpful to get them parsed.
> 
> It is also helpful to receive all CCs, RPNs and NRPNs in one opcode, since there are a few hardware synthesizers that will send CCs and RPNs/NRPNs. A simple matter of convenience.
> 
> Best wishes,
> 
> Jeanette
> 
> Aug 21 2021, Victor Lazzarini has written:
> 
>> What do you mean about "more status messages"?
>> 
>> Since NRPN/RPN are basically CC messages bundled together, maybe a specific opcode (as we have for other messages) to receive these may be appropriate.
>> 
>> 
>> Prof. Victor Lazzarini
>> Maynooth University
>> Ireland
>> 
>>>> On Aug 21, 2021, at 7:13 PM, Jeanette C.  wrote:
>>> 
>>> *Warning*
>>> 
>>> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
>>> 
>>> Hi Victor,
>>> Aug 20 2021, Victor Lazzarini has written:
>>> ...
>>>> It made me wonder if there's anything we could do with this functionality, and if so, in what form. Does anyone have ideas about this?
>>> ...
>>> It would be nice if there was a secondary version of midiin which would
>>> allow for more status messages or have an additional k-rate output to
>>> signal the arrival of NRPN/RPN parameters. I have a roughly working UDO
>>> to parse NRPNs and RPNs, but it can get a little frisky.
>>> 
>>> AFAIK HW synth may only send part of an NRPN/RPN message, especially if
>>> it is just a value change of the previous control. I don't know how far
>>> this goes. The Yoshimi team looked into that. Though I haven't seen it
>>> on any of my synths.
>>> 
>>> Best wishes,
>>> 
>>> Jeanette
>>> 
>>> --
>>> * Website: https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjuliencoder.de%2F&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C99bea71ff1ec4d61dab508d964d906a7%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651705549121898%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=%2BUibj6CJouWcZn8bS7H6Q%2BkGacjPdscv%2FZVEWIpZa%2Bo%3D&reserved=0 - for summer is a state of sound
>>> * Youtube: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Fchannel%2FUCMS4rfGrTwz8W7jhC1Jnv7g&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C99bea71ff1ec4d61dab508d964d906a7%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651705549131891%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=GuwSiIap78SyBJfaYly6Uv2094Oot14PvQX2guDBCx8%3D&reserved=0
>>> * Audiobombs: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.audiobombs.com%2Fusers%2Fjeanette_c&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C99bea71ff1ec4d61dab508d964d906a7%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651705549131891%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=wRb9iPoHgLSGz2eLn5Gh2miJRLEVxkutKdBrvP9jXK4%3D&reserved=0
>>> * GitHub: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjeanette-c&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C99bea71ff1ec4d61dab508d964d906a7%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651705549131891%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=TnxDdi%2FXPPa9KGn63hhGyk9CdOD9IS0tPyGpDRtBMzs%3D&reserved=0
>>> 
>>> Loneliness up ahead, emptiness behind <3
>>> (Britney Spears)
>>> 
>>> Csound mailing list
>>> Csound@listserv.heanet.ie
>>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C99bea71ff1ec4d61dab508d964d906a7%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651705549131891%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=uMiF5NMpYyEc9IBdgaSRMa7OARjIzFZKAnL%2BCJs3OjQ%3D&reserved=0
>>> Send bugs reports to
>>>      https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C99bea71ff1ec4d61dab508d964d906a7%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651705549131891%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=cV5nQ%2BgGJgP%2Fad72pN0%2BpQ6scGiCQX06oDvjRxpco4o%3D&reserved=0
>>> Discussions of bugs and features can be posted here
>> 
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C99bea71ff1ec4d61dab508d964d906a7%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651705549131891%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=uMiF5NMpYyEc9IBdgaSRMa7OARjIzFZKAnL%2BCJs3OjQ%3D&reserved=0
>> Send bugs reports to
>>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C99bea71ff1ec4d61dab508d964d906a7%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651705549131891%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=cV5nQ%2BgGJgP%2Fad72pN0%2BpQ6scGiCQX06oDvjRxpco4o%3D&reserved=0
>> Discussions of bugs and features can be posted here
>> 
> 
> -- 
> * Website: https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjuliencoder.de%2F&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C99bea71ff1ec4d61dab508d964d906a7%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651705549131891%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=OnoPVGWw9o9GA4QJzKPxLp55r0E78YsI8RqBGuBJIrI%3D&reserved=0 - for summer is a state of sound
> * Youtube: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Fchannel%2FUCMS4rfGrTwz8W7jhC1Jnv7g&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C99bea71ff1ec4d61dab508d964d906a7%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651705549131891%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=GuwSiIap78SyBJfaYly6Uv2094Oot14PvQX2guDBCx8%3D&reserved=0
> * Audiobombs: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.audiobombs.com%2Fusers%2Fjeanette_c&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C99bea71ff1ec4d61dab508d964d906a7%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651705549131891%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=wRb9iPoHgLSGz2eLn5Gh2miJRLEVxkutKdBrvP9jXK4%3D&reserved=0
> * GitHub: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjeanette-c&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C99bea71ff1ec4d61dab508d964d906a7%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651705549131891%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=TnxDdi%2FXPPa9KGn63hhGyk9CdOD9IS0tPyGpDRtBMzs%3D&reserved=0
> 
> Loneliness up ahead, emptiness behind <3
> (Britney Spears)
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C99bea71ff1ec4d61dab508d964d906a7%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651705549131891%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=uMiF5NMpYyEc9IBdgaSRMa7OARjIzFZKAnL%2BCJs3OjQ%3D&reserved=0
> Send bugs reports to
>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C99bea71ff1ec4d61dab508d964d906a7%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651705549131891%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=cV5nQ%2BgGJgP%2Fad72pN0%2BpQ6scGiCQX06oDvjRxpco4o%3D&reserved=0
> 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

Date2021-08-21 21:40
From"Jeanette C."
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] NRPNs
Aug 21 2021, Victor Lazzarini has written:
...
> Maybe simply something like
>
> kout nprn ipar
>
> where ipar is a user given nprn in the 14-bit range, and kout is the value sent also in the same range.
...
As acounterpart to ctrl7 this would work well.

The advantage of an opcode like midiin is that one can dynamically grab
all incoming data to use it as a hub or easily work based on user
supplied configurations. Whic is why my implmentations have
intelligently looked for RPN/NRPN controls and output their values in
two k-rate signals while setting some kind of status information. It's
been useful for MIDI learn features.

This is not a case against ann nrpn/rpn opcode, but a case for a more
high level opcode. Given that there are already ways around it, it
should probably go on the rainy, boring Saturday night list. :)
...

Best wishes,

Jeanette

-- 
  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

Loneliness up ahead, emptiness behind <3
(Britney Spears)

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

Date2021-08-21 23:48
FromPete Goodeve
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] NRPNs
AttachmentsNone  

Date2021-08-22 13:31
FromVictor Lazzarini
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] NRPNs
Well, in any case, it is true that unlike other normal channel messages, one byte is not sufficient. Three or four as you said, to characterise it.

Prof. Victor Lazzarini
Maynooth University
Ireland

> On Aug 21, 2021, at 11:48 PM, Pete Goodeve  wrote:
> 
> On Sat, Aug 21, 2021 at 07:44:19PM +0000, Victor Lazzarini wrote:
>> Given that midiin outputs a single midi byte, it's not really appropriate to signal the arrival of nrpns, which use four bytes.
> 
> I'm not sure this is strictly true.  The 'canonical' way is to send three or four messages:
> 
>    cc99    
>    cc98    
>    cc6    
>    cc38    (optional) 
> 
> but then one is supposed to "close off" the data-entry CC6/38 with:
> 
>    cc101    <127>
>    cc100    <127>
> 
> Confusingly, it seems one should use the RPN controllers for the reset,
> even for NRPN setting.
> 
> Presumably, though, this full sequence isn't necessary.  If for instance
> you need to set a series of NRPNs you might only need
>    ......
>    cc98    
>    cc6    
>    ......
> 
> repeated as  appropriate.  Then only close off at the end.
> 
> My alwayson "Tuning" instrument (for RPN Fine Tuning) is quite simple
> and works well.  It simply monitors control messages and if the CC is
> 100 or 101 sets a local variable.  If the CC is 6 and the local variables
> have the correct value, it sets a global tuning variable.  A more generic
> "readrpn" (or "readnrpn") would be a litle more complex, but not markedly.
> Without thinking too hard(!) I don't see any real difficulty in an opcode
> version.  Perhaps would return parameter number and value (two args)
> when a CC6 is received.  Might need a 14-bit version, or just ignore CC38.
> 
>    -- Pete --
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7Cfdc0feaaca874ad6e7a508d964f5d744%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C1%7C637651829311333868%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=xGMIdEd6Ljfuc2WFQ6SSm%2Bq6w6%2Bw0uVi2qfwnkYWYgM%3D&reserved=0
> Send bugs reports to
>        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7Cfdc0feaaca874ad6e7a508d964f5d744%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C1%7C637651829311333868%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3MNHM2xRu25xTEnJeXVIsP1QxLr7T0afTOaxhfX2P1U%3D&reserved=0
> 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

Date2021-08-22 14:46
FromOeyvind Brandtsegg
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] NRPNs
Just in case it is not widely known, one can also use the flag
-+raw_controller_mode=boolean
to allow ctrl7 to receive NRPN controller data as if there was nothing special about them.
I have used this a lot, when I had a large number of different controller messages and the reserved status of the NRPNs messed up my attempts at tidy contiguous controller numbering.

all best
Øyvind


lør. 21. aug. 2021 kl. 21:21 skrev Jeanette C. <julien@mail.upb.de>:
By additional status message I mean perhaps an extra k-rate parameter that can
signify a standard CC, RPN or NRPN, although kstatus could also do that with
higher or lower values. Yes, these parameters are constructed, but it's
helpful to get them parsed.

It is also helpful to receive all CCs, RPNs and NRPNs in one opcode, since
there are a few hardware synthesizers that will send CCs and RPNs/NRPNs. A
simple matter of convenience.

Best wishes,

Jeanette

Aug 21 2021, Victor Lazzarini has written:

> What do you mean about "more status messages"?
>
> Since NRPN/RPN are basically CC messages bundled together, maybe a specific opcode (as we have for other messages) to receive these may be appropriate.
>
>
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
>
>> On Aug 21, 2021, at 7:13 PM, Jeanette C. <julien@mail.upb.de> wrote:
>>
>> *Warning*
>>
>> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
>>
>> Hi Victor,
>> Aug 20 2021, Victor Lazzarini has written:
>> ...
>>> It made me wonder if there's anything we could do with this functionality, and if so, in what form. Does anyone have ideas about this?
>> ...
>> It would be nice if there was a secondary version of midiin which would
>> allow for more status messages or have an additional k-rate output to
>> signal the arrival of NRPN/RPN parameters. I have a roughly working UDO
>> to parse NRPNs and RPNs, but it can get a little frisky.
>>
>> AFAIK HW synth may only send part of an NRPN/RPN message, especially if
>> it is just a value change of the previous control. I don't know how far
>> this goes. The Yoshimi team looked into that. Though I haven't seen it
>> on any of my synths.
>>
>> Best wishes,
>>
>> Jeanette
>>
>> --
>> * Website: https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjuliencoder.de%2F&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C56eecdf9b8cf40ff1cd408d964cf68d3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651664266321741%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=QT9nVf91lmodCUAOQwDGG73UhLWM2Ev%2B%2FVnGB3CpVgE%3D&amp;reserved=0 - for summer is a state of sound
>> * Youtube: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Fchannel%2FUCMS4rfGrTwz8W7jhC1Jnv7g&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C56eecdf9b8cf40ff1cd408d964cf68d3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651664266331735%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=9%2FMM3xt8Nsb3BVdw6PdmWhTQvVWHPF4X4%2BepI71yE9A%3D&amp;reserved=0
>> * Audiobombs: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.audiobombs.com%2Fusers%2Fjeanette_c&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C56eecdf9b8cf40ff1cd408d964cf68d3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651664266331735%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=ntULBGTOAUma4QRab4%2Be34vavlxT6luBAmHTG6Pd7IY%3D&amp;reserved=0
>> * GitHub: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjeanette-c&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C56eecdf9b8cf40ff1cd408d964cf68d3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651664266331735%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=1rtHdEOkycAHP%2BTEh5c07nV%2BGiQV1L8HthT6SSaJBGA%3D&amp;reserved=0
>>
>> Loneliness up ahead, emptiness behind <3
>> (Britney Spears)
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C56eecdf9b8cf40ff1cd408d964cf68d3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651664266331735%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=6OeH2W0jdYxMN2jRHJCszEt%2BgVnVQ8rz%2B0MU5%2BpU3rQ%3D&amp;reserved=0
>> Send bugs reports to
>>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C56eecdf9b8cf40ff1cd408d964cf68d3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651664266331735%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=rJYbgoZQZzh7iDkmnrGTg4MsWIP92GKSDuv7qnU49KE%3D&amp;reserved=0
>> 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
>

--
  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

Loneliness up ahead, emptiness behind <3
(Britney Spears)

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

Date2021-08-22 15:06
FromVictor Lazzarini
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] NRPNs
Good to know, thanks for this.
========================
Prof. Victor Lazzarini
Maynooth University
Ireland

> On 22 Aug 2021, at 14:46, Oeyvind Brandtsegg  wrote:
> 
> Just in case it is not widely known, one can also use the flag
> -+raw_controller_mode=boolean
> to allow ctrl7 to receive NRPN controller data as if there was nothing special about them.
> I have used this a lot, when I had a large number of different controller messages and the reserved status of the NRPNs messed up my attempts at tidy contiguous controller numbering.
> 
> all best
> Øyvind
> 
> 
> lør. 21. aug. 2021 kl. 21:21 skrev Jeanette C. :
> By additional status message I mean perhaps an extra k-rate parameter that can 
> signify a standard CC, RPN or NRPN, although kstatus could also do that with 
> higher or lower values. Yes, these parameters are constructed, but it's 
> helpful to get them parsed.
> 
> It is also helpful to receive all CCs, RPNs and NRPNs in one opcode, since 
> there are a few hardware synthesizers that will send CCs and RPNs/NRPNs. A 
> simple matter of convenience.
> 
> Best wishes,
> 
> Jeanette
> 
> Aug 21 2021, Victor Lazzarini has written:
> 
> > What do you mean about "more status messages"?
> >
> > Since NRPN/RPN are basically CC messages bundled together, maybe a specific opcode (as we have for other messages) to receive these may be appropriate.
> >
> >
> > Prof. Victor Lazzarini
> > Maynooth University
> > Ireland
> >
> >> On Aug 21, 2021, at 7:13 PM, Jeanette C.  wrote:
> >>
> >> *Warning*
> >>
> >> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
> >>
> >> Hi Victor,
> >> Aug 20 2021, Victor Lazzarini has written:
> >> ...
> >>> It made me wonder if there's anything we could do with this functionality, and if so, in what form. Does anyone have ideas about this?
> >> ...
> >> It would be nice if there was a secondary version of midiin which would
> >> allow for more status messages or have an additional k-rate output to
> >> signal the arrival of NRPN/RPN parameters. I have a roughly working UDO
> >> to parse NRPNs and RPNs, but it can get a little frisky.
> >>
> >> AFAIK HW synth may only send part of an NRPN/RPN message, especially if
> >> it is just a value change of the previous control. I don't know how far
> >> this goes. The Yoshimi team looked into that. Though I haven't seen it
> >> on any of my synths.
> >>
> >> Best wishes,
> >>
> >> Jeanette
> >>
> >> --
> >> * Website: https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjuliencoder.de%2F&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C56eecdf9b8cf40ff1cd408d964cf68d3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651664266321741%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=QT9nVf91lmodCUAOQwDGG73UhLWM2Ev%2B%2FVnGB3CpVgE%3D&reserved=0 - for summer is a state of sound
> >> * Youtube: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Fchannel%2FUCMS4rfGrTwz8W7jhC1Jnv7g&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C56eecdf9b8cf40ff1cd408d964cf68d3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651664266331735%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=9%2FMM3xt8Nsb3BVdw6PdmWhTQvVWHPF4X4%2BepI71yE9A%3D&reserved=0
> >> * Audiobombs: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.audiobombs.com%2Fusers%2Fjeanette_c&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C56eecdf9b8cf40ff1cd408d964cf68d3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651664266331735%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ntULBGTOAUma4QRab4%2Be34vavlxT6luBAmHTG6Pd7IY%3D&reserved=0
> >> * GitHub: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjeanette-c&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C56eecdf9b8cf40ff1cd408d964cf68d3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651664266331735%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=1rtHdEOkycAHP%2BTEh5c07nV%2BGiQV1L8HthT6SSaJBGA%3D&reserved=0
> >>
> >> Loneliness up ahead, emptiness behind <3
> >> (Britney Spears)
> >>
> >> Csound mailing list
> >> Csound@listserv.heanet.ie
> >> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C56eecdf9b8cf40ff1cd408d964cf68d3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651664266331735%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=6OeH2W0jdYxMN2jRHJCszEt%2BgVnVQ8rz%2B0MU5%2BpU3rQ%3D&reserved=0
> >> Send bugs reports to
> >>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C56eecdf9b8cf40ff1cd408d964cf68d3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651664266331735%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=rJYbgoZQZzh7iDkmnrGTg4MsWIP92GKSDuv7qnU49KE%3D&reserved=0
> >> 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
> >
> 
> -- 
>   * Website: http://juliencoder.de - for summer is a state of sound
>   * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
>   * Audiobombs: https://www.audiobombs.com/users/jeanette_c
>   * GitHub: https://github.com/jeanette-c
> 
> Loneliness up ahead, emptiness behind <3
> (Britney Spears)
> 
> 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

Date2021-08-22 20:13
FromPete Goodeve
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] NRPNs
AttachmentsNone  

Date2021-08-22 21:13
FromArthur Hunkins <000001e1d761dea2-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] NRPNs
Me too.

I use it routinely as:
-+raw_controller_mode=1

On Sun, Aug 22, 2021 at 9:46 AM Oeyvind Brandtsegg <obrandts@gmail.com> wrote:
Just in case it is not widely known, one can also use the flag
-+raw_controller_mode=boolean
to allow ctrl7 to receive NRPN controller data as if there was nothing special about them.
I have used this a lot, when I had a large number of different controller messages and the reserved status of the NRPNs messed up my attempts at tidy contiguous controller numbering.

all best
Øyvind


lør. 21. aug. 2021 kl. 21:21 skrev Jeanette C. <julien@mail.upb.de>:
By additional status message I mean perhaps an extra k-rate parameter that can
signify a standard CC, RPN or NRPN, although kstatus could also do that with
higher or lower values. Yes, these parameters are constructed, but it's
helpful to get them parsed.

It is also helpful to receive all CCs, RPNs and NRPNs in one opcode, since
there are a few hardware synthesizers that will send CCs and RPNs/NRPNs. A
simple matter of convenience.

Best wishes,

Jeanette

Aug 21 2021, Victor Lazzarini has written:

> What do you mean about "more status messages"?
>
> Since NRPN/RPN are basically CC messages bundled together, maybe a specific opcode (as we have for other messages) to receive these may be appropriate.
>
>
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
>
>> On Aug 21, 2021, at 7:13 PM, Jeanette C. <julien@mail.upb.de> wrote:
>>
>> *Warning*
>>
>> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
>>
>> Hi Victor,
>> Aug 20 2021, Victor Lazzarini has written:
>> ...
>>> It made me wonder if there's anything we could do with this functionality, and if so, in what form. Does anyone have ideas about this?
>> ...
>> It would be nice if there was a secondary version of midiin which would
>> allow for more status messages or have an additional k-rate output to
>> signal the arrival of NRPN/RPN parameters. I have a roughly working UDO
>> to parse NRPNs and RPNs, but it can get a little frisky.
>>
>> AFAIK HW synth may only send part of an NRPN/RPN message, especially if
>> it is just a value change of the previous control. I don't know how far
>> this goes. The Yoshimi team looked into that. Though I haven't seen it
>> on any of my synths.
>>
>> Best wishes,
>>
>> Jeanette
>>
>> --
>> * Website: https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjuliencoder.de%2F&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C56eecdf9b8cf40ff1cd408d964cf68d3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651664266321741%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=QT9nVf91lmodCUAOQwDGG73UhLWM2Ev%2B%2FVnGB3CpVgE%3D&amp;reserved=0 - for summer is a state of sound
>> * Youtube: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Fchannel%2FUCMS4rfGrTwz8W7jhC1Jnv7g&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C56eecdf9b8cf40ff1cd408d964cf68d3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651664266331735%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=9%2FMM3xt8Nsb3BVdw6PdmWhTQvVWHPF4X4%2BepI71yE9A%3D&amp;reserved=0
>> * Audiobombs: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.audiobombs.com%2Fusers%2Fjeanette_c&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C56eecdf9b8cf40ff1cd408d964cf68d3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651664266331735%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=ntULBGTOAUma4QRab4%2Be34vavlxT6luBAmHTG6Pd7IY%3D&amp;reserved=0
>> * GitHub: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjeanette-c&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C56eecdf9b8cf40ff1cd408d964cf68d3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651664266331735%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=1rtHdEOkycAHP%2BTEh5c07nV%2BGiQV1L8HthT6SSaJBGA%3D&amp;reserved=0
>>
>> Loneliness up ahead, emptiness behind <3
>> (Britney Spears)
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C56eecdf9b8cf40ff1cd408d964cf68d3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651664266331735%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=6OeH2W0jdYxMN2jRHJCszEt%2BgVnVQ8rz%2B0MU5%2BpU3rQ%3D&amp;reserved=0
>> Send bugs reports to
>>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C56eecdf9b8cf40ff1cd408d964cf68d3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637651664266331735%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=rJYbgoZQZzh7iDkmnrGTg4MsWIP92GKSDuv7qnU49KE%3D&amp;reserved=0
>> 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
>

--
  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

Loneliness up ahead, emptiness behind <3
(Britney Spears)

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

Date2021-08-22 21:22
FromVictor Lazzarini
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] NRPNs
You are right, I should have said a single channel message. That is what I meant.

Prof. Victor Lazzarini
Maynooth University
Ireland

> On 22 Aug 2021, at 20:13, Pete Goodeve  wrote:
> 
> On Sun, Aug 22, 2021 at 12:31:21PM +0000, Victor Lazzarini wrote:
>> Well, in any case, it is true that unlike other normal channel messages, one byte is not sufficient. Three or four as you said, to characterise it.
>> 
> Sorry to persist, but I guess for clarity it should be noted that any channel message
> is at least *two* bytes, many are three, with three components: channel, function,
> and value (which itself can have two parts, e.g. note and velocity).  RPNs and NRPNs
> are no different, and in fact if you're just setting one RPN to different values
> there's no reason to use more than one (three-byte) 'data-entry' CC6 message
> each time.  And of course midiin handles (N)RPN sequences as well as any other.
> You just need to preserve a bit of state.
> 
> I know I'm preaching to the choir here, but I thought it was worth clarifying!
> 
>    -- Pete --
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C84ff41f1f3e2489ecf9e08d965a0f0e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637652564190196832%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Lj0BJl%2FdeuXm8DrpGXKPbLHDG4ibue6RzC2xH9M%2F3z8%3D&reserved=0
> Send bugs reports to
>        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C84ff41f1f3e2489ecf9e08d965a0f0e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637652564190196832%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=fVp93HbTPpAfbxJX%2F8IWhTEy2IRTE%2BP0eiNvnFQxceg%3D&reserved=0
> 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

Date2021-08-22 22:53
From"Dr. Richard Boulanger"
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] NRPNs
Maybe a note about this could be added to the man page.

Dr. Richard Boulanger
Professor
Electronic Production and Design
Berklee College of Music

> On Aug 22, 2021, at 4:22 PM, Victor Lazzarini  wrote:
> 
> You are right, I should have said a single channel message. That is what I meant.
> 
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
> 
>>> On 22 Aug 2021, at 20:13, Pete Goodeve  wrote:
>>> 
>>> On Sun, Aug 22, 2021 at 12:31:21PM +0000, Victor Lazzarini wrote:
>>> Well, in any case, it is true that unlike other normal channel messages, one byte is not sufficient. Three or four as you said, to characterise it.
>>> 
>> Sorry to persist, but I guess for clarity it should be noted that any channel message
>> is at least *two* bytes, many are three, with three components: channel, function,
>> and value (which itself can have two parts, e.g. note and velocity).  RPNs and NRPNs
>> are no different, and in fact if you're just setting one RPN to different values
>> there's no reason to use more than one (three-byte) 'data-entry' CC6 message
>> each time.  And of course midiin handles (N)RPN sequences as well as any other.
>> You just need to preserve a bit of state.
>> 
>> I know I'm preaching to the choir here, but I thought it was worth clarifying!
>> 
>>   -- Pete --
>> 
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://us-west-2.protection.sophos.com?d=outlook.com&u=aHR0cHM6Ly9ldXIwMi5zYWZlbGlua3MucHJvdGVjdGlvbi5vdXRsb29rLmNvbS8_dXJsPWh0dHBzJTNBJTJGJTJGbGlzdHNlcnYuaGVhbmV0LmllJTJGY2dpLWJpbiUyRndhJTNGQTAlM0RDU09VTkQmZGF0YT0wNCU3QzAxJTdDVmljdG9yLkxhenphcmluaSU0MG11LmllJTdDODRmZjQxZjFmM2UyNDg5ZWNmOWUwOGQ5NjVhMGYwZTMlN0MxNDU0ZjVjY2JiMzU0Njg1YmJkOTg2MjFmZDgwNTVjOSU3QzElN0MwJTdDNjM3NjUyNTY0MTkwMTk2ODMyJTdDVW5rbm93biU3Q1RXRnBiR1pzYjNkOGV5SldJam9pTUM0d0xqQXdNREFpTENKUUlqb2lWMmx1TXpJaUxDSkJUaUk2SWsxaGFXd2lMQ0pYVkNJNk1uMCUzRCU3QzEwMDAmc2RhdGE9TGowQkpsJTJGZGV1WG04RHJwR1hLUGJMSERHNGlidWU2UnpDMnhIOU0lMkYzejglM0QmcmVzZXJ2ZWQ9MA==&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=NEVuTzBIVGpHeDVMVmFERlRvUlMxK2lQcGxzREtETnRlclZxa2dCb2g5TT0=&h=3b883d6ef2084773beb957b4c975c62a
>> Send bugs reports to
>>       https://us-west-2.protection.sophos.com?d=outlook.com&u=aHR0cHM6Ly9ldXIwMi5zYWZlbGlua3MucHJvdGVjdGlvbi5vdXRsb29rLmNvbS8_dXJsPWh0dHBzJTNBJTJGJTJGZ2l0aHViLmNvbSUyRmNzb3VuZCUyRmNzb3VuZCUyRmlzc3VlcyZkYXRhPTA0JTdDMDElN0NWaWN0b3IuTGF6emFyaW5pJTQwbXUuaWUlN0M4NGZmNDFmMWYzZTI0ODllY2Y5ZTA4ZDk2NWEwZjBlMyU3QzE0NTRmNWNjYmIzNTQ2ODViYmQ5ODYyMWZkODA1NWM5JTdDMSU3QzAlN0M2Mzc2NTI1NjQxOTAxOTY4MzIlN0NVbmtub3duJTdDVFdGcGJHWnNiM2Q4ZXlKV0lqb2lNQzR3TGpBd01EQWlMQ0pRSWpvaVYybHVNeklpTENKQlRpSTZJazFoYVd3aUxDSlhWQ0k2TW4wJTNEJTdDMTAwMCZzZGF0YT1mVnA5M0hiVFBwQWZieEpYJTJGOElXaFRFeTJJUlRFJTJCUDBlaU52bkZReGNlZyUzRCZyZXNlcnZlZD0w&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=U25wRTFZalduWCtQYk4rWFMrTmdEUTRzSnNRRnFyT2g4TU41c0NFZEtxZz0=&h=3b883d6ef2084773beb957b4c975c62a
>> Discussions of bugs and features can be posted here
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://us-west-2.protection.sophos.com?d=heanet.ie&u=aHR0cHM6Ly9saXN0c2Vydi5oZWFuZXQuaWUvY2dpLWJpbi93YT9BMD1DU09VTkQ=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=WVZMRlI4dlFUVUZ6V2NTOUU5eE9lZnFIemtoc2hxYlBDMFFCWmtKZzhzRT0=&h=3b883d6ef2084773beb957b4c975c62a
> Send bugs reports to
>        https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2Nzb3VuZC9jc291bmQvaXNzdWVz&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=YlNrQ2lLclRLZUpGUE1iR0FyY2M1eW1NTUU5SUozWlJwMTNZU2NXT1BLOD0=&h=3b883d6ef2084773beb957b4c975c62a
> 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

Date2021-09-06 20:45
FromJustin Smith
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] NRPNs
I feel partly responsible for the confusing / difficult to use state of the nrpn code that exists now. Ages ago I acquired a midi controller that could use NRPN for more finely grained slider position info, and I found this useful for highly sensitive parameters like FM index.

I made a contribution to the core MIDI code that was required in order to make the NRPN usable (not knowing about the -+raw_controller_mode=1 setting if it existed at that time). Before my contribution was merged, I was unable to get NRPN bytes via midiin in some cases (which coincided or at least correlated with the "unknown drum parameter" log messages).

Looking at the code as it is today, I still find this part of the code confusing:

On Sun, Aug 22, 2021 at 2:53 PM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
Maybe a note about this could be added to the man page.

Dr. Richard Boulanger
Professor
Electronic Production and Design
Berklee College of Music

> On Aug 22, 2021, at 4:22 PM, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
>
> You are right, I should have said a single channel message. That is what I meant.
>
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
>
>>> On 22 Aug 2021, at 20:13, Pete Goodeve <pete.goodeve@computer.org> wrote:
>>>
>>> On Sun, Aug 22, 2021 at 12:31:21PM +0000, Victor Lazzarini wrote:
>>> Well, in any case, it is true that unlike other normal channel messages, one byte is not sufficient. Three or four as you said, to characterise it.
>>>
>> Sorry to persist, but I guess for clarity it should be noted that any channel message
>> is at least *two* bytes, many are three, with three components: channel, function,
>> and value (which itself can have two parts, e.g. note and velocity).  RPNs and NRPNs
>> are no different, and in fact if you're just setting one RPN to different values
>> there's no reason to use more than one (three-byte) 'data-entry' CC6 message
>> each time.  And of course midiin handles (N)RPN sequences as well as any other.
>> You just need to preserve a bit of state.
>>
>> I know I'm preaching to the choir here, but I thought it was worth clarifying!
>>
>>   -- Pete --
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://us-west-2.protection.sophos.com?d=outlook.com&u=aHR0cHM6Ly9ldXIwMi5zYWZlbGlua3MucHJvdGVjdGlvbi5vdXRsb29rLmNvbS8_dXJsPWh0dHBzJTNBJTJGJTJGbGlzdHNlcnYuaGVhbmV0LmllJTJGY2dpLWJpbiUyRndhJTNGQTAlM0RDU09VTkQmZGF0YT0wNCU3QzAxJTdDVmljdG9yLkxhenphcmluaSU0MG11LmllJTdDODRmZjQxZjFmM2UyNDg5ZWNmOWUwOGQ5NjVhMGYwZTMlN0MxNDU0ZjVjY2JiMzU0Njg1YmJkOTg2MjFmZDgwNTVjOSU3QzElN0MwJTdDNjM3NjUyNTY0MTkwMTk2ODMyJTdDVW5rbm93biU3Q1RXRnBiR1pzYjNkOGV5SldJam9pTUM0d0xqQXdNREFpTENKUUlqb2lWMmx1TXpJaUxDSkJUaUk2SWsxaGFXd2lMQ0pYVkNJNk1uMCUzRCU3QzEwMDAmc2RhdGE9TGowQkpsJTJGZGV1WG04RHJwR1hLUGJMSERHNGlidWU2UnpDMnhIOU0lMkYzejglM0QmcmVzZXJ2ZWQ9MA==&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=NEVuTzBIVGpHeDVMVmFERlRvUlMxK2lQcGxzREtETnRlclZxa2dCb2g5TT0=&h=3b883d6ef2084773beb957b4c975c62a
>> Send bugs reports to
>>       https://us-west-2.protection.sophos.com?d=outlook.com&u=aHR0cHM6Ly9ldXIwMi5zYWZlbGlua3MucHJvdGVjdGlvbi5vdXRsb29rLmNvbS8_dXJsPWh0dHBzJTNBJTJGJTJGZ2l0aHViLmNvbSUyRmNzb3VuZCUyRmNzb3VuZCUyRmlzc3VlcyZkYXRhPTA0JTdDMDElN0NWaWN0b3IuTGF6emFyaW5pJTQwbXUuaWUlN0M4NGZmNDFmMWYzZTI0ODllY2Y5ZTA4ZDk2NWEwZjBlMyU3QzE0NTRmNWNjYmIzNTQ2ODViYmQ5ODYyMWZkODA1NWM5JTdDMSU3QzAlN0M2Mzc2NTI1NjQxOTAxOTY4MzIlN0NVbmtub3duJTdDVFdGcGJHWnNiM2Q4ZXlKV0lqb2lNQzR3TGpBd01EQWlMQ0pRSWpvaVYybHVNeklpTENKQlRpSTZJazFoYVd3aUxDSlhWQ0k2TW4wJTNEJTdDMTAwMCZzZGF0YT1mVnA5M0hiVFBwQWZieEpYJTJGOElXaFRFeTJJUlRFJTJCUDBlaU52bkZReGNlZyUzRCZyZXNlcnZlZD0w&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=U25wRTFZalduWCtQYk4rWFMrTmdEUTRzSnNRRnFyT2g4TU41c0NFZEtxZz0=&h=3b883d6ef2084773beb957b4c975c62a
>> Discussions of bugs and features can be posted here
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://us-west-2.protection.sophos.com?d=heanet.ie&u=aHR0cHM6Ly9saXN0c2Vydi5oZWFuZXQuaWUvY2dpLWJpbi93YT9BMD1DU09VTkQ=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=WVZMRlI4dlFUVUZ6V2NTOUU5eE9lZnFIemtoc2hxYlBDMFFCWmtKZzhzRT0=&h=3b883d6ef2084773beb957b4c975c62a
> Send bugs reports to
>        https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2Nzb3VuZC9jc291bmQvaXNzdWVz&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=YlNrQ2lLclRLZUpGUE1iR0FyY2M1eW1NTUU5SUozWlJwMTNZU2NXT1BLOD0=&h=3b883d6ef2084773beb957b4c975c62a
> 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