public void Modify(MidiMessage input, IMidiParser parser, ulong delta, int msg, params byte[] data)
        {
            this.track = track;

            this.oldDelta = input.DeltaTime;
            this.oldMessage = input.Message;
            this.oldData = input.Data;
            //
            this.newDelta = delta;
            this.newMessage = msg;
            this.newData = data;
        }
Beispiel #2
0
        static public Jacobi.Vst.Core.VstMidiSysExEvent ToVstMidiSysex(this MidiMessage item, int offset, ITimeConfiguration config, SampleClock c)
        {
            int samples = c.SolveSamples(item.DeltaTime).Samples32Floor - offset;

            return(new Jacobi.Vst.Core.VstMidiSysExEvent(samples, (item as MidiSysexMessage).SystemData));
        }