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

Is it better to track mix-output frequency as int or float64? #26

Closed
charneykaye opened this issue Feb 8, 2016 · 1 comment
Closed
Assignees
Labels
Milestone

Comments

@charneykaye
Copy link
Contributor

Currently the mix-output frequency is tracked as float64.

There is debate whether a "sample rate" is always an integer. I could make an argument for using int instead:

Assuming the mixing frequency will be:

  • greater than zero
  • in the hundreds of thousands, at the largest.

But perhaps it's better to leave it as-is, a float64, because it does function nominally at present (if for whatever reason it is desirable to specify an extremely precise velocity of samples-per-second)

@charneykaye charneykaye added this to the 0.0.4 milestone Feb 8, 2016
@charneykaye charneykaye changed the title Track mixing frequency as int (not float64) Is it better to track mixing frequency as int (not float64)? Feb 9, 2016
@charneykaye charneykaye changed the title Is it better to track mixing frequency as int (not float64)? Is it better to track mixing frequency as int? (opp. to float64) Feb 9, 2016
@charneykaye charneykaye changed the title Is it better to track mixing frequency as int? (opp. to float64) Is it better to track mixing frequency as int? (versus float64) Feb 9, 2016
@charneykaye charneykaye changed the title Is it better to track mixing frequency as int? (versus float64) Is it better to track mix-output frequency as int or float64? Feb 9, 2016
@charneykaye
Copy link
Contributor Author

charneykaye commented Apr 28, 2016

I choose float64 because all other maths are performed against such.

@charneykaye charneykaye self-assigned this Jun 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant