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.
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.
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: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.
Screenshots If applicable, add screenshots to help explain your problem.
Device (please complete the following information):
Additional context Add any other context about the problem here.