8000 Audio file reading with resampling + windows clang recommendation by chairbender · Pull Request #23 · ahihi/sapf · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Audio file reading with resampling + windows clang recommendation #23

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

chairbender
Copy link
@chairbender chairbender commented May 26, 2025

Audio files can be read with support for resampling using the >sf operation. Changed to clang64 as the recommended toolchain on windows for asan/ubsan support. Updated docs and added some info about sanitizers.

The r8brain library handles the actual core resampling logic and is included as a git submodule.

Completes #2

Audio files can be read with support for resampling. Changed
to clang64 as the recommended toolchain on windows for
asan/ubsan support. Updated docs and added some info about
sanitizers.
@chairbender chairbender marked this pull request as ready for review May 26, 2025 01:37
@chairbender
Copy link
Author

addressed the issues!

#include "SoundFiles.hpp"

using Resampler = r8b::CDSPResampler;
using namespace std;
Copy link
Owner
@ahihi ahihi Jun 5, 2025

Choose a reason for hiding this comment

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

i think it would be better to avoid this, as std is a big namespace. consider using specific members, or just write out the std:: :) (i tend to prefer the latter for clarity)

@ahihi
Copy link
Owner
ahihi commented Jun 5, 2025

aside from the using namespace std, this looks good to me! the FFT based test is nice :) also really good to have the sanitizer support.

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
0