/// <summary> /// Constructs a new instance. /// </summary> public Plugin() : base("VST.NET Midi Note Mapper", new VstProductInfo("VST.NET Code Samples", "Jacobi Software © 2008-2020", 2000), VstPluginCategory.Synth, VstPluginCapabilities.NoSoundInStop, 0, 0x30313233) { NoteMap = new MapNoteItemList(); }
public PluginPersistence(MapNoteItemList noteMap) { _noteMap = noteMap ?? throw new ArgumentNullException(nameof(noteMap)); }
/// <summary> /// Constructs a new instance. /// </summary> /// <param name="plugin">Must not be null.</param> public MidiProcessor(MapNoteItemList noteMap) { _noteMap = noteMap ?? throw new ArgumentNullException(nameof(noteMap)); }
/// <summary> /// Constructs a new instance. /// </summary> /// <param name="plugin">Must not be null.</param> public PluginEditor(MidiProcessor midiProcessor, MapNoteItemList noteMap) { _midiProcessor = midiProcessor ?? throw new ArgumentNullException(nameof(midiProcessor)); _noteMap = noteMap ?? throw new ArgumentNullException(nameof(noteMap)); }