0

When "say" command is used in AppleScript it seems the audio channel is asleep because the beginning of the word always gets clipped. Subsequent words are find but after a few minutes the audio channel goes into some hibernation mode and the problem happens again. I've tried various things with various success such as:

say "?"
say "something"

But still the result is not good. Has anyone come up with a solution to this problem?

6
  • Works fine for me on macOS Catalina using a 2019 MacBook Pro. What version of macOS are you running and on what model of Mac? Commented Aug 16, 2021 at 17:43
  • I'm running bigsur on 2017 macbook pro but this problem has been around for as long as I remember. You just don't notice if it you've previously used the audio interface. If you wait a few minutes without using it and just issue command like: ``` say "something" ``` This s will get clipped off. Commented Aug 16, 2021 at 20:06
  • All I can tell you is that on three different Macs I have never had the say command cut any part of the starring character/word off the statement when running on physical hardware. That said, I have in virtual machines experienced a truncation, but that never surprised me. If from a clean boot, having done nothing else but tested a say command, is the issue reproducible under that expressed condition? Note that when preforming the test you've allowed appropriate time for the boot/login process to fully complete. Commented Aug 16, 2021 at 20:16
  • BTW I often use the say command in both AppleScript scripts and shell scripts. So, as often as I do, I'm sure I would have noticed an issue such as this as it would annoy me too. Commented Aug 16, 2021 at 20:22
  • I will test it but what is necessary to reproduce it is to not use the audio for at least a few minutes. I've noticed it for at least the past 10 years on every mac I've had. It doesn't cut off much but it's enough to notice. Just clips the first micro second but only does it the first time. Any subsequent audio is perfect until there is another few minute pause. Commented Aug 16, 2021 at 21:32

1 Answer 1

0

Discovered the problem. I'm using an app called Boom 2 and that was causing the initial clipping.

1
  • Consider marking your answer as accepted if it answers your problem as you said. It avoids it being bumped by Community bot as unsolved.
    – Thinkr
    Commented May 9, 2023 at 18:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .