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

[DRAFT] Refactor Audio file system #1277

Draft
wants to merge 1 commit into
base: community
Choose a base branch
from

Conversation

stellar-aria
Copy link
Collaborator

@stellar-aria stellar-aria commented Feb 20, 2024

This is a PR for refactoring the Audio File system. If/when this is merged, I'm strongly recommending that this be done as a merge commit to preserve history for bisect

The goal will be to extract all AudioFile loading logic from the Sample/Wavetable class hierarchy and change them to a has a rather than an is a (composition over inheritance) so that Samples and WaveTables can be said to have associated FileHandlers but are not actually [Audio]Files themselves.

Doing this properly will also allow us to create unit tests for our file loading/parsing logic, since decoupling from Samples/Wavetables they should only handle their own local object creation

So far:

  • Split AIFF and WAVE functions in AudioFile.h/cpp

@seangoodvibes seangoodvibes changed the title Refactor Audio file system [DRAFT] Refactor Audio file system Aug 5, 2024
@m-m-adams m-m-adams closed this Dec 26, 2024
@stellar-aria stellar-aria reopened this Dec 26, 2024
@stellar-aria stellar-aria reopened this Dec 26, 2024
Copy link
Contributor

Test Results

106 tests  ±0   106 ✅ ±0   1s ⏱️ -1s
 16 suites ±0     0 💤 ±0 
 16 files   ±0     0 ❌ ±0 

Results for commit 93cad58. ± Comparison against base commit 547b62b.

Copy link
Contributor

github-actions bot commented Dec 26, 2024

Test Results

106 tests  ±0   106 ✅ ±0   1s ⏱️ ±0s
 16 suites ±0     0 💤 ±0 
 16 files   ±0     0 ❌ ±0 

Results for commit debe95f. ± Comparison against base commit 71507c6.

♻️ This comment has been updated with latest results.

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