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

adding Sample Folder #7538

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

adding Sample Folder #7538

wants to merge 2 commits into from

Conversation

szeli1
Copy link
Contributor

@szeli1 szeli1 commented Oct 9, 2024

This pull request aims to add a way and a place to store sample files for projects.

A new class is added called SampleFolder. It will store audio files in 2 ways: relative (Project Folder) and absolute (inside a folder that can store all audio files for multiple projects).

All sample loading and saving should be routed through SampleFolder. SampleFolder class will store a tag inside the saved file paths to decide if they (the files) should be loaded by it. This means for example that SampleClip will store a file path that could be normal (absolute) or it could be relative (with a special tag appended to the file name). SampleClip will not have to store an additional boolean to decide if it should load the sample with the SampleFolder class, it won't even have to know about where the sample is loaded from. This means that old projects are not effected by this change and if implemented all used samples can be copied to a relative Project Folder.

This PR is not finished and it is not implemented.

@szeli1 szeli1 marked this pull request as draft October 9, 2024 21:37
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.

1 participant