Skip to content

Commit

Permalink
Track pitch value by default in Playback
Browse files Browse the repository at this point in the history
  • Loading branch information
melanchall committed Jan 21, 2025
1 parent 71c3b55 commit 749c7b7
Show file tree
Hide file tree
Showing 4 changed files with 603 additions and 244 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public sealed partial class PlaybackTests
[Retry(OnTheFlyChecksRetriesNumber)]
[Test]
public void CheckPlaybackDataChangesOnTheFly_AddAtAdvanceByOne(
[Values(1, 2, 3, 4, 8, 16, 17, 32, 50, 51, 64)] int notesCount,
[Values(1, 2, 3, 4, 8, 16, 17, 32, 50, 51)] int notesCount,
[Values(0, 10)] int gapMs)
{
var noteLengthMs = 20;
Expand Down Expand Up @@ -65,7 +65,7 @@ public void CheckPlaybackDataChangesOnTheFly_AddAtAdvanceByOne(
[Retry(OnTheFlyChecksRetriesNumber)]
[Test]
public void CheckPlaybackDataChangesOnTheFly_AddAtAdvanceByOne_WithEndMovesBehindCurrentTime(
[Values(1, 2, 3, 4, 8, 16, 17, 32, 50, 51, 64)] int notesCount)
[Values(1, 2, 3, 4, 8, 16, 17, 32, 50, 51)] int notesCount)
{
var noteLengthMs = 20;
var lastEventTime = notesCount * noteLengthMs + 20;
Expand Down Expand Up @@ -116,7 +116,7 @@ public void CheckPlaybackDataChangesOnTheFly_AddAtAdvanceByOne_WithEndMovesBehin
[Retry(OnTheFlyChecksRetriesNumber)]
[Test]
public void CheckPlaybackDataChangesOnTheFly_AddAtAdvanceByOneWithOverlapping(
[Values(1, 2, 3, 4, 8, 16, 17, 32, 50, 51, 64)] int notesCount)
[Values(1, 2, 3, 4, 8, 16, 17, 32, 50, 51)] int notesCount)
{
var overlappedMs = 5;
var noteLengthMs = 20;
Expand Down Expand Up @@ -166,7 +166,7 @@ public void CheckPlaybackDataChangesOnTheFly_AddAtAdvanceByOneWithOverlapping(
[Retry(OnTheFlyChecksRetriesNumber)]
[Test]
public void CheckPlaybackDataChangesOnTheFly_BatchAdd_1(
[Values(1, 2, 3, 4, 8, 16, 17, 32, 50, 51, 64)] int notesCount)
[Values(1, 2, 3, 4, 8, 16, 17, 32, 50, 51)] int notesCount)
{
var noteLengthMs = 20;
var lastEventTime = notesCount * noteLengthMs + 20;
Expand Down Expand Up @@ -268,7 +268,7 @@ public void CheckPlaybackDataChangesOnTheFly_BatchAdd_2(
[Retry(OnTheFlyChecksRetriesNumber)]
[Test]
public void CheckPlaybackDataChangesOnTheFly_RemoveByOne(
[Values(1, 2, 3, 4, 8, 16, 17, 32, 50, 51, 64)] int notesCount)
[Values(1, 2, 3, 4, 8, 16, 17, 32, 50, 51)] int notesCount)
{
var noteLengthMs = 20;

Expand Down Expand Up @@ -305,7 +305,7 @@ public void CheckPlaybackDataChangesOnTheFly_RemoveByOne(
[Retry(OnTheFlyChecksRetriesNumber)]
[Test]
public void CheckPlaybackDataChangesOnTheFly_RemoveAtAdvance(
[Values(1, 2, 3, 4, 8, 16, 17, 32, 50, 51, 64)] int notesCount)
[Values(1, 2, 3, 4, 8, 16, 17, 32, 50, 51)] int notesCount)
{
var noteLengthMs = 40;

Expand Down Expand Up @@ -365,7 +365,7 @@ public void CheckPlaybackDataChangesOnTheFly_ShiftNoteAtAdvance()
[Retry(OnTheFlyChecksRetriesNumber)]
[Test]
public void CheckPlaybackDataChangesOnTheFly_AddAndRemoveAtAdvanceByOne(
[Values(1, 2, 3, 4, 8, 16, 17, 32, 50, 51, 64)] int notesCount,
[Values(1, 2, 3, 4, 8, 16, 17, 32, 50, 51)] int notesCount,
[Values(0, 10)] int gapMs,
[Values] bool viaChangeCollection)
{
Expand Down Expand Up @@ -418,7 +418,7 @@ public void CheckPlaybackDataChangesOnTheFly_AddAndRemoveAtAdvanceByOne(
[Retry(OnTheFlyChecksRetriesNumber)]
[Test]
public void CheckPlaybackDataChangesOnTheFly_AddAtAdvanceAndRemovePastByOne(
[Values(1, 2, 3, 4, 8, 16, 17, 32, 50, 51, 64)] int notesCount)
[Values(1, 2, 3, 4, 8, 16, 17, 32, 50, 51)] int notesCount)
{
var noteLengthMs = 20;
var lastEventTime = notesCount * noteLengthMs + 20;
Expand Down
Loading

0 comments on commit 749c7b7

Please sign in to comment.