[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacspeak] Regression in Swiftmac git: broken audio playback



Makefile is on my todo list to fix. When Robert merges my current change I plan to work on it further. I know its opinionated but Makefile is not good for swift projects, I'd rather use CMake.
Sent from my iPhone

On 7 Nov 2025, at 16:20, Parham Doustdar <parham90@xxxxxxxxx> wrote:

Hi,
I tried swiftmac today, and although this issue was fixed, I ran into an issue with the makefile, specifically the way it uses sed. I seem to have a different version, probably thanks to brew, and I had to do some magic to make it work. I found this with google and I’m not really familiar with how sed works, so please excuse me if it’s not the right way, it did fix it for me though:
1 file changed, 1 insertion(+), 1 deletion(-)
Makefile | 2 +-

modified   Makefile
@@ -18,7 +18,7 @@ support-files:
  @cp cloud-swiftmac $(SERVERS)/cloud-swiftmac
  @cp swiftmac-voices.el $(LISP)/swiftmac-voices.el
  @cp log-swiftmac $(SERVERS)/log-swiftmac
- @sed -i '' '/swiftmac/d' $(SERVERS)/.servers
+ @sed -i.bak '/swiftmac/d' $(SERVERS)/.servers && rm $(SERVERS)/.servers.bak
  @echo "swiftmac" >>  $(SERVERS)/.servers
  @echo "log-swiftmac" >> $(SERVERS)/.servers
  @echo "cloud-swiftmac" >> $(SERVERS)/.servers


On 4 Nov 2025, at 16:55, Robert Melton (via emacspeak Mailing List) <emacspeak@xxxxxxxxxxxxx> wrote:

Arkadiusz--

Thanks for flagging this bug. My configuration was hiding it,

I now have a clean emacs config to test with and believe I fixed these issues, impacted 
more than just the two places you flagged. 

When you have a moment checkout the new 3.5.0 release.  

On Mon, Oct 27, 2025, at 8:50 PM, Robert Melton wrote:
What version of MacOS are you on? The new version does need 14+ but I thought that was relatively safe. Will dig into why it might be breaking. 

> On Oct 26, 2025, at 10:12, Arkadiusz (via emacspeak Mailing List) <emacspeak@xxxxxxxxxxxxx> wrote:
> Hi everyone,
> today I'd like to describe a regression that was introduced in Swiftmac 3.x.
> Problem: Audio playback via AVFoundation is broken. Only certain sounds of Emacspeak play. Tone player is unaffected.
> Solution: change the emacspeak-play-program variable from "nil" to "sox-play". Keep in mind that the file "swiftmac-voices.el" is overiding that variable on startup. My pitch is to remove this definition at all to make behavior inline with other speech servers, allowing the user to customize the behavior according to need.
> Sent from my iPhoneEmacspeak discussion list -- emacspeak@xxxxxxxxxxxxx
> To unsubscribe send email to:
emacspeak-request@xxxxxxxxxxxxx with a subject of: unsubscribe

--
Robert "robertmeta" Melton



Emacspeak discussion list -- emacspeak@xxxxxxxxxxxxx
To unsubscribe send email to:
emacspeak-request@xxxxxxxxxxxxx with a subject of: unsubscribe



|Full archive May 1995 - present by Year|Search the archive|


If you have questions about this archive or had problems using it, please contact us.

Contact Info Page