Skip to content

Use the same Sample object for tables of different lenght #293

Description

@leobel96

In the examples/08.Samples/Samples_Tables_Arrays/Samples_Tables_Arrays.ino example, 11 tables of the same length are being used. This is a very specific scenario and, when dealing with drums for example, it's almost impossible to have kicks, hats, ... all of the same length. Is there a way of having that NUM_TABLE_CELLS changeable on-the-fly so that the same Sample object can be reused with samples of different length? I guess that it has been made like this so that many operations can be done directly in compilation but, MCU like the RP2040 can easily handle performing those calculations on the fly IMO.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions