Пример #1
0
 public void JumpToSample(int sample)
 {
     awaitingCallback = true;
     fmodInstance.setTimelinePosition(RythmHelpers.SampleToMillis(sample));
 }
Пример #2
0
 /// <summary>
 /// Call this method to start playing the song
 /// </summary>
 /// <param name="sample">Sample at which to start playing the song</param>
 public void Start(int sample = 0)
 {
     fmodInstance.setTimelinePosition(RythmHelpers.SampleToMillis(sample));
     fmodInstance.start();
     RuntimeManager.StudioSystem.update();
 }