/*
* TimeSig.cs
* Copyright (c) 2007-2009 kbinani
*
* This file is part of LipSync.
*
* LipSync is free software; you can redistribute it and/or
* modify it under the terms of the BSD License.
*
* LipSync is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
using System;
namespace LipSync {
///
/// 旧バージョン用。現在は使われていない。
///
[Serializable, Obsolete]
public class TimeSig {
public TimeSigType Type;
///
/// 拍子・またはテンポが変更される時間位置
///
public float Start;
///
/// 拍子変更後の4分音符の長さ
///
public float Length;
///
/// 拍子の分母
///
public int Denominator;
///
/// 拍子の分子
///
public int Numerator;
public TimeSig( TimeSigType type, float start, float length, int denominator, int numerator ) {
Type = type;
Start = start;
Length = length;
Denominator = denominator;
Numerator = numerator;
}
}
}