mix waveform.install_samples (Waveform v0.4.0)

View Source

Install Dirt-Samples library for SuperDirt.

Usage

mix waveform.install_samples

This task will:

  1. Check if Dirt-Samples is already installed
  2. Install Dirt-Samples via SuperCollider's Quarks system
  3. Verify the installation succeeded
  4. Provide next steps for configuration

What are Dirt-Samples?

Dirt-Samples is a large library of 217 sample banks (1800+ audio files) used by SuperDirt and TidalCycles. It includes drum machines (808, 909), percussion, synthesizers, and various musical instruments.

Requirements

  • SuperCollider must be installed and running
  • Waveform application must be started
  • ~200MB of disk space
  • Internet connection for download

After Installation

IMPORTANT: Waveform is already configured to load Dirt-Samples automatically with the correct buffer settings (numBuffers = 4096). The samples will be available after installation completes.

You may need to restart your application to ensure the samples load properly.

Troubleshooting

If samples don't load or you see "ERROR: No more buffer numbers":

  1. Check that numBuffers is set to at least 4096 (already configured in Waveform)
  2. Verify samples are installed at the correct path (this task will show it)
  3. Restart your Elixir application completely

Run mix waveform.doctor to verify your SuperDirt setup.

Summary

Functions

Callback implementation for Mix.Task.run/1.

Functions

run(args)

Callback implementation for Mix.Task.run/1.