hotheaded-vscode icon indicating copy to clipboard operation
hotheaded-vscode copied to clipboard

Too much screams at the same time

Open SourCreamKun opened this issue 4 years ago • 7 comments

I am writing code on Node Js now, and on every line when I start typing it is yelling on my every letter I type with several voices and phrases, can you just make it pronounce one phrase at time or smt?

SourCreamKun avatar Jun 02 '21 22:06 SourCreamKun

Hmm, yes. That is a problem. I have a system in place for preventing this, and I don't encounter it.
If I update that system, could you test it before I merge and publish it?

89netraM avatar Jun 03 '21 07:06 89netraM

Okay it was an easy change. It works the same for me, but it should wait until the whole audio clip is played before starting a new now.

I've attached a .vsix (in the .zip) that you can install on your system to test it. If your running Linux you'll have to build yourself, look in the prevent-overlapping branch for the updates.

hotheaded-vscode-1.1.3.zip

89netraM avatar Jun 03 '21 07:06 89netraM

Well, it works pretty much fine, but there is some annoying sound, like turning off old radio, at the end of every clip, and sometimes there are 2 of voices, but i have to type very badly for that to happen

SourCreamKun avatar Jun 03 '21 08:06 SourCreamKun

Other people have complained about that sound before, but I've never heard it so it's a bit difficult to debug.
And based on the still overlapping voices I guess the fix didn't fix that much.

I don't know how to continue with this. If you want to take look yourself, everything related to the playback of audio is in the ./src/Player.ts file.

89netraM avatar Jun 03 '21 09:06 89netraM

Maybe if you add a seccond or two silence between clips, it will be ok ? I thin it could solve the problem of strange sound and do better effect on overlapping pervention

SourCreamKun avatar Jun 03 '21 20:06 SourCreamKun

I mean not a clip with silence, but wait between clips

SourCreamKun avatar Jun 03 '21 20:06 SourCreamKun