wallabra / matt

MATT (Matrix Tracker) – an experimental matrix-routing tracker format and engine.
MIT License
1 stars 0 forks source link

(MatT Basics) Sampler #3

Open wallabra opened 1 year ago

wallabra commented 1 year ago

An object that refers to sample audio data, and is able to resample it and keep track of its current play position, respecting said sample data's loop points (with the aid of Status Commands).

It should remember the last time it resampled, or rather, the sample rate of the last resample, so it can just use that instead of resampling every time audio is requested.

For more info on integrating with engine, see another example: #2.