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

Add Explicit Sample Rate Param to detect_watermark Func Calls to Resolve Deprecation Warning #54

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

hastagAB
Copy link
Contributor

@hastagAB hastagAB commented Oct 9, 2024

Why ?

The detect_watermark func in Getting_started.ipynb currently throws a deprecation warning when the sample_rate parameter is not explicitly specified.

How ?

Changes Made:

  • Update detector.detect_watermark(pink_noised_audio) to include sample_rate arg
  • Update detector.detect_watermark(lowpass_filtered) to include sample_rate arg
  • Update .gitignore

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 9, 2024
@hadyelsahar hadyelsahar self-assigned this Oct 10, 2024
Copy link
Contributor

@hadyelsahar hadyelsahar left a comment

Choose a reason for hiding this comment

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

LGTM ! Thank you !

@antoine-tran antoine-tran merged commit 616fca1 into facebookresearch:main Oct 11, 2024
6 checks passed
@antoine-tran
Copy link
Contributor

Thanks for the contribution !

@hastagAB hastagAB deleted the update/example branch October 18, 2024 21:58
@hastagAB hastagAB restored the update/example branch October 19, 2024 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants