Ive just started getting into wavetable synthesis and experimenting with VOsc. Ive noticed, that VOsc crashes when you use a Sine wave to modulate the bufpos. Without any error.
`~b0 = Buffer.alloc(s, 2048);
~b1 = Buffer.alloc(s, 2048);
~b2 = Buffer.alloc(s, 2048);
~b3 = Buffer.alloc(s, 2048);
(
var sig1, sig2, sig3, sig4, wt1, wt2, wt3, wt4, osc;
sig1 = Env([1,-1,1], [0.5,0.5], \sine).asSignal(1024);
sig2 = Env([1, -1], [1], \lin).asSignal(1024);
sig3 = Env([-1,1,-1], [1,1], \lin).asSignal(1024);
sig4 = Env([-1,-1,1], [1,1], \step).asSignal(1024);
wt1 = sig1.asWavetable;
wt2 = sig2.asWavetable;
wt3 = sig3.asWavetable;
wt4 = sig4.asWavetable;
~b0.loadCollection(wt1);
~b1.loadCollection(wt2);
~b2.loadCollection(wt3);
~b3.loadCollection(wt4);
{
osc = VOsc.ar(SinOsc.kr(1).range(~b0.bufnum,~b3.bufnum), [100,100.1,100.2,100.3]).mean!2;
}.play;
)
`
If i play this it just falls silent at some point. Any other waveform used for modulating doesnt crash. Why does the sinewave not work for modulating?