如何在C#中使用MBROLA [英] How to use MBROLA in C#

查看:87
本文介绍了如何在C#中使用MBROLA的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好.

我正在尝试为我的硕士学位项目开发一个软件应用程序:使用MBROLA的罗马尼亚语文本转语音应用程序.

我使用的语言是C#-因为这是我制作项目所必须使用的语言.

我已经制定了将文本文件转换为.PHO文件的算法…但是现在我不知道如何调用MBROLA来读取.PHO文件.

我已经看过C,Delphi和VB的示例,但是我无法对如何在C#中使用它产生想法.

我尝试在C#中为MBRPlayer进行引用,但是没有用.


请帮我.我为此进行了大量搜索,但没有发现任何内容.



谢谢.

Hello.

I am trying to make a little software application for my Master Degree Project : a Text To Speech application using MBROLA for Romanian language.

The language I am using is C# - because that''s the language in which i have to make my project.

I’ve made the algorithm to transform a text file into a .PHO file…but now I don’t know how to call MBROLA to read the .PHO file.

I''ve seen examples for C, Delphi and VB, but i couldn''t make an ideea how to use it in C#.

I''ve tryied to make a reference in C# for MBRPlayer, but it didn''t work.


Please, help me. I’ve searched a lot for this and haven’t found anything.



Thank You.

推荐答案

Platform Invoke Services允许您调用DLL s中的非托管函数(我想像MBROLA那样),请参见此处[ ^ ]一个教程.
:)
The Platform Invoke Services allows you to call unmanaged functions in DLLs (like the MBROLA ones, I guess), see here [^] for a tutorial.
:)


如果您只是想播放.pho文件,我请您仅使用.pho文件运行该程序.我在我的程序中做到了.尝试谷歌搜索调用外部程序"

能否请您告诉我有关可以从文本转换为.pho文件的创建算法的参考?我一直在搜索,但找不到它

问候
iudy
if you just wanna to play a .pho file, i guest you to run the program only with your .pho file. i did it in my program. try googling "call external program"

can you tell me please, reference for create algorithm which can transfrom text to .pho file? i''ve searching all the time but i can''t found it

regards
iudy


这篇关于如何在C#中使用MBROLA的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆