MCPcopy Create free account
hub / github.com/DamRsn/NeuralNote / ConvertParams

Class ConvertParams

Lib/Model/Notes.h:35–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 } Event;
34
35 typedef struct ConvertParams {
36 /* Note segmentation (0.05 - 0.95, Split-Merge Notes) */
37 float onsetThreshold = 0.3;
38 /* Confidence threshold (0.05 to 0.95, More-Less notes) */
39 float frameThreshold = 0.5;
40 /* Minimum note length in number of frames */
41 int minNoteLengthFrames = 11;
42 bool inferOnsets = true;
43 float maxFrequency = -1; // in Hz, -1 means unset
44 float minFrequency = -1; // in Hz, -1 means unset
45 bool melodiaTrick = true;
46 PitchBendModes pitchBend = NoPitchBend;
47 int energyThreshold = 11;
48 } ConvertParams;
49
50 /**
51 * Create note events based on postegriorgram inputs

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected