Csound Csound-dev Csound-tekno Search About

[Csnd] Pconvolve channel limitations

Date2025-08-29 09:55
FromJohann Philippe <000002c2c0737523-dmarc-request@LISTSERV.HEANET.IE>
Subject[Csnd] Pconvolve channel limitations
Hello, 

I see pconvolve IR's can't accept channel argument more than 4. 
Is it still relevant today ?

Here in source (ugens9.c) : 
  if (UNLIKELY(channel < 1 || ((channel > 4) && (channel != ALLCHNLS)))) {
    return csound->InitError(csound, Str("channel request %d illegal"), channel);
  }


Best 

Date2025-08-29 12:44
Fromvlz
SubjectRe: [Csnd] Pconvolve channel limitations
ftconv can be used with up to 8 channels. Also you can use multiple ftconvs reading from the same IR, so there is no channel limit.

Personally, I find ftconv a whole lot more convenient and flexible than pconvolve.

best
Prof. Victor Lazzarini
Maynooth University
Ireland

On 29 Aug 2025, at 09:55, Johann Philippe <000002c2c0737523-dmarc-request@listserv.heanet.ie> wrote:


Hello, 

I see pconvolve IR's can't accept channel argument more than 4. 
Is it still relevant today ?

Here in source (ugens9.c) : 
  if (UNLIKELY(channel < 1 || ((channel > 4) && (channel != ALLCHNLS)))) {
    return csound->InitError(csound, Str("channel request %d illegal"), channel);
  }


Best 
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

Date2025-08-29 12:55
FromJohann Philippe <000002c2c0737523-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd] Pconvolve channel limitations
Thanks. 
Sure, I wasn't stuck on this issue, since multiple ftconv's could do the trick, or split the IR in separate mono files to use with pconvolve. 
Just wondering if this 4 channel limitation has an historical reason, or if it is still relevant
anyway
Thanks
Best

Le vendredi 29 août 2025 à 13:44:18 UTC+2, vlz <viclazzarini@gmail.com> a écrit :


ftconv can be used with up to 8 channels. Also you can use multiple ftconvs reading from the same IR, so there is no channel limit.

Personally, I find ftconv a whole lot more convenient and flexible than pconvolve.

best
Prof. Victor Lazzarini
Maynooth University
Ireland

On 29 Aug 2025, at 09:55, Johann Philippe <000002c2c0737523-dmarc-request@listserv.heanet.ie> wrote:


Hello, 

I see pconvolve IR's can't accept channel argument more than 4. 
Is it still relevant today ?

Here in source (ugens9.c) : 
  if (UNLIKELY(channel < 1 || ((channel > 4) && (channel != ALLCHNLS)))) {
    return csound->InitError(csound, Str("channel request %d illegal"), channel);
  }


Best 
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

Date2025-08-29 13:02
FromVictor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] Pconvolve channel limitations
I guess it was never relevant, the author just decided to stop at 4. There's never been a limit afaik (or at least such a low one).

Prof. Victor Lazzarini
Maynooth University
Ireland

On 29 Aug 2025, at 12:56, Johann Philippe <000002c2c0737523-dmarc-request@listserv.heanet.ie> 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.

Thanks. 
Sure, I wasn't stuck on this issue, since multiple ftconv's could do the trick, or split the IR in separate mono files to use with pconvolve. 
Just wondering if this 4 channel limitation has an historical reason, or if it is still relevant
anyway
Thanks
Best

Le vendredi 29 août 2025 à 13:44:18 UTC+2, vlz <viclazzarini@gmail.com> a écrit :


ftconv can be used with up to 8 channels. Also you can use multiple ftconvs reading from the same IR, so there is no channel limit.

Personally, I find ftconv a whole lot more convenient and flexible than pconvolve.

best
Prof. Victor Lazzarini
Maynooth University
Ireland

On 29 Aug 2025, at 09:55, Johann Philippe <000002c2c0737523-dmarc-request@listserv.heanet.ie> wrote:


Hello, 

I see pconvolve IR's can't accept channel argument more than 4. 
Is it still relevant today ?

Here in source (ugens9.c) : 
  if (UNLIKELY(channel < 1 || ((channel > 4) && (channel != ALLCHNLS)))) {
    return csound->InitError(csound, Str("channel request %d illegal"), channel);
  }


Best 
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