< Back to IRCAM Forum

Lua melt-hybrid creation

Hello
I am confused by how to create a melt-hybrid object. The mix-hybrid is created with a table that has object1 and object2 fields. In mlys-lua-init.lua the code for creating melt-hybrid is looking for an input field and I am not seeing how it is looking for the two objects to melt.

Hi testcase!

Sorry for the late reply.
The input field will expect a ‘table’ (curly brackets) of object references.
So for instance:

obj1 = make_object{...}
obj2 = make_object{...}
make_object{kind="melt-hybrid", name="MyMeltHybrid",
            objects={obj1,obj2}
            interpolation={0.3,0.5}}

Robert