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

Source Typing Error #156

Open
LAsoul88 opened this issue Sep 3, 2024 · 0 comments
Open

Source Typing Error #156

LAsoul88 opened this issue Sep 3, 2024 · 0 comments
Labels

Comments

@LAsoul88
Copy link

LAsoul88 commented Sep 3, 2024

Describe the bug
A clear and concise description of what the bug is.
Following the instructions for the pitch detection section, I am supposed to create a voice like so:

const voice = new Wad({source: 'mic'});

TypeScript gives me an error saying that 'mic' is not a supported type.

Expected behavior
A clear and concise description of what you expected to happen.
The source property should accept 'mic' as a value to grab audio from one of the device's accessible microphones.

To Reproduce
Include the smallest possible code snippet that reproduces this bug.

const voice = new Wad({source: 'mic'});

Screenshots
If applicable, add screenshots to help explain your problem.

Screenshot 2024-09-02 at 6 57 19 PM

Device (please complete the following information):

  • Model: 2021 M1 Macbook Pro
  • OS: Sonoma 14.4.1
  • Browser: Firefox Developer Edition

Additional context
Add any other context about the problem here.

@LAsoul88 LAsoul88 added the bug label Sep 3, 2024
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