From 66825cfceb599a854d41a9f05ed165213e17ead3 Mon Sep 17 00:00:00 2001 From: Tom Barrett Date: Wed, 11 Mar 2020 08:04:30 -0500 Subject: reverses waveform and appends iterator directly --- src/tom.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/tom.rs') diff --git a/src/tom.rs b/src/tom.rs index 8a55f44..d8c8c24 100644 --- a/src/tom.rs +++ b/src/tom.rs @@ -141,6 +141,8 @@ impl Tom { }); } + self.wave.reverse(); + self.last_x += constants::SAMPLE_RATE / 60; } } -- cgit v1.2.3