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

Add serde Serialize/Deserialize derives to common settings like Value, Decibels, Mapping, etc #128

Closed
BrianWiz opened this issue Mar 6, 2025 · 2 comments

Comments

@BrianWiz
Copy link

BrianWiz commented Mar 6, 2025

This is something highly desired on my end because I've built up a data-driven workflow where I define my sound emitters in hot-reloaded .RON files. However right now I have to map from my types to Kira types.

@tesselode
Copy link
Owner

Decibels and Mapping already have serde implementations if you enable the serde feature. Value doesn't because it can contain ModulatorIds, which aren't (de)serializable because they don't mean the same thing across multiple runs of a program.

@tesselode
Copy link
Owner

If you find something that should be serializable but isn't, let me know!

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