All Classes Namespaces Functions Variables Enumerations Enumerator Modules Pages
List of all members
WavetableConverter Class Reference

Detailed Description

Converts a directory containing the individual wavetable files into a ValueTree that can be loaded by a WavetableSynth.

Simply create one of these on the stack and call convertDirectoryToValueTree. It will create a ValueTree with the following structure:

    <wavetable noteNumber="X" amount="64" data="dataAsFloat" sampleRate="48000.0"/>

It assumes 48kHz mono files as input.

directoryPaththe directory where the samples are. It assumes the following file name convenience: NOTENAME_WAVETABLEINDEX.wav - with NOTENAME base octave 3 and WAVETABLEINDEX 0 - 63

©2017 HISE. This documentation is autogenerated from the HISE source code using Doxygen.