开发者

in which format i can Store Sound in Database using by C#

I'm using speech recognition but some words are not correct speaking. Therefore, I want mix my voice for some words.

I want to play a String in C#, some word I have recorded. I want to mix my 开发者_如何学运维recorded word with String and then play it.


You would use a binary data type. For SQL Server, that type is named "image", for binary image (not for picture.)

With that you can store a .wav-file or .mp3 or whatever you need.

Of course, there is also a discussion whether you should store binary data in the database at all, or just store it on disk and store the path to the file in the database.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜