Пример #1
0
 /// <summary>
 /// Initializes a new track with the specified sample and beat pattern.
 /// </summary>
 /// <param name="sample">The sample for this track.</param>
 /// <param name="pattern">The pattern in which the sample is played in this track.</param>
 public Track(WaveData sample, bool[] pattern)
 {
     _sample = sample;
     _pattern = pattern;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new WaveDataReader for the specified WaveData.
 /// </summary>
 /// <param name="data">The wave data from which bytes will be read.</param>
 public WaveDataReader(WaveData data)
 {
     _data = data;
 }