Skip to content

πŸŽ› πŸ”Š A Python library for audio.

Reformatting.

Peter Sobot1d8ac3d0ea8f
diff --git a/pedalboard/python_bindings.cpp b/pedalboard/python_bindings.cpp
index 8ddd9a5..24e25cc 100644
--- a/pedalboard/python_bindings.cpp
+++ b/pedalboard/python_bindings.cpp
@@ -32,8 +32,8 @@ namespace py = pybind11;
#include "Plugin.h"
#include "process.h"
-#include "plugin_templates/Resample.h"
#include "plugin_templates/PrimeWithSilence.h"
+#include "plugin_templates/Resample.h"
#include "plugins/AddLatency.h"
#include "plugins/Chorus.h"
diff --git a/tests/test_resample.py b/tests/test_resample.py
index 5273b11..dc330c0 100644
--- a/tests/test_resample.py
+++ b/tests/test_resample.py
@@ -17,7 +17,7 @@
import pytest
import numpy as np
-from pedalboard import Pedalboard, Resample
+from pedalboard import Resample
from pedalboard_native._internal import ResampleWithLatency
from .utils import generate_sine_at
@@ -54,7 +54,6 @@ def test_resample(
plugin = plugin_class(target_sample_rate, quality=quality)
output = plugin.process(sine_wave, sample_rate, buffer_size=buffer_size)
np.testing.assert_allclose(sine_wave, output, atol=TOLERANCE_PER_QUALITY[quality])
-
@pytest.mark.parametrize("fundamental_hz", [440])