[Csnd] Error using ftgentmp with arrays

ftgen can use arrays without issue, however ftgentmp reports an error if an array is used, whether function(al) syntax is used or not.

Here's an example:

<CsoundSynthesizer>
<CsOptions>
-odac
</CsOptions>
<CsInstruments>

sr = 48000
ksmps = 32
nchnls = 1
0dbfs = 1

instr 1
  iWave = ftgentmp(0, 0, 384, 16,\
        0, 128, -2,\
        1, 128, 2,\
        -1, 128, 3 0)
endin

instr 2
  iArr[] fillarray 0, 128, -2,\
        1, 128, 2,\
        -1, 128, 8, 0
  iWave = ftgen(0, 0, 384, 16, iArr)
endin

instr 3
  iArr[] fillarray 1, 0, 1, 0
  iWave = ftgen(0, 0, 1024, 10, iArr)
endin

</CsInstruments>
<CsScore>
i1 0 .1
i2 .1 .1
i3 .2 .1
</CsScore>
</CsoundSynthesizer>

In this case if either instr 2 or 3 is changed from ftgen to ftgentmp the error occurs and parsing fails:

error: opcode 'ftgentmp' with arg types cccci[] not found etc.

I wanted to check if I'm doing something wrong or whether to possibly file an issue on github.

Best,
Scott

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        Issues · csound/csound · GitHub
Discussions of bugs and features can be posted here

ftgentmp does not take arrays, it's a completely different opcode.

Prof. Victor Lazzarini
Maynooth University
Ireland