rill-sampler
Sample playback and time-series reading nodes for the Rill signal graph.
Components
SamplePlayerNode— stereo sample-playback source node. Supports one-shot, forward-loop, and ping-pong loop modes. All parameters automatable via patchbay.SampleBuffer— sample container for mono/stereo audio data with metadata (sample rate, name).TimeSeriesNode— multi-channel source node for unevenly-sampled time series. Uses binary-search + interpolation (nearest/linear/cubic).TimeSeriesReader— stand-alone reader for time-series data.load_wav()— load 16-bit PCM WAV files intoSampleBuffer(feature"wav", enabled by default).from_csv()— load time-series data from CSV string (t,channel,valueformat).
Usage
use SampleBuffer;
use SamplePlayerNode;
// Load a WAV file
let sample = load_wav.unwrap;
// Create a sample-player node (mono output port 0, stereo adds port 1)
let mut player = new;
player.load;
player.play;
Feature flags
| Feature | Description | Default |
|---|---|---|
wav |
WAV file loading via hound |
yes |
Dependencies
rill-core— signal node traits,Port,ProcessResultrill-core-dsp—SamplePlayer,InterpolatedReader,Interpolatetrait
Links
- Repository: https://github.com/DigitalRats/rill
- Documentation: https://docs.rs/rill-sampler