コード例 #1
0
 public static StyleTime FromStyleMessage(MidiMessage Message, RolandStyleData StyleData)
 {
     return(StyleTime.FromStyleTimestamp(Message.TotalTime, StyleData.Measure));
 }
コード例 #2
0
 /// <summary>
 /// Gets a StyleTime struct using a timestamp that is represented in ticks
 /// </summary>
 /// <param name="TotalTime">The timestamp in ticks</param>
 /// <param name="Style">An instance of the RolandStyle class</param>
 /// <returns>An instance of the StyleTime struct</returns>
 public static StyleTime FromStyleTimestamp(int TotalTime, Reader_STL_2var Style)
 {
     return(StyleTime.FromStyleTimestamp(TotalTime, Style.Measure));
 }
コード例 #3
0
 /// <summary>
 /// Gets a StyleTime struct using a MidiMessage object.
 /// </summary>
 /// <param name="Message">An instance of the MidiMessage class</param>
 /// <param name="Style">An instance of the RolandStyle class</param>
 /// <returns>An instance of the StyleTime struct</returns>
 public static StyleTime FromStyleMessage(MidiMessage Message, Reader_STL_2var Style)
 {
     return(StyleTime.FromStyleTimestamp(Message.TotalTime, Style));
 }