Beispiel #1
0
 public static IntPtr OpenJTalkInitialize()
 => CoreDefinitions.Open_JTalk_initialize();
Beispiel #2
0
 public static void OpenJTalkSetFramePeriod(IntPtr instance,
                                            IntPtr i)
 => CoreDefinitions.Open_JTalk_set_fperiod(instance, i);
Beispiel #3
0
 public static bool OpenJTalkReSynthesisWORLD(IntPtr instance,
                                              string outputAudioPath)
 => CoreDefinitions.Open_JTalk_resynthesis_WORLD_u16(instance, outputAudioPath) == 1;
Beispiel #4
0
 public static void OpenJTalkSetSamplingFrequency(IntPtr instance,
                                                  IntPtr i)
 => CoreDefinitions.Open_JTalk_set_sampling_frequency(instance, i);
Beispiel #5
0
 public static void OpenJTalkSetGVWeight(IntPtr instance,
                                         IntPtr i, double f)
 => CoreDefinitions.Open_JTalk_set_gv_weight(instance, i, f);
Beispiel #6
0
 public static void OpenJTalkSetLF0(IntPtr instance,
                                    double f, IntPtr i)
 => CoreDefinitions.Open_JTalk_set_lf0(instance, f, i);
Beispiel #7
0
 public static bool OpenJTalkSynthesis(IntPtr instance,
                                       string text, string outputAudioPath, string outputLabelPath)
 => CoreDefinitions.Open_JTalk_synthesis_u16(instance,
                                             text, outputAudioPath, outputLabelPath) == 1;
Beispiel #8
0
 public static void OpenJTalkSetHalfTone(IntPtr instance,
                                         double f)
 => CoreDefinitions.Open_JTalk_add_half_tone(instance, f);
Beispiel #9
0
 public static bool OpenJTalkLoad(IntPtr instance,
                                  string dictPath, string hmmModelPath)
 => CoreDefinitions.Open_JTalk_load_u16(instance, dictPath, hmmModelPath) == 1;
Beispiel #10
0
 public static void OpenJTalkDestroyBuffer(IntPtr instance, ref IntPtr buffer)
 => CoreDefinitions.Open_JTalk_destroy_buffer(instance, ref buffer);
Beispiel #11
0
 public static void OpenJTalkGetLF0Array(IntPtr instance,
                                         IntPtr lf0_buffer, IntPtr buffer_length)
 => CoreDefinitions.Open_JTalk_get_lf0_array(instance, lf0_buffer, buffer_length);
Beispiel #12
0
 public static int OpenJTalkGetLF0Length(IntPtr instance)
 => CoreDefinitions.Open_JTalk_get_lf0_length(instance);
Beispiel #13
0
 public static void OpenJTalkSetLF0Array(IntPtr instance,
                                         double[] lf0, int buffer_length)
 => CoreDefinitions.Open_JTalk_set_lf0_array(instance, lf0, buffer_length);
Beispiel #14
0
 public static void OpenJTalkSetBeta(IntPtr instance,
                                     double f)
 => CoreDefinitions.Open_JTalk_set_beta(instance, f);
Beispiel #15
0
 public static int OpenJTalkSynthesisBufferWORLD(IntPtr instance, string text, out IntPtr buffer)
 => CoreDefinitions.Open_JTalk_synthesis_buffer_WORLD_u16(instance, text, out buffer);
Beispiel #16
0
 public static void OpenJTalkSetSpeed(IntPtr instance,
                                      double f)
 => CoreDefinitions.Open_JTalk_set_speed(instance, f);
Beispiel #17
0
 public static bool OpenJTalkSynthesisLabelsWORLD(IntPtr instance,
                                                  string text, string outputAudioPath,
                                                  string outputTextAnalysisPath,
                                                  string outputContextLabelPath)
 => CoreDefinitions.Open_JTalk_synthesis_labels_WORLD_u16(instance,
                                                          text, outputAudioPath, outputTextAnalysisPath, outputContextLabelPath) == 1;
Beispiel #18
0
 public static void OpenJTalkSetMSDThreshold(IntPtr instance,
                                             IntPtr i, double f)
 => CoreDefinitions.Open_JTalk_set_msd_threshold(instance, i, f);
Beispiel #19
0
 public static int OpenJTalkReSynthesisBufferWORLD(IntPtr instance,
                                                   out IntPtr buffer)
 => CoreDefinitions.Open_JTalk_resynthesis_buffer_WORLD(instance, out buffer);
Beispiel #20
0
 public static void OpenJTalkSetVolume(IntPtr instance,
                                       double f)
 => CoreDefinitions.Open_JTalk_set_volume(instance, f);
Beispiel #21
0
 public static void OpenJTalkClear(IntPtr instance)
 => CoreDefinitions.Open_JTalk_clear(ref instance);