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

Audio Library #30

Merged
merged 51 commits into from
Sep 20, 2024
Merged

Audio Library #30

merged 51 commits into from
Sep 20, 2024

Conversation

JohnDog3112
Copy link
Collaborator

Added Audio Library and corresponding test case (tests-audio).

Adds:

  • Ability to create audio from float (-1.0 to 1.0) PCM data.
  • Ability to load PCM data from URL
  • Ability to play audio from provided PCM data
    • Includes adjusting volume, pan, finish callback, etc.
  • Ability to play specific range from PCM data
    • Includes everything play audio has plus the ability to change the sample rate
  • Ability to change volume/pan/sample_rate during playback
  • Ability to play audio directly from a given URL

TODO:

  • Add documentation for audio

WARNING:

  • tests-audio plays some really loud white noise. Make sure to turn your computer volume down before running it (warning is included on the main examples page too).

@twiddlingbits twiddlingbits merged commit 5ee8bf9 into twiddlingbits:dev Sep 20, 2024
@JohnDog3112 JohnDog3112 linked an issue Sep 20, 2024 that may be closed by this pull request
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.

Add Audio Library
2 participants