First time here? Check out the FAQ!
x

Can I use wavetables less than 4096 in a waveshaper?

+1 vote
550 views

I'm looking to interpolate a wave table that is of an arbitrary length and render it to 4096 samp. I thought about using a Waveshaper  to do that, with a time index looking it up at 4096 samp frequency. Would that generate an interpolated single cycle of 4096 samp, from an arbitrary length wave table loaded from ?filename

 

asked Jun 3, 2019 in Sound Design by cristian-vogel (Master) (8,440 points)

2 Answers

0 votes
i conducted some experiments, and apparently yes this works fine , but I think its probably a good idea to only work with ?filename samples that match powers of two..
answered Jun 3, 2019 by cristian-vogel (Master) (8,440 points)
0 votes
Sounds like you've solved the problem but in case other people are looking for ways to create 4096-sample waveforms, there are several approaches that would work. First thing is to check whether the Sound you're using actually requires a 4096-sample wavetable. If it does, then here are some approaches:

• In the Wave editor, select the waveform, then Modify> Change duration to 4096. If this wavetable is intended for use as one cycle in an Oscillator, choose Modify>Make cycle

• If you are creating the wavetables on the fly, you could play the sample with a FunctionGenerator with the Duration set to 4096 samp feeding into a DiskRecorder (or use it immediately using a MemoryWriter/reader combination). If you have a lot of files to extend, you could apply Action>Batch processing to this Sound.
answered Jun 3, 2019 by ssc (Savant) (128,080 points)
I've been using the change duration to change wavetables that are less than 4096 sample to 4096. There is an interpolation feature that let's you set the number of points. It seems to let you type any number in the box albeit the box only displays two digits. I'm wondering what's the maximum - is it 99?
...