Exemple #1
0
 /// <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();
 }
Exemple #2
0
 public PluginPersistence(MapNoteItemList noteMap)
 {
     _noteMap = noteMap ?? throw new ArgumentNullException(nameof(noteMap));
 }
Exemple #3
0
 /// <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));
 }
Exemple #4
0
 /// <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));
 }