FRAME_LENGTH_SECONDS: number = SPEC_HOP_LENGTH / SAMPLE_RATE
MAX_MIDI_PITCH: 108 = 108
MEL_SPEC_BINS: 229 = 229
MIDI_PITCHES: number = MAX_MIDI_PITCH - MIN_MIDI_PITCH + 1
MIN_MIDI_PITCH: 21 = 21
SAMPLE_RATE: 16000 = 16000
SPEC_HOP_LENGTH: 512 = 512
Constants for transcription.
Copyright 2018 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.