Jul 30th, 2017
SpeakLine is a Language Tool. The graphic and clearly structured user interface gives you access to everything that the app has to offer. SpeakLine supports all of your Mac system voices. SpeakLine can read the typed text and save the text. SpeakLine also offers. Click here to proceed. The statement added that this agreement, which was signed between the RFC and Telefilm Canada, is the first of its kind in Jordan, and underlines the importance of the co-production of audiovisual works that contribute to developing related industries, promoting economic and cultural exchange and enhancing cultural diversity.
Never
Lucy was in for a speak-session to create a speakline with her tiny voice on the song, and at the same time assert that she actually is the greatest Wasted fan on planet earht and ready to bet a lollipop and a happy meal from Mc. D if it were not to be true.
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
- // AppContorller.h
- //
- // Copyright 2011 vpon. All rights reserved.
- @interface AppContorller : NSObject <NSSpeechSynthesizerDelegate>
- IBOutlet NSTextField *textField;
- IBOutlet NSButton *startButton;
- IBOutlet NSTableView *tableView;
- }
- - (IBAction)sayIt: (id)sender;
- - (IBAction)stopIt: (id) sender;
- - (void) speechSyntheizer: (NSSpeechSynthesizer *) sender
- */
- @end
- // AppContorller.m
- //
- // Copyright 2011 vpon. All rights reserved.
- @implementation AppContorller
- - (id) init
- [super init];
- NSLog(@'init');
- speechSYnth = [[NSSpeechSynthesizer alloc]initWithVoice:nil];
- [speechSYnth setDelegate:self];
- voiceList = [[NSSpeechSynthesizer availableVoices] retain];
- return self;
- }
- - (IBAction) sayIt: (id) sender
- NSString *string = [textField stringValue];
- if ([string length] 0)
- NSLog(@'string from %@ is of zero length', textField);
- return;
- [tableView setDataSource:<#(id <NSTableViewDataSource>)aSource#>
- [stopButton setEnabled:YES];
- [startButton setEnabled:NO];
- }
- - (IBAction) stopIt: (id) sender
- NSLog(@'Stopping');
- [speechSYnth stopSpeaking];
- }
- - (void)speechSynthesizer:(NSSpeechSynthesizer *)sender didFinishSpeaking:(BOOL)success
- NSLog(@'hello');
- [stopButton setEnabled:NO];
- [startButton setEnabled:YES];
- }
- // could be wrong, may be no such a API exist, check twice
- - (int) numberOfRowIsInTableView: (NSTableView *)tv
- }
- - (id) tableView:(NSTableView *)tv objectValueForTableColumn:(NSTableColumn *)tableColumn
- {
- NSString *v = [voiceList objectAtIndex:row];
- return v;
- /*
- - (void) speechSyntheizer: (NSSpeechSynthesizer *) sender didFinishSpeaking:(BOOL)complete
- int a;
- */
RAW Paste Data