From b3b6e6fd6b39e7f2bbbd8e2209302590d6d155eb Mon Sep 17 00:00:00 2001 From: Jamie Bullock Date: Tue, 11 Nov 2014 17:30:17 +0000 Subject: Add sawtooth tests --- tests/xttest_util.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/xttest_util.hpp') diff --git a/tests/xttest_util.hpp b/tests/xttest_util.hpp index 381f2cf..dbf075c 100644 --- a/tests/xttest_util.hpp +++ b/tests/xttest_util.hpp @@ -5,6 +5,9 @@ // Fill table with sine wave at given frequency and amplitude void xttest_gen_sine(double *table, uint32_t tablesize, double samplerate, double frequency, double amplitude); +// Fill table with sawtooth wave at given frequency and amplitude +void xttest_gen_sawtooth(double *table, uint32_t tablesize, double samplerate, double frequency, double amplitude); + // Fill table with noise at given frequency and amplitude // N.B. The implementation actually provides "fake" noise from a table for reproducible testing void xttest_gen_noise(double *table, uint32_t tablesize, double amplitude); -- cgit v1.2.3