Csound Csound-dev Csound-tekno Search About

How to pass k[] to Lua?

Date2017-02-16 07:47
FromGleb
SubjectHow to pass k[] to Lua?
Dear Csounders,

I have a question on Lua opcodes and entry1.c
I would like to pass to Lua some k-rate array.
All Lua opcodes have similar OENTRY types, see /Opcodes/LuaCsound.cpp
- a T for string name of an opcode, and a lot of N.

N begins an indef list of args (any count/rate i,k,a,S), but it seems to not
support k[]
Can it be fixed somehow, or it is safer and better to find another solution,
like turning k[] into ftable etc...

Thanks!






-----
Gleb Rogozinsky, PhD
Associated Professor
Interactive Arts Department
Saint-Petersburg University of Film and Television

Deputy Director of Medialab
Saint-Petersburg University of Telecommunications
--
View this message in context: http://csound.1045644.n5.nabble.com/Csnd-How-to-pass-k-to-Lua-tp5754614.html
Sent from the Csound - General mailing list archive at Nabble.com.

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