Exemplo n.º 1
0
 public void ReadChunk(string id, long length, DarkInStream s)
 {
     if (id.Equals("CHAN"))
     {
         int index;
         s.Read(out index);
         Channels[index] = new Channel(index);
         s.ReadAllChunks(Channels[index]);
     }
 }
Exemplo n.º 2
0
 public Patch(DarkInStream s)
     : this()
 {
     s.Read(out Time);
     s.ReadByteArray(controllers);
 }
Exemplo n.º 3
0
 public Event(DarkInStream s)
 {
     s.Read(out Time);
     Message = new MidiMessage(s.ReadUInt());
 }
Exemplo n.º 4
0
 public NoteEvent(DarkInStream s)
 {
     s.Read(out StartTime);
     s.Read(out Note);
     s.Read(out Velocity);
     s.Read(out Length);
 }
Exemplo n.º 5
0
 public void Read(DarkInStream s)
 {
     s.Read(out StartTime);
     s.Read(out Length);
     s.ReadAllChunks(this);
 }