public SmashMasterEffect()
 {
     Samplerate = 48000;
     DevInfo = new DeviceInfo();
     ParameterInfo = new Parameter[6];
     PortInfo = new Port[2];
 }
Exemple #2
0
 public MrFuzzModule()
 {
     Samplerate = 48000;
     DevInfo = new DeviceInfo();
     ParameterInfo = new Parameter[3];
     PortInfo = new Port[2];
 }
 public AudioDeviceModule()
 {
     Samplerate = 48000;
     DevInfo = new DeviceInfo();
     ParameterInfo = new Parameter[1];
     PortInfo = new Port[1];
     Controller = new SynthController(this);
 }
 public ScriptPlugin()
 {
     Samplerate = 48000;
     DevInfo = new DeviceInfo();
     ParameterInfo = new Parameter[0];
     PortInfo = new Port[1];
     ViewModel = new ScriptViewModel() { Plugin = this };
 }
 public Rodent()
 {
     Samplerate = 48000;
     DevInfo = new DeviceInfo();
     ParameterInfo = new Parameter[8];
     PortInfo = new Port[2];
     e = new Editor(this);
 }
 public BiquadPlugin()
 {
     Samplerate = 48000;
     DevInfo = new DeviceInfo();
     ParameterInfo = new Parameter[5];
     PortInfo = new Port[2];
     BiquadL = new Biquad(Biquad.FilterType.LowPass, 48000);
     BiquadR = new Biquad(Biquad.FilterType.LowPass, 48000);
 }
 public Nearfield()
 {
     Samplerate = 48000;
     DevInfo = new DeviceInfo();
     ParameterInfo = new Parameter[5];
     PortInfo = new Port[2];
     BufferLeft = new CircularBuffer(5000);
     BufferRight = new CircularBuffer(5000);
 }
 public TestbedPlugin()
 {
     Container = TestContainer.ActiveContainer;
     Container.SetSamplerate(48000);
     Samplerate = 48000;
     DevInfo = new DeviceInfo();
     ParameterInfo = new Parameter[Container.Parameters.Length];
     PortInfo = new Port[2];
 }
Exemple #9
0
 public Modelay()
 {
     Samplerate = 48000;
     DevInfo = new DeviceInfo();
     ParameterInfo = new Parameter[3];
     PortInfo = new Port[2];
     BufferLeft = new CircularBuffer(48000);
     BufferRight = new CircularBuffer(48000);
     Random = new Random();
 }
        public PolyhedrusPlugin()
        {
            AllocConsole();
            controller = new PolyhedrusNative(48000, 12003, 12004);

            Samplerate = 48000;
            devInfo = new DeviceInfo();
            ParameterInfo = new Parameter[0];
            PortInfo = new Port[1];
        }
        public LiveSPICEPlugin()
        {
            DevInfo                  = new DeviceInfo();
            DevInfo.Developer        = "";
            DevInfo.DeviceID         = "LiveSPICEVst";
            DevInfo.EditorHeight     = 200;
            DevInfo.EditorWidth      = 350;
            DevInfo.HasEditor        = true;
            DevInfo.Name             = "LiveSPICEVst";
            DevInfo.ProgramCount     = 1;
            DevInfo.Type             = DeviceType.Effect;
            DevInfo.UnsafeProcessing = true;
            DevInfo.Version          = 1000;
            DevInfo.VstId            = DeviceUtilities.GenerateIntegerId(DevInfo.DeviceID);

            string     codeBase = Assembly.GetExecutingAssembly().CodeBase;
            UriBuilder uri      = new UriBuilder(codeBase);
            string     path     = Uri.UnescapeDataString(uri.Path);

            // Not sure if this helps, but...
            GCSettings.LatencyMode = GCLatencyMode.SustainedLowLatency;

            ParameterInfo = new Parameter[0];

            PortInfo = new SharpSoundDevice.Port[2]
            {
                new SharpSoundDevice.Port()
                {
                    Direction = PortDirection.Input, Name = "Mono Input", NumberOfChannels = 1
                },
                new SharpSoundDevice.Port()
                {
                    Direction = PortDirection.Output, Name = "Mono Output", NumberOfChannels = 1
                }
            };

            // Initialize as arrays of arrays, even though we are only using one channel, since that is what the simulation takes
            inputBuffers    = new double[1][];
            inputBuffers[0] = null;

            outputBuffers    = new double[1][];
            outputBuffers[0] = null;

            SimulationProcessor = new SimulationProcessor();
        }
Exemple #12
0
 public RXG100()
 {
     Samplerate = 48000;
     DevInfo = new DeviceInfo();
     ParameterInfo = new Parameter[NUM_PARAMS];
     PortInfo = new Port[2];
 }