Re: Translation Question for Eugen
Quote from Forum Archives on March 12, 2022, 4:12 amPosted by: mdilling <mdilling@...>
Ken;
I tried to compile this and got the following error:Apple clang version 13.0.0 (clang-1300.0.29.30)
_0_TranslatedRuntime.m
error: PCH file uses an older PCH format that is no longer supported
1 error generated.System Details:
Model Name: iMac
Model Identifier: iMac15,1
Processor Name: Quad-Core Intel Core i5
Processor Speed: 3.5 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 6 MB
Memory: 32 GB
System Firmware Version: 432.60.3.0.0
SMC Version (system): 2.22f16Developer Tools:
Version: 13.2.1 (13C100)
Location: /Applications/Xcode.app
Applications:
Xcode: 13.2.1 (19586)
Instruments: 13.2.1 (64551.30)
SDKs:
DriverKit:
21.2:
iOS:
15.2: (19C51)
iOS Simulator:
15.2: (19C51)
macOS:
12.1: (21C46)
tvOS:
15.2: (19K50)
tvOS Simulator:
15.2: (19K50)
watchOS:
8.3: (19S51)
watchOS Simulator:
8.3: (19S51)> On Mar 12, 2022, at 12:21 AM, Ken Shmidheiser <[email protected]> wrote:
>
> Eugen,
>
> Does the following translate the English phrase into proper Romanian?
>
> TIA.
>
> Ken
>
> include "Tlbx AVFoundation.incl"
>
> AVSpeechSynthesizerRef synthesizer
> AVSpeechUtteranceRef utterance
> AVSpeechSynthesisVoiceRef voice
>
> utterance = fn AVSpeechUtteranceWithString( @"Ken, you're a real trouble maker when it comes to bothering Bernie!" )
> AVSpeechUtteranceSetRate( utterance, AVSpeechUtteranceDefaultSpeechRate )
> AVSpeechUtteranceSetPitchMultiplier( utterance, 1.0 )
> AVSpeechUtteranceSetVolume( utterance, 0.8 )
> voice = fn AVSpeechSynthesisVoiceWithIdentifier( @"com.apple.speech.synthesis.voice.ioana" ) // Romanian?
> AVSpeechUtteranceSetVoice( utterance, voice )
>
> cln synthesizer = [[AVSpeechSynthesizer alloc] init];
> AVSpeechSynthesizerSpeakUtterance( synthesizer, utterance )
>
> HandleEvents
> --
> To unsubscribe, send ANY message to: [email protected]
> To access the list archives, go to: freegroups.net/groups/futurebasic/
>
Posted by: mdilling <mdilling@...>
I tried to compile this and got the following error:
Apple clang version 13.0.0 (clang-1300.0.29.30)
_0_TranslatedRuntime.m
error: PCH file uses an older PCH format that is no longer supported
1 error generated.
System Details:
Model Name: iMac
Model Identifier: iMac15,1
Processor Name: Quad-Core Intel Core i5
Processor Speed: 3.5 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 6 MB
Memory: 32 GB
System Firmware Version: 432.60.3.0.0
SMC Version (system): 2.22f16
Developer Tools:
Version: 13.2.1 (13C100)
Location: /Applications/Xcode.app
Applications:
Xcode: 13.2.1 (19586)
Instruments: 13.2.1 (64551.30)
SDKs:
DriverKit:
21.2:
iOS:
15.2: (19C51)
iOS Simulator:
15.2: (19C51)
macOS:
12.1: (21C46)
tvOS:
15.2: (19K50)
tvOS Simulator:
15.2: (19K50)
watchOS:
8.3: (19S51)
watchOS Simulator:
8.3: (19S51)
> On Mar 12, 2022, at 12:21 AM, Ken Shmidheiser <[email protected]> wrote:
>
> Eugen,
>
> Does the following translate the English phrase into proper Romanian?
>
> TIA.
>
> Ken
>
> include "Tlbx AVFoundation.incl"
>
> AVSpeechSynthesizerRef synthesizer
> AVSpeechUtteranceRef utterance
> AVSpeechSynthesisVoiceRef voice
>
> utterance = fn AVSpeechUtteranceWithString( @"Ken, you're a real trouble maker when it comes to bothering Bernie!" )
> AVSpeechUtteranceSetRate( utterance, AVSpeechUtteranceDefaultSpeechRate )
> AVSpeechUtteranceSetPitchMultiplier( utterance, 1.0 )
> AVSpeechUtteranceSetVolume( utterance, 0.8 )
> voice = fn AVSpeechSynthesisVoiceWithIdentifier( @"com.apple.speech.synthesis.voice.ioana" ) // Romanian?
> AVSpeechUtteranceSetVoice( utterance, voice )
>
> cln synthesizer = [[AVSpeechSynthesizer alloc] init];
> AVSpeechSynthesizerSpeakUtterance( synthesizer, utterance )
>
> HandleEvents
> --
> To unsubscribe, send ANY message to: [email protected]
> To access the list archives, go to: freegroups.net/groups/futurebasic/
>