public void Load(BinaryReader br) { br.ReadByte();//version Intensity = br.ReadSingle(); LongRhythm = br.ReadSingle(); LongRhythmLevel = br.ReadSingle(); LongTempogram.Load(br); ShortTempogram.Load(br); }
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); }