using System; using System.ComponentModel; using System.Runtime.CompilerServices; namespace QuikDawEditor.EditingClasses; public class EqualizerBand : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; private void NotifyPropertyChanged([CallerMemberName] string propertyName = "") { if (PropertyChanged != null) { PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } public float Frequency { get; set; } public float Bandwidth { get; set; } private float _Gain = 0f; public float Gain { get { return _Gain; } set { _Gain = value; NotifyPropertyChanged(nameof(Gain)); } } }