Free Wavetables

Script for Octave

Script for batch waveform length conversion

WaveLength Converter.m (841 Bytes)
Convert any length waveform to waveform length note C2 for samplers such as Analog Rytm, Digitakt, etc.

Put the script and single cycle waveforms in the folder, run the script, and a new folder will be created, containing the converted files.

clear;
pkg load signal

#_______________________Enter any number you like.________________________________
NewLength = 734;       #[48kHz] C2 = 734, [44.1kHz] C2 = 674  Wavetable = 2048
foldername = 'Newlength Samples';  #Name of the folder to be created
lenName = '-C2'; #Change
Newfs = 48000 #Sampling Rate
Bit = 32 #BitsPerSample
#____________________________________________________________________________________

Files = dir('*.wav');
extension = '.wav';

cf = pwd;
mkdir(foldername);
df = fullfile(cf,foldername);

for n=1:length(Files)

[path,name, ext] = fileparts(Files(n).name);
[y,fs] = audioread(Files(n).name);

NewSample = interpft(y, NewLength);
NewName = [name,lenName,extension];

cd (df)
audiowrite(NewName,NewSample, Newfs,'BitsPerSample' , Bit, 'Quality', 100);
cd ../
end

If you load a short sample such as a drum sample and set the length of the waveform to be converted to 2048samples, you can use Wavetable as a drum machine in Tone2 Icarus.
It would be interesting to use it with monomachine.


Note C Length
Analog Rytm, Digitakt , Model:Samples[Sampling Rate :48kHz]

  • C1 = 1468
  • C2 = 734
  • C3 = 367

Octatrack[Sampling Rate :44.1kHz]

  • C1 = 1348
  • C2 = 674
  • C3 = 337

Wavetable Length
Most Wavetable synths = 2048
Ableton Wavetable = 1024

2 Likes