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

why breaking change on audio events? #3

Closed
sdetweil opened this issue Jan 16, 2024 · 6 comments
Closed

why breaking change on audio events? #3

sdetweil opened this issue Jan 16, 2024 · 6 comments

Comments

@sdetweil
Copy link

change from audiostop to audio-stop

what useful value is that?

@synesthesiam
Copy link
Contributor

I'm confused. The dashes have always been there. The very first commit has them:

_STOP_TYPE = "audio-stop"

How are you using Wyoming?

@sdetweil
Copy link
Author

weird indeed. I was looking at what I thought was 1.5 (master), but using 1.3 and couldnt get the is_type to work. at that point I wasn't using the class libs. so this was probably my fault. transcribe however was different. so I ass-umed.

@sdetweil
Copy link
Author

sdetweil commented Jan 17, 2024

sorry, didn't answer the second question..making a new asr. mostly cause I want to use it with an existing app
but needed a way to test it without all the HA baggage.. so I needed a client that can send a wav file that the asr can transcribe

the doc says 'asr that anything can connect to' .. so as I don't know python nearly at all, I chose nodejs , no response ..
bash nc next (but that had the connect/disconnect problem) , but I could send the tranactions
then python telnetlib, which stayed connected and did all the transactions except AudioChunk, samples showed needing a newline..
the nodejs trouble was the lack of a newline..

then gave up and cobbled together a python wyoming client.. and I don't know much about audio streams, or files.. so its all fun times..

@synesthesiam
Copy link
Contributor

Yeah, I had misspelled "transcribe" early on 🤦‍♂️

Anything that can do TCP and JSON should be able to use Wyoming. It is important that the TCP connection be maintained through the session. I don't know much about nodejs, but I'm surprised it had problems :/

@sdetweil
Copy link
Author

nodejs didn't have trouble, just needed to explicitly send a newline. then the server side responded. no info before that

@sdetweil sdetweil reopened this Jan 18, 2024
@sdetweil
Copy link
Author

closing, not an issue

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

No branches or pull requests

2 participants