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

Example sketch for stereo I2S DACs #249

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

poetaster
Copy link

Since it took a bit of effort, I thought I'd supply a concrete example sketch.

@poetaster
Copy link
Author

Oh, dear. Sorry for all the noise. I thought I'd do a good deed and in the process pulled devel/Mozzi2 ... now I get fatal error: FixMath.h: No such file or directory Any tip how to revert ?

@tomcombriat
Copy link
Collaborator

Hi,
This is normal since #236, Mozzi is now using another library for fixed point arithmetics: FixMath. So far it is a hard dependency.
You just need to install it, either in the Arduino library manager, or via github.

@tomcombriat
Copy link
Collaborator

tomcombriat commented Apr 9, 2024

Thanks for the PR! Cool to know that other DACs are working!
As per the example, maybe it would make more sense to add it as config example (in the spirit of what is in config/)?

Does this close #248 ?

@tomcombriat tomcombriat changed the title Devel/mozzi2 Example sketch for stereo I2S DACs Apr 9, 2024
@poetaster
Copy link
Author

Hi, This is normal since #236, Mozzi is now using another library for fixed point arithmetics: FixMath. So far it is a hard dependency. You just need to install it, either in the Arduino library manager, or via github.

Ah, thanks for clarifying. !

@poetaster
Copy link
Author

Thanks for the PR! Cool to know that other DACs are working! As per the example, maybe it would make more sense to add it as config example (in the spirit of what is in config/)?

Does this close #248 ?

Yes, sure thing. I had noted a bit of noise which I documented with an upload, but I'll try to investigate that with different hardware setups and let you know. I 'll go install that library :)

@tomcombriat tomcombriat deleted the branch sensorium:master June 11, 2024 22:30
@tomcombriat tomcombriat reopened this Jun 11, 2024
@tomcombriat tomcombriat changed the base branch from devel/Mozzi2 to master June 11, 2024 22:32
@tomcombriat
Copy link
Collaborator

(Sorry for the fuss, was a bit fast to delete the branch this was pointing to… Will try to test soon!)

@poetaster
Copy link
Author

(Sorry for the fuss, was a bit fast to delete the branch this was pointing to… Will try to test soon!)

No problem. Managing git repos is a job in itself! Thanks for your work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants