|
From: | Dalmazio Brisinda |
Subject: | Re: [gnuspeech-contact] Re: Organising gnuspeech source(s) (David Hill) |
Date: | Sun, 16 Nov 2008 16:10:30 -0600 |
Hello Marcelo, [...]
- In Applications/Monet/MSynthesisController.m: (R1/R2 were always zero before) @@ -424,7 +424,7 @@ setDriftGenerator([driftDeviationField floatValue], 500, [driftCutoffField floatValue]); //setDriftGenerator(0.5, 250, 0.5); - [eventList setRadiusMultiply:[radiusMultiplyField doubleValue]]; + //[eventList setRadiusMultiply:[radiusMultiplyField doubleValue]]; I found that making this change disables the effects of the Radius Multiply slider/field in the Intonation Parameters window when the intonation check box is checked. Currently it does affect r1/r2. Can you confirm this on Linux/Gnustep? It's odd that it should give different results on Linux/Gnustep vs. OS X.
I'll send you some speech rendered into the 3 supported formats in a following email, AU, AIFF, WAV as produced by Monet. My media info app tells me that they are AU, AIFF, and WAV files. Can you read and play these on your system? Could you try generating the audio and comparing to these files? The speech rendered is the "I know you believe you understand what you think I said..." sentence.
I haven't made any changes to the functionality, and it looks like it uses dbm by default. When I run the application it always prints out "Using DBM dictionary." if ([[NSUserDefaults standardUserDefaults] boolForKey:@"ShouldUseDBMFile"]) { NSLog(@"Using DBM dictionary."); [self _createDBMFileIfNecessary]; dictionary = [[GSDBMPronunciationDictionary mainDictionary] retain]; } else { NSLog(@"Using simple dictionary."); dictionary = [[GSSimplePronunciationDictionary mainDictionary] retain]; [dictionary loadDictionaryIfNecessary]; } The key line in the GSDBMPronunciationDictionary class (located in the GnuSpeech framework source under the TextProcessing directory) is: newDB = dbm_open([aFilename UTF8String], O_RDWR | O_CREAT, 0660); Also, the GSSimplePronunciationDictionary class loads "2.0eMainDictionary.dict" located in the GnuSpeech framework source under the TextProcessing directory. Yes, they are. When I imported everything, all the nibs were in 2.x format,but they wouldn't load in Xcode/Interface Builder. So I had to massage thema bit (add template info.nib files which allowed them to open in InterfaceBuilder). But anyway, whatever is required for cross-platform compatibilityis easy to change, whether xib, 3.x nib, or 2.x nib. I should probably usenib 3.x format if xib is not supported in gorm. Assuming gorm can handle nib3.x. I've attached a gzip'd tarball of the English.lproj directory for the PreMo application which contains both a nib 3.x and a xib 3.x version of the interface. |
English.lproj.tar.gz
Description: GNU Zip compressed data
Best, dalmazio |
[Prev in Thread] | Current Thread | [Next in Thread] |