MCPcopy Create free account
hub / github.com/TheWaveWarden/odin2 / startWriteWavetablesToFile

Method startWriteWavetablesToFile

Source/Utilities.cpp:961–969  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

959}
960
961void Utilities::startWriteWavetablesToFile() {
962 std::ofstream output_file;
963 output_file.open("/home/frot/odin2/Source/audio/Oscillators/"
964 "Wavetables/Tables/WavetableData.cpp");
965
966 output_file << "#include \"WavetableData.h\"\n\nconst float "
967 "wavetable_data[NUMBER_OF_WAVETABLES][SUBTABLES_PER_WAVETABLE]"
968 "[WAVETABLE_LENGTH] = {";
969}
970
971void Utilities::writeWavetableToFile(int index_wavetable) {
972

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected