I’ve started tinkering around with Java as I need accurate timing to trigger some envelopes.
I have one global envelope which I set using the function objection. I want to copy this envelope (using the listdump message) to different mxj objects which can then be triggered independently.
I’m having trouble with data types. According to the documentation you need to have an Atom data type when handling lists as arguments. I then want to subtract values of the list to add to an array which will be output as a message to the line~ object.
// this may be a backwards way of initialising, still taking baby steps
Atom ramp = new Atom;
Atom line_message = new Atom;
public void set_ramp(Atom args)
for(int i = 0; i < args.length; i++)
//pass list to ramp array
ramp[i] = args[i];