public void InitializeDevice() { DevInfo.Developer = "Valdemar Erlingsson"; DevInfo.DeviceID = "Analog Window - Interstellar IPC Plugin"; DevInfo.EditorHeight = 0; DevInfo.EditorWidth = 0; DevInfo.HasEditor = false; DevInfo.Name = "Interstellar IPC Plugin"; DevInfo.ProgramCount = 1; DevInfo.Type = DeviceType.Effect; DevInfo.Version = 1000; DevInfo.VstId = 456812594; PortInfo[0].Direction = PortDirection.Input; PortInfo[0].Name = "Stereo Input"; PortInfo[0].NumberOfChannels = 2; PortInfo[1].Direction = PortDirection.Output; PortInfo[1].Name = "Stereo Output"; PortInfo[1].NumberOfChannels = 2; for (int i = 0; i < ParameterInfo.Length; i++) { var p = new Parameter(); p.Display = "0.0"; p.Index = (uint)i; p.Name = ParameterNames[i]; p.Steps = 0; p.Value = 0.0; ParameterInfo[i] = p; } SetParameter(P_Volume, 0.5); string prc = @"C:\Src\_Tree\Audio\OscAP\OscAPGain\bin\x86\Debug\OscAPGain.exe"; Driver = new OscAP.HostDriver(prc); }
public void InitializeDevice() { DevInfo.Developer = "Valdemar Erlingsson"; DevInfo.DeviceID = "Analog Window - Interstellar IPC Plugin"; DevInfo.EditorHeight = 0; DevInfo.EditorWidth = 0; DevInfo.HasEditor = false; DevInfo.Name = "Interstellar IPC Plugin"; DevInfo.ProgramCount = 1; DevInfo.Type = DeviceType.Effect; DevInfo.Version = 1000; DevInfo.VstId = 456812594; PortInfo[0].Direction = PortDirection.Input; PortInfo[0].Name = "Stereo Input"; PortInfo[0].NumberOfChannels = 2; PortInfo[1].Direction = PortDirection.Output; PortInfo[1].Name = "Stereo Output"; PortInfo[1].NumberOfChannels = 2; for (int i = 0; i < ParameterInfo.Length; i++) { var p = new Parameter(); p.Display = "0.0"; p.Index = (uint)i; p.Name = ParameterNames[i]; p.Steps = 0; p.Value = 0.0; ParameterInfo[i] = p; } SetParameter(P_Volume, 0.5); string prc = @"C:\Src\_Tree\Audio\OscAP\OscAPGain\bin\x86\Debug\OscAPGain.exe"; Driver = new OscAP.HostDriver(prc); }