90261ba65239be82de5e01e912490e57d622360c,nussl/separation/melodia.py,Melodia,create_harmonic_mask,#Melodia#Any#,145

Before Change


        return melody_signal

    def create_harmonic_mask(self, melody_signal):
        normalized_melody_stft = np.abs(melody_signal.stft())
        normalized_melody_stft /= np.max(normalized_melody_stft)

        // Need to threshold the melody stft since the synthesized
        // F0 sequence overtones are at different weights.
        normalized_melody_stft = normalized_melody_stft > 1e-2

After Change


        :return: 
        

        melody_signal.stft()
        normalized_melody_stft = melody_signal.log_magnitude_spectrogram_data

        // Need to threshold the melody stft since the synthesized
        // F0 sequence overtones are at different weights.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: interactiveaudiolab/nussl
Commit Name: 90261ba65239be82de5e01e912490e57d622360c
Time: 2019-03-30
Author: prem@u.northwestern.edu
File Name: nussl/separation/melodia.py
Class Name: Melodia
Method Name: create_harmonic_mask


Project Name: jhfjhfj1/autokeras
Commit Name: 3fdca3f38f9c5a83172e08336e836fb8c4cf80e6
Time: 2019-08-25
Author: gabrieldemarmiesse@gmail.com
File Name: examples/pretrained_models/voice_recognizer/voice_recognizer_example.py
Class Name: SpectrogramParser
Method Name: parse_audio


Project Name: librosa/librosa
Commit Name: b7c2f6e9ccd65a53d8ae9aa0d3ee287ce9c93019
Time: 2014-02-07
Author: brm2132@columbia.edu
File Name: librosa/feature.py
Class Name:
Method Name: logfsgram


Project Name: pytorch/audio
Commit Name: a7797d5caeec205b06e4e4bc24cd38bf4122011f
Time: 2021-01-06
Author: 855818+mthrok@users.noreply.github.com
File Name: torchaudio/functional/functional.py
Class Name:
Method Name: spectrogram