Update .gitignore to exclude new build and tool files
Added FodyWeavers.xsd, .dotnet-home/.dotnet, .dotnet-home/.dotnet/TelemetryStorageService, and .nuget to .gitignore to prevent tracking of generated and tool-related files.
This commit is contained in:
@@ -145,7 +145,7 @@ public class Game1 : Game
|
||||
|
||||
if (IsPressed(keyboard, Keys.Right))
|
||||
{
|
||||
_fractalPresetIndex = Math.Min(21, _fractalPresetIndex + 1);
|
||||
_fractalPresetIndex = Math.Min(23, _fractalPresetIndex + 1);
|
||||
}
|
||||
|
||||
if (IsPressed(keyboard, Keys.M))
|
||||
@@ -195,7 +195,7 @@ public class Game1 : Game
|
||||
_hudFont.DrawText(_spriteBatch, _pixel, "BEAT " + _latestFeatures.Beat.ToString("0.000"), 12, 130, 2, Color.White);
|
||||
_hudFont.DrawText(_spriteBatch, _pixel, "BPM " + _latestFeatures.Bpm.ToString("0.0"), 12, 150, 2, Color.White);
|
||||
_hudFont.DrawText(_spriteBatch, _pixel, "NOTE " + GetDetectedNoteName(_latestFeatures.DetectedNoteIndex), 12, 170, 2, Color.White);
|
||||
_hudFont.DrawText(_spriteBatch, _pixel, "CHORD " + GetDetectedChordName(_latestFeatures.DetectedChordRootIndex, _latestFeatures.DetectedChordType), 12, 190, 2, Color.White);
|
||||
_hudFont.DrawText(_spriteBatch, _pixel, "CHORD " + GetDetectedChordName(_latestFeatures.DetectedChordRootIndex, _latestFeatures.DetectedChordType, _latestFeatures.DetectedChordConfidence), 12, 190, 2, Color.White);
|
||||
_hudFont.DrawText(_spriteBatch, _pixel, "PAUSED " + (_isPaused ? "YES" : "NO"), 12, 210, 2, Color.White);
|
||||
_hudFont.DrawText(_spriteBatch, _pixel, "FPS " + _fps, 12, 230, 2, Color.White);
|
||||
_hudFont.DrawText(_spriteBatch, _pixel, "QUALITY " + _renderQuality + " 1 2 3", 12, 250, 2, Color.White);
|
||||
@@ -251,6 +251,8 @@ public class Game1 : Game
|
||||
19 => "GRAINBARS",
|
||||
20 => "NOTEDROP",
|
||||
21 => "CHORDS",
|
||||
22 => "NOTESBOOK",
|
||||
23 => "NOTESCROLL",
|
||||
_ => "JULIA"
|
||||
};
|
||||
}
|
||||
@@ -275,8 +277,13 @@ public class Game1 : Game
|
||||
};
|
||||
}
|
||||
|
||||
private static string GetDetectedChordName(int rootIndex, int chordType)
|
||||
private static string GetDetectedChordName(int rootIndex, int chordType, float confidence)
|
||||
{
|
||||
if (confidence < 0.16f)
|
||||
{
|
||||
return "-";
|
||||
}
|
||||
|
||||
string root = GetDetectedNoteName(rootIndex);
|
||||
if (root == "-")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user