Framework4Bitwig
Framework4Bitwig copied to clipboard
Access to samples and sample editing
There are 2 cases:
- Sample in clip: Clip.getSample()
- Samples in the Sampler: Device.hasSamples(), Device.getSample(index)
Required API features:
- get sample waveform data for drawing -> requires a window into the sample with a zoom factor -> functions for setting the start, end and zoom factor (incl. vertical zoom factor)
- Set start, end, loop of sample (could be similar to the API for clips)
- Set stretch mode, set stretch factor
- Slice to drum machine, slice to sampler (with parameters like in the dialogs)