Exemple #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="AirCompModel" /> class.
        /// </summary>
        /// <param name="config">The configuration.</param>
        /// <param name="outDevices">The list of out devices.</param>
        /// <param name="outChannels">The list of out channels.</param>
        protected CompModelBase(CompConfig config, IEnumerable <string> outDevices, IEnumerable <int> outChannels)
        {
            _config              = config;
            AvailableOutDevices  = outDevices;
            AvailableOutChannels = outChannels;

            CurrentScale = new ChromaticScale(Tone.C);
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="AirCompModel" /> class.
 /// </summary>
 /// <param name="config">The configuration.</param>
 /// <param name="outDevices">The list of out devices.</param>
 /// <param name="outChannels">The list of out channels.</param>
 public AirCompModel(CompConfig config, IEnumerable <string> outDevices, IEnumerable <int> outChannels)
     : base(config, outDevices, outChannels)
 {
 }