Exemple #1
0
 /// <summary>
 /// Constructs a new instance.
 /// </summary>
 public Plugin()
     : base("VST.NET Midi Note Sampler", 36373435,
            new VstProductInfo("VST.NET Code Samples", "Jacobi Software © 2008-2020", 2000),
            VstPluginCategory.Synth)
 {
     SampleManager = new SampleManager();
 }
Exemple #2
0
 /// <summary>
 /// Constructs a new instance.
 /// </summary>
 public Plugin()
     : base("VST.NET Midi Note Sampler",
            new VstProductInfo("VST.NET Code Samples", "Jacobi Software (c) 2011", 1000),
            VstPluginCategory.Synth,
            VstPluginCapabilities.NoSoundInStop,
            0,
            36373435)
 {
     SampleManager = new SampleManager();
 }
Exemple #3
0
 /// <summary>
 /// Constructs a new instance.
 /// </summary>
 /// <param name="plugin"></param>
 public MidiProcessor(SampleManager sampleManager)
 {
     _sampleManager = sampleManager ?? throw new ArgumentNullException(nameof(sampleManager));
 }
Exemple #4
0
 /// <summary>
 /// Constructs a new instance.
 /// </summary>
 /// <param name="plugin">Must not be null.</param>
 public AudioProcessor(SampleManager sampleManager)
     : base(2, 2, 0, noSoundInStop: true)
 {
     _sampleManager = sampleManager ?? throw new ArgumentNullException(nameof(sampleManager));
 }