I solved my array copy/paste issue. Here it is.
Posted: Mon Jul 24, 2017 2:05 am
So in my plugin I have 3 windows - switched gui's so only one open at a time.
In each window I have 4 parameters created with an array = an envelope.
I wanted to be able to copy from one array to the other.
I solved this but then I realised that I might want to copy from say parameter 1 in window 1 to parameter 4 in window 3.
So I needed to be able to copy an array from any of the 4 arrays in each window and to be able to paste it into any of the 4 arrays in each window.
I thought of using the int from the gui switching to route it , but that had problems , selectors and multiplexes hold their value so just switching a window would do a paste.
So I came up with this , pretty simple in the end....I hope ? Being a noob I might be missing a much easier way to do this and if so feel free to tell me
In each window I have 4 parameters created with an array = an envelope.
I wanted to be able to copy from one array to the other.
I solved this but then I realised that I might want to copy from say parameter 1 in window 1 to parameter 4 in window 3.
So I needed to be able to copy an array from any of the 4 arrays in each window and to be able to paste it into any of the 4 arrays in each window.
I thought of using the int from the gui switching to route it , but that had problems , selectors and multiplexes hold their value so just switching a window would do a paste.
So I came up with this , pretty simple in the end....I hope ? Being a noob I might be missing a much easier way to do this and if so feel free to tell me