Re: [Csnd-dev] [EXTERNAL] [Csnd-dev] sysdep.h and MAXLEN for ftables

Steven Yi <[email protected]>
Newsgroups gmane.comp.audio.csound.devel
Message-ID <CANtcCs4pk8G=mZjohm40qhvfp54KZ-AXQ-_0MNQGc2A3v7F-ug@mail.gmail.com>
I was going off what's documented in the manual (
https://csound.com/docs/manual/f.html)

"*p3* -- Size of function table (i.e. number of points) Must be a power of
2, or a power-of-2 plus 1 if this number is positive. Maximum table size is
16777216 (224) points."

I think Giovanni ran into issues with longer sized tables but I don't
recall how long.

On Tue, Oct 1, 2024 at 3:00 PM Victor Lazzarini <
[email protected]> wrote:

> MAXLEN is 0x10000000 for most modern archs, that's 2^28 is it not? That
> translates into
> about 101 minutes of audio at 44100.
>
> It does not strike me as too short. I think we could get away with 2^32
> without having to do a major overhaul, but I need to check if my idea works
> correctly. That would allows 1603 minutes or 27 hours of audio.
>
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
>
> On 1 Oct 2024, at 13:36, Steven Yi <[email protected]> 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 All,
>
> I was chatting with Giovanni Bedetti on Discord about max table length. It
> seems awfully small at 2^24 (~16MB). Any reason not to bump that up to
> something larger?
>
> Also, while looking at that, I noticed B64BIT detection in sysdep.h. I saw
> that it was missing aarch64 amongst other things, so I've submitted a PR to
> update this.
>
> steven
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.