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

How to Use the C++ Version of AudioFlux for Real-time Audio Analysis? #36

Open
Miuneyh opened this issue May 22, 2024 · 1 comment
Open

Comments

@Miuneyh
Copy link

Miuneyh commented May 22, 2024

Hi AudioFlux Team,

First, thank you for developing AudioFlux; it seems like a powerful tool for audio and music analysis. I have successfully used AudioFlux with Python, but I am currently working on a project that requires real-time audio analysis in C++. I am facing some difficulties and have a few questions:

C++ API Documentation: Is there any detailed documentation or examples available for the C++ version of AudioFlux? The existing resources seem to be focused primarily on the Python API.

Initialization and Configuration: Could you provide a step-by-step guide on how to initialize and configure AudioFlux in a C++ project? Specifically, I'm interested in understanding how to set up the spectrogram object and configure parameters such as sample rate, window type, and FFT size.

Real-time Audio Processing: How can I integrate AudioFlux with a real-time audio input library like PortAudio in C++? Any examples or guidelines on how to capture audio data, process it using AudioFlux, and visualize the results would be extremely helpful.

Common Issues and Debugging: Are there any common pitfalls or issues to be aware of when using AudioFlux with C++? Additionally, any tips on debugging issues related to audio data not being processed correctly (e.g., spectrogram data being all zeros) would be appreciated.

Future Support and Updates: What are the plans for future support and updates for the C++ version of AudioFlux? Are there any new features or improvements that we can look forward to?

Thank you for your assistance. Any help or pointers to relevant resources would be greatly appreciated!

Best regards,

Miuney

@liufeigit
Copy link
Member

That's a great question. Our team is also planning and discussing the development of C/C++ support for AudioFlux. We've had some discussions about the related issues you mentioned. Due to our team's limited time and resources, our initial focus for the C/C++ direction will be on API documentation and demo projects.

Some of the requirements previously discussed by the team.

Requirement Description
Chinese Documentation Translate English documentation
C Command Line Tool Provide C command line interface functionality
Browser WASM Support JavaScript frontend Web Audio
Android JNI JNI wrapper for Android
iOS Swift Swift wrapper for iOS
C# Unity Corresponding plugin for Unity

C/C++ API documentation is part of the C command Line Tool. If this direction is confirmed, we will prioritize addressing the C/C++ documentation in the upcoming updates. We hope more interested individuals will join this project to discuss and improve it together.

Finally, thank you for your question.

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

No branches or pull requests

2 participants