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

Custom Pronunciations causes app to stop working #23

Open
jacobdgm opened this issue Jan 30, 2023 · 0 comments
Open

Custom Pronunciations causes app to stop working #23

jacobdgm opened this issue Jan 30, 2023 · 0 comments
Labels
bug Something isn't working needs-triage Awaiting triage from a core team member

Comments

@jacobdgm
Copy link

System Information

Serenade Version: v2.0.2

OS and Version: macOS Monterey 12.6.2

Hardware: 2020 M1 Mac mini (i.e. I'm running Serenade using Rosetta)

Application: N/A (I happen to be using Serenade with VS Code, but this issue occurs even when VS Code is not running)

Issue Description

I'm working on an open-source Gregorian chant database, and Serenade keeps hearing "chance" whenever I say "chants". When I append serenade.global().pronounce("chance", "chants"); to custom.js and launch Serenade, the app doesn't respond to anything I say (i.e. "focus code" and similar commands have no effect, and Serenade doesn't give a numbered list of suggested commands to execute). With an empty custom.js (i.e. the default file, with a 24-line comment and nothing else), the app works just fine (other than mishearing "chants", of course)

How to Reproduce

  • Add serenade.global().pronounce("chance", "chants"); to the bottom of custom.js
(File should look something like this)
/* Serenade Custom Commands

In this file, you can define your own custom commands with the Serenade API.

For instance, here's a custom automation that opens your terminal and runs a command:

serenade.global().command("make", api => {
api.focusApplication("terminal");
api.typeText("make clean && make");
api.pressKey("return");
});

And, here's a Python snippet for creating a test method:

serenade.language("python").snippet(
"test method <%identifier%>",
"def test_<%identifier%>(self):<%newline%><%indent%>pass",
{ "identifier": ["underscores"] }
"method"
);

For more information, check out the Serenade API documentation: https://serenade.ai/docs/api

*/
serenade.global().pronounce("chance", "chants");

  • launch Serenade app, unpause it, and speak a command. Sometimes, a small "Low volume" notification appears briefly. Serenade does not respond to the command
@jacobdgm jacobdgm added bug Something isn't working needs-triage Awaiting triage from a core team member labels Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage Awaiting triage from a core team member
Projects
None yet
Development

No branches or pull requests

1 participant