Example #1
0
 public Mapping(Stream stream)
     : base(stream)
 {
     MidiNoteBindingId = stream.ReadInt32BigE();
     Type = (MappingType)stream.ReadInt32BigE();
     TraktorControlId = stream.ReadInt32BigE();
     Settings = new MappingSettings(stream);
 }
Example #2
0
 public MidiDefinition(Stream stream)
     : base(stream)
 {
     MidiNote = stream.ReadWideStringBigE();
     Unknown1 = stream.ReadInt32BigE();
     Unknown2 = stream.ReadInt32BigE();
     Velocity = stream.ReadFloatBigE();
     EncoderMode = (MidiEncoderMode) stream.ReadInt32BigE();
     ControlId = stream.ReadInt32BigE();
 }
Example #3
0
        public MappingsList(Stream stream)
            : base(stream)
        {
            int count = stream.ReadInt32BigE();
            Mappings = new List<Mapping>();

            for (int i = 0; i < count; i++)
                Mappings.Add(new Mapping(stream));
        }
        public MidiNoteBindingList(Stream stream)
            : base(stream)
        {
            int count = stream.ReadInt32BigE();
            Bindings = new List<MidiNoteBinding>();

            for (int i = 0; i < count; i++)
                Bindings.Add(new MidiNoteBinding(stream));
        }
Example #5
0
        public DevicesList(Stream stream)
            : base(stream)
        {
            int count = stream.ReadInt32BigE();
            List = new List<Device>();

            for (int i = 0; i < count; i++)
                List.Add(new Device(stream));
        }
        public MidiOutDefinitions(Stream stream)
            : base(stream)
        {
            int count = stream.ReadInt32BigE();
            Definitions = new List<MidiDefinition>();

            for (int i = 0; i < count; i++)
                Definitions.Add(new MidiDefinition(stream));
        }
Example #7
0
 public DIOI(Stream stream)
     : base(stream)
 {
     Unknown = stream.ReadInt32BigE();
 }
 public MappingSettings(Stream stream)
     : base(stream)
 {
     Unknown1 = stream.ReadInt32BigE();
     ControllerType = (MappingControllerType) stream.ReadInt32BigE();
     InteractionMode = (MappingInteractionMode) stream.ReadInt32BigE();
     Deck = (MappingTargetDeck) stream.ReadInt32BigE();
     AutoRepeat = stream.ReadBoolBigE();
     Invert = stream.ReadBoolBigE();
     SoftTakeover = stream.ReadBoolBigE();
     RotarySensitivity = stream.ReadFloatBigE();
     RotaryAcceleration = stream.ReadFloatBigE();
     Unknown10 = stream.ReadInt32BigE();
     Unknown11 = stream.ReadInt32BigE();
     SetValueTo = stream.ReadFloatBigE();
     Comment = stream.ReadWideStringBigE();
     ModifierOneId = stream.ReadInt32BigE();
     Unknown15 = stream.ReadInt32BigE();
     ModifierOneValue = stream.ReadInt32BigE();
     ModifierTwoId = stream.ReadInt32BigE();
     Unknown18 = stream.ReadInt32BigE();
     ModifierTwoValue = stream.ReadInt32BigE();
     Unknown20 = stream.ReadInt32BigE();
     LedMinControllerRange = stream.ReadFloatBigE();
     Unknown22 = stream.ReadInt32BigE();
     LedMaxControllerRange = stream.ReadFloatBigE();
     LedMinMidiRange = stream.ReadInt32BigE();
     LedMaxMidiRange = stream.ReadInt32BigE();
     LedInvert = stream.ReadInt32BigE();
     LedBlend = stream.ReadInt32BigE();
     Unknown29 = stream.ReadInt32BigE();
     Resolution = (MappingResolution) stream.ReadInt32BigE();
     Unknown30 = stream.ReadInt32BigE();
 }
Example #9
0
 protected Frame(Stream stream)
 {
     FrameId = stream.ReadASCIIString(4);
     FrameSizeOnDisk = stream.ReadInt32BigE();
 }
Example #10
0
 public VersionInfo(Stream stream)
     : base(stream)
 {
     Version = stream.ReadWideStringBigE();
     MappingFileRevision = stream.ReadInt32BigE();
 }
Example #11
0
 public DeviceTargetInfo(Stream stream)
     : base(stream)
 {
     Target = (DeviceTarget) stream.ReadInt32BigE();
 }
Example #12
0
 public MidiNoteBinding(Stream stream)
     : base(stream)
 {
     BindingId = stream.ReadInt32BigE();
     MidiNote = stream.ReadWideStringBigE();
 }