[Csnd] csoundListChannels
Date | 2012-05-21 12:06 |
From | Sigurd Saue |
Subject | [Csnd] csoundListChannels |
Hi, The API function csoundListChannels() seems to return the control channels in alphabetical order, instead of the order they are listed in the csd file. Is there a specific reason for that? I’m not too happy about it, since it destroys the intended grouping of these channel parameters when we display them in a generic GUI. Sigurd |
Date | 2012-05-21 12:21 |
From | Victor Lazzarini |
Subject | Re: [Csnd] csoundListChannels |
On 21 May 2012, at 12:06, Sigurd Saue wrote:
Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |
Date | 2012-05-21 12:23 |
From | Sigurd Saue |
Subject | RE: [Csnd] csoundListChannels |
All right, consider it a request for Csound 6 then. I can’t wait … J Sigurd From: Victor Lazzarini [mailto:Victor.Lazzarini@nuim.ie]
Well, that is a good suggestion, but I think it needs to be left for Csound 6. On 21 May 2012, at 12:06, Sigurd Saue wrote:
Hi,
The API function csoundListChannels() seems to return the control channels in alphabetical order, instead of the order they are listed in the csd file. Is there a specific reason for that? I’m not too happy about it, since it destroys the intended grouping of these channel parameters when we display them in a generic GUI.
Sigurd
Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie
|
Date | 2012-05-21 12:34 |
From | Andres Cabrera |
Subject | Re: [Csnd] csoundListChannels |
Hi, I think relying on the order might not be a good idea, as things can change dynamically. If you want to sort things by groups, why don't you add a prefix to the channel names to indicate grouping? But OTOH, I think there should be no alphabetical ordering done, as it is unnecessary, although users should not really rely on the order being preserved. Cheers, Andrés On Mon, May 21, 2012 at 12:23 PM, Sigurd Saue |