示例#1
0
        public void TestMethod1()
        {
            var t = new PolyhedrusNative(48000, 12003, 12004);
            var data = t.GetWavetable(0);

            var pm = new PlotModel();
            pm.AddLine(data.WavetableData.Take(20000));
            pm.Show();
        }
示例#2
0
        public PolyhedrusPlugin()
        {
            AllocConsole();
            controller = new PolyhedrusNative(48000, 12003, 12004);

            Samplerate    = 48000;
            devInfo       = new DeviceInfo();
            ParameterInfo = new Parameter[0];
            PortInfo      = new Port[1];
        }
        public PolyhedrusPlugin()
        {
            AllocConsole();
            controller = new PolyhedrusNative(48000, 12003, 12004);

            Samplerate = 48000;
            devInfo = new DeviceInfo();
            ParameterInfo = new Parameter[0];
            PortInfo = new Port[1];
        }