Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import librosa #239

Closed
wants to merge 1 commit into from
Closed

Conversation

RadyGyd
Copy link
Contributor

@RadyGyd RadyGyd commented Nov 24, 2023

import librosa

Copy link
Collaborator

@cdliang11 cdliang11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个是不需要的,已经切换到torchaudio了

@RadyGyd RadyGyd closed this Nov 24, 2023
@cdliang11
Copy link
Collaborator

def diarize(self, audio_path: str):
# TODO
pcm, sample_rate = librosa.load(audio_path, sr=self.resample_rate)
return [[0.0, len(pcm) / sample_rate, 0]]

这部分功能还没做,后续会删掉librosa

@RadyGyd
Copy link
Contributor Author

RadyGyd commented Nov 24, 2023

ok~

@RadyGyd RadyGyd deleted the yadong_import_librosa branch November 24, 2023 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants