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

Re: [Emacspeak] Swiftmac 2: pre-PR request for testers



Raman--

Yeah, I chased my tail for a bit today trying to get the PCM buffer to zero out 
half of it, seems like legit OS bug in MacOS, reaching out for more help, but 
I have it reduced to a minimal example and still no luck. To double my 
annoyance it works fine in the old version (NSS variant) which will be removed
in MacOS 15. MacOS is a second class citizen in AVFoundation support.

That said, I might have found a solution, it would require a little setup by the 
user but you can create new composite device on MacOS and you can 
reduce the volume to 0 on the right or left channel. Trying to see if I can do 
this setup programmatically and confirm I can target that device for output, but 
it is at least a path (got the idea from the emacspeaks code). 

But enough zero progress for tonight, more zero progress tomorrow! 

> On Mar 26, 2024, at 22:00, T.V Raman <raman@xxxxxxxxxx> wrote:
> 
> "Robert Melton" (via emacspeak Mailing List) <emacspeak@xxxxxxxxxxxxx>
> writes:
> 
> 
> One possible thing to try:
> 
> if you can get your hands one the wave buffer from TTS, then it might be
> something as simple as zeroing out the buffers for  one channel, ie
> alternate  frames in the audio data > Raman--
>> 
>> Correct, sadly I have been unable to find a solution for the channel targeting 
>> that doesn't follow the path TTS -> wav file -> process channels -> play wav. 
>> 
>> Frustrating, on iOS and even watchOS there are solutions to do exactly this, 
>> I am still digging around for a way to do this that isn't completely gross. 
>> 
>>> On Mar 26, 2024, at 10:19, T.V Raman <raman@xxxxxxxxxx> wrote:
>>> 
>>> I see you didn't mention multiple TTS streams, Mac users will continue
>>> to miss functionality that you get through async notifications 
>>> --
>> 
>> --
>> Robert "robertmeta" Melton
>> lists@xxxxxxxxxxxxxxxx
>> 
>> Emacspeak discussion list -- emacspeak@xxxxxxxxxxxxx
>> To unsubscribe send email to:
>> emacspeak-request@xxxxxxxxxxxxx with a subject of: unsubscribe
>> 
> 
> --

--
Robert "robertmeta" Melton
lists@xxxxxxxxxxxxxxxx



|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