Defines the size of a musical measure as the number of beats per note value.
예제 #1
0
파일: Song.cs 프로젝트: xj0229/gsf
 /// <summary>
 /// Creates a new song with a 3/4 measure size, a tempo of 240 quarter-notes per minute,
 /// mezzo-forte prevailing dynamic level, using a basic note timbre and standard CD-quality
 /// settings for the underlying sound file.
 /// </summary>
 public Song()
 {
     m_measureSize = new MeasureSize(3, NoteValue.Quarter);
     m_tempo       = new Tempo(240, NoteValue.Quarter);
     m_dynamic     = (double)Music.Dynamic.MezzoForte / 100.0D;
     m_timbre      = Music.Timbre.BasicNote;
     m_damping     = Music.Damping.Natural;
     m_noteQueue   = new List <Note>();
 }
예제 #2
0
파일: Song.cs 프로젝트: xj0229/gsf
 /// <summary>
 /// Creates a new song with a 3/4 measure size, a tempo of 240 quarter-notes per minute,
 /// mezzo-forte prevailing dynamic level, using a basic note timbre and the specified
 /// audio format settings.
 /// </summary>
 /// <param name="sampleRate">Desired sample rate</param>
 /// <param name="bitsPerSample">Desired bits-per-sample</param>
 /// <param name="channels">Desired data channels</param>
 public Song(SampleRate sampleRate, BitsPerSample bitsPerSample, DataChannels channels)
     : base(sampleRate, bitsPerSample, channels)
 {
     m_measureSize = new MeasureSize(3, NoteValue.Quarter);
     m_tempo       = new Tempo(240, NoteValue.Quarter);
     m_dynamic     = (double)Music.Dynamic.MezzoForte / 100.0D;
     m_timbre      = Music.Timbre.BasicNote;
     m_damping     = Music.Damping.Natural;
     m_noteQueue   = new List <Note>();
 }
예제 #3
0
파일: Song.cs 프로젝트: rmc00/gsf
 /// <summary>
 /// Creates a new song with a 3/4 measure size, a tempo of 240 quarter-notes per minute,
 /// mezzo-forte prevailing dynamic level, using a basic note timbre and the specified
 /// audio format settings.
 /// </summary>
 /// <param name="sampleRate">Desired sample rate</param>
 /// <param name="bitsPerSample">Desired bits-per-sample</param>
 /// <param name="channels">Desired data channels</param>
 public Song(SampleRate sampleRate, BitsPerSample bitsPerSample, DataChannels channels)
     : base(sampleRate, bitsPerSample, channels)
 {
     m_measureSize = new MeasureSize(3, NoteValue.Quarter);
     m_tempo = new Tempo(240, NoteValue.Quarter);
     m_dynamic = (double)Music.Dynamic.MezzoForte / 100.0D;
     m_timbre = Music.Timbre.BasicNote;
     m_damping = Music.Damping.Natural;
     m_noteQueue = new List<Note>();
 }
예제 #4
0
파일: Song.cs 프로젝트: rmc00/gsf
 /// <summary>
 /// Creates a new song with a 3/4 measure size, a tempo of 240 quarter-notes per minute,
 /// mezzo-forte prevailing dynamic level, using a basic note timbre and standard CD-quality
 /// settings for the underlying sound file.
 /// </summary>
 public Song()
 {
     m_measureSize = new MeasureSize(3, NoteValue.Quarter);
     m_tempo = new Tempo(240, NoteValue.Quarter);
     m_dynamic = (double)Music.Dynamic.MezzoForte / 100.0D;
     m_timbre = Music.Timbre.BasicNote;
     m_damping = Music.Damping.Natural;
     m_noteQueue = new List<Note>();
 }