Skip to content

Add voice class #6

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

Merged
merged 1 commit into from
Nov 28, 2023
Merged

Add voice class #6

merged 1 commit into from
Nov 28, 2023

Conversation

sfe-SparkFro
Copy link
Collaborator

Resolves #5

@sfe-SparkFro
Copy link
Collaborator Author

FYI I've written this to use virtual inheritance. The reason is because I anticipate various modules having different feature sets that we'll need to be able to select as needed (eg. module 1 needs feature set A, module 2 needs feature set B, and module 3 needs both A and B), and this allows us to do that. However there are some concerns about it, I believe with regards to performance and compatibility with different platforms. Interesting Reddit discussion here that I haven't had a chance to read through yet.

Copy link
Contributor

@PaulZC PaulZC left a comment

Choose a reason for hiding this comment

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

This looks good to my eyes. I assume you've tested it?! ;-)
It would be a good idea to add a compile-sketch workflow so you can check your example compiles successfully on multiple platforms.

@sfe-SparkFro
Copy link
Collaborator Author

Talked with @gigapod and we're gonna architect this a bit differently. Should still be backwards compatible with the original library, but it will avoid the diamond pattern so no virtual inheritance is needed. I'm going to merge this in for now just so I don't lose the code or have to deal with too many branches 😉

@sfe-SparkFro sfe-SparkFro merged commit f3e7109 into v1.0.0 Nov 28, 2023
@sfe-SparkFro sfe-SparkFro deleted the add_voice_class branch November 28, 2023 21:38
@sfe-SparkFro sfe-SparkFro mentioned this pull request Dec 4, 2023
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.

None yet

2 participants