/*
* ScoreUnit.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;
using System.Collections.Generic;
using Boare.Lib.Vsq;
namespace LipSync {
///
/// 楽譜の一部分を取り扱います。ただし単一の拍子で表現できる部分のみ
///
[Serializable, Obsolete]
public class ScoreUnit {
///
/// このインスタンスが表す楽譜の、曲頭からの時刻を表します
///
public float Start;
///
/// 拍子の分子
///
public int Numerator;
///
/// 拍子の分母
///
public int Denominator;
///
/// テンポの変更情報を格納したリスト
///
public List TempoList;
public ScoreUnit() {
Start = 0f;
Numerator = 4;
Denominator = 4;
TempoList = new List();
TempoList.Add( new TempoTableEntry( 0, 480000, 0.0 ) );
}
}
}