rv.modules.sampler

class rv.modules.sampler.Sampler(**kwargs)[source]

“Sampler” SunVox Synth Module

Note

Radiant Voices only supports sampler modules in files that were saved using newer versions of SunVox.

Files created using older versions of SunVox, such as some of the files in the simple_examples included with SunVox, must first be loaded into the latest version of SunVox and then saved.

Behaviors:

  • receives_notes
  • sends_audio

Controllers:

Number Name Type Default
01 (1) volume <Range 0..512> 256
02 (2) panning <Range -128..128> 0
03 (3) sample_interpolation <enum ‘SampleInterpolation’> <SampleInterpolation.spline: 2>
04 (4) envelope_interpolation <enum ‘EnvelopeInterpolation’> <EnvelopeInterpolation.linear: 1>
05 (5) polyphony_ch <Range 1..32> 8
06 (6) rec_threshold <Range 0..10000> 4
07 (7) vibrato_type <enum ‘VibratoType’> <VibratoType.sin: 0>
08 (8) vibrato_attack <Range 0..255> 0
09 (9) vibrato_depth <Range 0..255> 0
0a (10) vibrato_rate <Range 0..63> 0
0b (11) volume_fadeout <Range 0..8192> 0
class Sampler.SampleInterpolation

An enumeration.

Name Value
off 0
linear 1
spline 2
class Sampler.EnvelopeInterpolation

An enumeration.

Name Value
off 0
linear 1