rv.modules.sampler

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

“Sampler” SunVox Synth Module

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

<Range 1..32>

8

06 (6)

rec_threshold

<Range 0..10000>

4

07 (7)

tick_length

<Range 0..2048>

128

08 (8)

record

<enum ‘Record’>

<Record.stop: 0>

09 (9)

reverse

<class ‘bool’>

False

0a (10)

attack

<Range 0..32768>

0

0b (11)

release

<Range 0..32768>

32768

0c (12)

vibrato_type

<enum ‘VibratoType’>

<VibratoType.sin: 0>

0d (13)

vibrato_attack

<Range 0..255>

0

0e (14)

vibrato_depth

<Range 0..255>

0

0f (15)

vibrato_rate

<Range 0..63>

0

10 (16)

volume_fadeout

<Range 0..8192>

0

class Sampler.SampleInterpolation(*values)

An enumeration.

Name

Value

off

0

linear

1

spline

2

class Sampler.EnvelopeInterpolation(*values)

An enumeration.

Name

Value

off

0

linear

1