Re: [Csnd-dev] Csound 7 errors

Dave Seidel <[email protected]>
Newsgroups gmane.comp.audio.csound.devel
Message-ID <CAMnrweDgk95aCfLEf1an-+Po4vbmsgQ8AGS+jfwZ2YQJeKZsGw@mail.gmail.com>
Obviously the line number is unhelpful (just like in 6), but these are
the only ftgen statements in the code.

On Sun, Sep 8, 2024 at 1:44 PM Dave Seidel <[email protected]> wrote:

> Now that I \have csound 7, I just tries running the code that works in
> csound 6, and got the error message:
>
> error:  Unable to find opcode entry for 'ftgen' with matching argument
> types:
>
> Found:
>   k ftgen ccccciiiiiiiiiiic
>
> Candidates:
>   i ftgen iiiiim
>   i ftgen.S iiiSim
>   i ftgen.iS iiiiSm
>   i ftgen.SS iiiSSm
>   i ftgen iiiii[]
>   i ftgen iiiSi[]
>
> Line: 24
>  from file symmetry.csd (1)
> Parsing failed due to syntax errors
>
> The ftgen code is:
>
> ; sine table
> gi_sin = ftgen(0, 0, 2^18, 10, 1)
>
> ; tanh function
> gi_tanh = ftgen(0, 0, 16385, "tanh", -157, 157, 0)
>
> gk_centaur          = ftgen(80, 0, 13, -2, 1, 21/20, 9/8, 7/6, 5/4, 4/3,
> 7/5, 3/2, 14/9, 5/3, 7/4, 15/8, 2)
> gk_meta_slendro     = ftgen(81, 0, 13, -2, 1, 65/64, 9/8, 37/32, 151/128,
> 5/4, 21/16, 43/32, 3/2, 49/32, 7/4, 57/32, 2)
> gk_pyth             = ftgen(82, 0, 13, -2, 1, 2187/2048, 9/8, 32/27,
> 81/64, 4/3, 729/512, 3/2, 6561/4096, 27/16, 16/9, 243/128, 2)
> gk_bihexany         = ftgen(83, 0, 13, -2, 1, 35/33, 7/6, 5/4, 14/11,
> 15/11, 3/2, 35/22, 5/3, 7/4, 20/11, 21/11, 2)
>
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.