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

Value setter for various types of audio players #527

Draft
wants to merge 3 commits into
base: 2022.2.3
Choose a base branch
from

Conversation

lightest
Copy link
Contributor

@lightest lightest commented Sep 7, 2022

To satisfy the desire to change tone/audio track as frequent as you want.

Originally inspired by this bug:
https://discourse.psychopy.org/t/repeated-sound-plays-inconsistently-after-a-few-minutes/30374/5

psychoPy portion of the fix:
psychopy/psychopy#5115

cid: CU-3h645y3

@peircej
Copy link
Member

peircej commented Sep 8, 2022

}

// Analyse the value and change the type of player if needed.
const valSupported = this._player.constructor.checkValueSupport(value);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not working fully yet. Issues arise when trying to convert from one type of player to the other and passing note as a string.

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

Successfully merging this pull request may close these issues.

2 participants