public FxReverbViewModel(SettingsMemoryFxModel model) : base("Reverb", model) { ReverbTime = new PropertyFloatViewModel(nameof(model.ReverbTime), PropertySet, new FloatTimeConverter()); ReverbLevel = new PropertyIntViewModel(nameof(model.ReverbLevel), PropertySet); ReverbDryLevel = new PropertyIntViewModel(nameof(model.ReverbDryLevel), PropertySet); }
public SettingsMemoryMasterViewModel(SettingsMemoryMasterModel model) : base(model) { Level = new PropertyIntViewModel(nameof(model.Level), PropertySet, new IntLevelConverter()); Tempo = new PropertyFloatViewModel(nameof(model.Tempo), PropertySet, new FloatTempoConverter()); Compressor = new PropertyIntViewModel(nameof(model.Compressor), PropertySet, new IntDbConverter()); Reverb = new PropertyIntViewModel(nameof(model.Reverb), PropertySet); PhonesOut = new PropertyEnumRadioViewModel <MasterPhonesOut>(nameof(model.PhonesOut), PropertySet); PhonesOutTracks = new PropertyBitwiseViewModel <TrackBitwise>(nameof(model.PhonesOutTracks), PropertySet, new TrackBitwiseToNumberConverter()); }
public SettingsMemoryTrackViewModel(int trackNumber, SettingsMemoryTrackModel model) : base(model) { TrackNumber = trackNumber; Reverse = new PropertyBoolViewModel(nameof(model.Reverse), PropertySet); PlayLevel = new PropertyIntViewModel(nameof(model.PlayLevel), PropertySet, new IntLevelConverter()); Pan = new PropertyIntViewModel(nameof(model.Pan), PropertySet, new IntPanConverter()); OneShot = new PropertyBoolViewModel(nameof(model.OneShot), PropertySet); TrackFx = new PropertyBoolViewModel(nameof(model.TrackFx), PropertySet); PlayMode = new PropertyEnumRadioViewModel <TrackPlayMode>(nameof(model.PlayMode), PropertySet); StartMode = new PropertyEnumRadioViewModel <TrackStartMode>(nameof(model.StartMode), PropertySet); StopMode = new PropertyEnumRadioViewModel <TrackStopMode>(nameof(model.StopMode), PropertySet); MeasureMode = new PropertyEnumRadioViewModel <TrackMeasureMode>(nameof(model.MeasureMode), PropertySet); MeasureLength = new PropertyIntViewModel(nameof(model.MeasureLength), PropertySet); MeasureBeat = new PropertyEnumComboViewModel <TrackMeasureBeat>(nameof(model.MeasureBeat), PropertySet, new EnumNoteConverter <TrackMeasureBeat>()); LoopSync = new PropertyBoolViewModel(nameof(model.LoopSync), PropertySet); TempoSync = new PropertyBoolViewModel(nameof(model.TempoSync), PropertySet); RecordedTempo = new PropertyFloatViewModel(nameof(model.RecordedTempo), PropertySet, new FloatTempoConverter()); WavStatus = new PropertyBoolViewModel(nameof(model.WavStatus), PropertySet); WavLength = new PropertyIntViewModel(nameof(model.WavLength), PropertySet); }