Skip to content

beat16 does not pass through timebase #117

Closed

Description

@garthy
diff --git a/lib8tion.h b/lib8tion.h
index a32e6b4..638cf18 100644
--- a/lib8tion.h
+++ b/lib8tion.h
@@ -1896,7 +1896,7 @@ LIB8STATIC uint16_t beat16( accum88 beats_per_minute, uint
 {
     // Convert simple 8-bit BPM's to full Q8.8 accum88's if needed
     if( beats_per_minute < 256) beats_per_minute <<= 8;
-    return beat88(beats_per_minute);
+    return beat88(beats_per_minute, timebase);
 }

 // beat8 generates an 8-bit 'sawtooth' wave at a given BPM

Activity

  1. kriegsman commented on Jan 11, 2015

    @kriegsman
    Member

    Thanks - good catch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions