Skip to content

Commit aaec00b

Browse files
committed
simplify test
1 parent 2681128 commit aaec00b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Spectrogram.Tests/FileFormat.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class FileFormat
1010
[Test]
1111
public void Test_Save_Format()
1212
{
13-
(int sampleRate, double[] audio, _) = WavFile.ReadStereo("../../../../../data/cant-do-that-44100.wav");
13+
(int sampleRate, double[] audio) = WavFile.ReadMono("../../../../../data/cant-do-that-44100.wav");
1414
int fftSize = 1 << 12;
1515
var spec = new Spectrogram(sampleRate, fftSize, stepSize: 700, maxFreq: 2000);
1616
spec.SetWindow(FftSharp.Window.Hanning(fftSize / 3)); // sharper window than typical

0 commit comments

Comments
 (0)