Beispiel #1
0
        public ChannelAssignment Create(
            VstPluginManager manager,
            int index,
            string c_from,
            string c_to,
            string[] cc)
        {
            ChannelAssignment module = new ChannelAssignment();

            module.GeneratorIndex = index;
            module.From           = c_from;
            module.To             = c_to;
            module.Pat            = manager.GeneratorModules[index].PluginCommandStub.GetProgram();
            if (cc != null)
            {
                module.CC = string.Join(",", cc);
            }
            return(module);
        }
        public ChannelAssignment Create(
			VstPluginManager manager,
			int index,
			string c_from,
			string c_to,
			string[] cc)
        {
            ChannelAssignment module = new ChannelAssignment();
            module.GeneratorIndex = index;
            module.From = c_from;
            module.To = c_to;
            module.Pat = manager.GeneratorModules[index].PluginCommandStub.GetProgram();
            if (cc!=null) module.CC = string.Join(",",cc);
            return module;
        }