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

Sample rate hard-coded at 44100Hz #4

Open
eitomurakami opened this issue Jun 29, 2023 · 2 comments
Open

Sample rate hard-coded at 44100Hz #4

eitomurakami opened this issue Jun 29, 2023 · 2 comments

Comments

@eitomurakami
Copy link
Collaborator

The sample rate of ChuckMain node is hard-coded at 44100Hz. The frequency would be inaccurate if the project setting is using sample rate other than 44100Hz.

@eitomurakami
Copy link
Collaborator Author

@gewang As a workaround, I created static functions for getting and setting sample rate for all ChucK main instances. I'm still looking for a way to read the sample rate that UE is using.

ChucK_SampleRate

@x37v
Copy link

x37v commented Mar 22, 2024

when you create your operator you have InSettings, you can get the sample rate from that: InSettings.GetSampleRate()

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