Exemplo n.º 1
0
 public MixChannel(int channelIndex) : base(channelIndex)
 {
     ChannelType = ChannelType.Channels;
     Pan         = 0;
     Pan.Min     = -50;
     Pan.Max     = 50;
     Eq          = new EQ()
     {
         On      = true,
         Gain    = 0,
         Mix     = 1,
         EqBands = new ObservableCollection <EQ.Band>()
         {
             //TODO: Import EQ bands and param minmax
             new EQ.Band()//The defaults are fine for now
             {
             },
             new EQ.Band()
             {
             },
             new EQ.Band()
             {
             },
             new EQ.Band()
             {
             }
         }
     };
     Dynamics = new Dynamics()
     {
     };
 }
Exemplo n.º 2
0
 public MixChannel(MixChannel src) : base(src)
 {
     pan        = new DoubleParameter(src.pan);
     sendLevels = new ObservableCollection <ChannelSend>(src.sendLevels.Select(x => new ChannelSend(x)));
     routing    = new ObservableCollection <ChannelRouting>(src.routing.Select(x => new ChannelRouting(x)));
     eq         = new EQ(src.eq);
     dynamics   = new Dynamics(src.dynamics);
     //TODO: Implement insert FX
     //private string insertFX;
 }
Exemplo n.º 3
0
        public MixChannel(int channelIndex, int auxes, int mixBusses) : base(channelIndex)
        {
            ChannelType = ChannelType.Channels;
            for (int i = 0; i < mixBusses; i++)
            {
                routing.Add(new ChannelRouting(i));
            }
            //Add STOut routing
            routing.Add(new ChannelRouting(-1));
            for (int i = 0; i < auxes; i++)
            {
                sendLevels.Add(new ChannelSend(i, ChannelType.Auxes));
            }

            Pan     = 0;
            Pan.Min = -50;
            Pan.Max = 50;
            Eq      = new EQ()
            {
                On      = true,
                Gain    = 0,
                Mix     = 1,
                EqBands = new ObservableCollection <EQ.Band>()
                {
                    //TODO: Import EQ bands and param minmax
                    new EQ.Band()//The defaults are fine for now
                    {
                    },
                    new EQ.Band()
                    {
                    },
                    new EQ.Band()
                    {
                    },
                    new EQ.Band()
                    {
                    }
                }
            };
            Dynamics = new Dynamics()
            {
            };
        }
Exemplo n.º 4
0
 public Dynamics(Dynamics dynamics)
 {
 }