Csound Csound-dev Csound-tekno Search About

table*: index type inconsistent with output

Date2016-07-19 21:01
FromFfanci Silvain
Subjecttable*: index type inconsistent with output
Hey hey,
I've had this problem cropping up several times now. A good example is the 
example code from the Linux Audio Conference presentation "Sound Synthesis 
with Periodic Linear Time-Varying Filters", the code is here:
http://www.ime.usp.br/~ag/dl/lac15-code.zip

The proiblem can be seen in the allpassphasedist.csd:
Csound 6.07 says:
INIT ERROR in instr 1: table: index type inconsistent with output
asin    tablei.a        aph     -1      1       0       1

I've had similar errors running a few examples from the Csound Journal, also 
regarding "distortion synthesis".

Can someone perhaps spot the cause?

Thank you very much for staying with me and for any help.

Ta-ta,
----
Ffanci
* Homepage: https://freeshell.de/~silvain
* Twitter:  http://twitter.com/ffanci_silvain
* GitHub:   https://github.com/fsilvain

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

Date2016-07-19 21:25
FromVictor Lazzarini
SubjectRe: table*: index type inconsistent with output
It runs here (of course it does, since I wrote this). Not sure really what the matter is, but it rings
a bell. I seem to recall something like this being reported. Looks like a parsing problem. 
But I can’t reproduce it here.
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 19 Jul 2016, at 21:01, Ffanci Silvain  wrote:
> 
> Hey hey,
> I've had this problem cropping up several times now. A good example is the example code from the Linux Audio Conference presentation "Sound Synthesis with Periodic Linear Time-Varying Filters", the code is here:
> http://www.ime.usp.br/~ag/dl/lac15-code.zip
> 
> The proiblem can be seen in the allpassphasedist.csd:
> Csound 6.07 says:
> INIT ERROR in instr 1: table: index type inconsistent with output
> asin    tablei.a        aph     -1      1       0       1
> 
> I've had similar errors running a few examples from the Csound Journal, also regarding "distortion synthesis".
> 
> Can someone perhaps spot the cause?
> 
> Thank you very much for staying with me and for any help.
> 
> Ta-ta,
> ----
> Ffanci
> * Homepage: https://freeshell.de/~silvain
> * Twitter:  http://twitter.com/ffanci_silvain
> * GitHub:   https://github.com/fsilvain
> 
> 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

Date2016-07-19 21:29
FromVictor Lazzarini
SubjectRe: table*: index type inconsistent with output
This is where I saw it before. I thought I’d fixed it though.

https://github.com/csound/csound/issues/665#issuecomment-228432103

maybe it’s raising its ugly head again. If that is the case, I won’t be able to tackle this
until I’m back in August. Or someone else can have a look.
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 19 Jul 2016, at 21:25, Victor Lazzarini  wrote:
> 
> It runs here (of course it does, since I wrote this). Not sure really what the matter is, but it rings
> a bell. I seem to recall something like this being reported. Looks like a parsing problem. 
> But I can’t reproduce it here.
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952 
> 
>> On 19 Jul 2016, at 21:01, Ffanci Silvain  wrote:
>> 
>> Hey hey,
>> I've had this problem cropping up several times now. A good example is the example code from the Linux Audio Conference presentation "Sound Synthesis with Periodic Linear Time-Varying Filters", the code is here:
>> http://www.ime.usp.br/~ag/dl/lac15-code.zip
>> 
>> The proiblem can be seen in the allpassphasedist.csd:
>> Csound 6.07 says:
>> INIT ERROR in instr 1: table: index type inconsistent with output
>> asin    tablei.a        aph     -1      1       0       1
>> 
>> I've had similar errors running a few examples from the Csound Journal, also regarding "distortion synthesis".
>> 
>> Can someone perhaps spot the cause?
>> 
>> Thank you very much for staying with me and for any help.
>> 
>> Ta-ta,
>> ----
>> Ffanci
>> * Homepage: https://freeshell.de/~silvain
>> * Twitter:  http://twitter.com/ffanci_silvain
>> * GitHub:   https://github.com/fsilvain
>> 
>> 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

Date2016-07-19 22:25
FromFfanci Silvain
SubjectRe: table*: index type inconsistent with output
Victor Lazzarini, Jul 19 2016:

> This is where I saw it before. I thought I?d fixed it though.
YTou may have done, my current Csound build was done on june 21. I'm just trying to build the current git version.
...

Ta-ta,
----
Ffanci
* Homepage: https://freeshell.de/~silvain
* Twitter:  http://twitter.com/ffanci_silvain
* GitHub:   https://github.com/fsilvain

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

Date2016-07-20 07:18
FromFfanci Silvain
SubjectRe: table*: index type inconsistent with output
Hey hey,
the issue is partly gone. Trying a very simple example and looking at the moorer opcode from the Csound Journal article "Distortion synthesis A tutorial with Csound examples", that all works fine. Trying to run the Allpass example from the LAC presentation still fails. It compiles without errors, if I change the line:
asin tablei aph,-1,1,0,1
to
asin tablei aph,1,1,0,1
But then there is zero volume output.

Any ideas?
> Victor Lazzarini, Jul 19 2016:
>
>> This is where I saw it before. I thought I?d fixed it though.
> You may have done, my current Csound build was done on june 21. I'm just 
> trying to build the current git version.
> ...
>
> Ta-ta,
> ----
> Ffanci
> * Homepage: https://freeshell.de/~silvain
> * Twitter:  http://twitter.com/ffanci_silvain
> * GitHub:   https://github.com/fsilvain
>

Ta-ta,
----
Ffanci
* Homepage: https://freeshell.de/~silvain
* Twitter:  http://twitter.com/ffanci_silvain
* GitHub:   https://github.com/fsilvain

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