Expand description
Module for generic training and inference helpers.
Structs
- Module which represents a Sigmoid operation of variable strength.
- The record type for the module.
- The record item type for the module.
Functions
- Produces a u128 from a 128 element array of 0s and 1s.
- Folds the 128-bit binary signature of the the notes into a 12-bit signature (which represent one octave)
- Gets the “deterministic guess” for a given kord item.
- Run a “harmonic convolution” over the frequency space data.
- Create a linearly spaced vector.
- Load the kord sample from the binary file into a new
KordItem. - Convert the
FREQUENCY_SPACE_SIZEf32s in frequency space intoMEL_SPACE_SIZEmel filter bands. - Run a note-binned “harmonic convolution” over the frequency space data.
- Save the kord sample into a binary file.
- Produces a 128 element array of 0s and 1s from a u128.