Esempio n. 1
0
 public void Load(BinaryReader br)
 {
     br.ReadByte();//version
     Intensity       = br.ReadSingle();
     LongRhythm      = br.ReadSingle();
     LongRhythmLevel = br.ReadSingle();
     LongTempogram.Load(br);
     ShortTempogram.Load(br);
 }
Esempio n. 2
0
 public void Store(BinaryWriter bw)
 {
     bw.Write((byte)0); //version
     bw.Write(Intensity);
     bw.Write(LongRhythm);
     bw.Write(LongRhythmLevel);
     LongTempogram.Store(bw);
     ShortTempogram.Store(bw);
 }