Skip to content

onUserSoundSample bug at 127 seconds after start #69

@djm1176

Description

@djm1176

On Windows 10 x64, I've been getting a bug where the frequency passed from onUserSoundSample is a lower frequency I expect.
In order to reproduce this, the following should create a constant, 440hz sine wave for the first 127 seconds from the start. Afterwards, the pitch should lower:

virtual float onUserSoundSample(int nChannel, float fGlobalTime, float fTimeStep) {
    return sinf(440.0f * 2.0f * 3.14159f * fGlobalTime);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions