记录&从智能手机应用程序中保存声音字节(C#) [英] Record & save a sound byte from within smartphone app (C#)

查看:87
本文介绍了记录&从智能手机应用程序中保存声音字节(C#)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是想录制一个30秒的声音字节并将其保存到预先指定的文件中。我似乎无法找到有关如何进行此操作的任何信息。有人有什么建议吗?他们将非常感激!

解决方案




我有一个录音.WAV的录音课程使用内置技术在Windows Mobile中存档(即根本不需要第三方软件)


我现在在家,我在办公室里有代码所以我不能得到它直到星期一,我会试着看看我是否有备份......但我不确定。


Mark


< blockquote>非常感谢,Mark!反正我不是那么匆忙。


我得说,你总是在控球,并提示。非常感谢!



非常感谢,Mark!反正我不是那么匆忙。


我得说,你总是在控球,并提示。为此非常感谢!



不用担心交配,很乐意提供帮助!


这是一个名为VoiceRecorder.cs的课程......它''使用起来相当简单。它是我在codeproject上发现的一个稍微修改过的版本(我很抱歉,我找不到原始的URL)它启动了Windows Mobile的内置录音设备。


您可以使用

展开 | 选择 | Wrap | 行号


I''m simply trying to record a 30 second sound byte and save it to a predesignated file. I can''t seem to find any info on how to go about doing this. Does anybody have any suggestions? They''d be much appreciated!

解决方案

Hi,

I have a voicerecorder class that will record a .WAV file in windows mobile using the built in technologies (i.e. no 3rd party software needed at all)

I am at home now, I have the code in the office so I can''t get at it until Monday, I''ll try and see if I have a backup here... but I am not sure.

Mark


Thanks a whole lot, Mark! I''m not in that much of a hurry anyways.

I gotta say, you are always on the ball, and prompt. Thanks a lot for that!


Thanks a whole lot, Mark! I''m not in that much of a hurry anyways.

I gotta say, you are always on the ball, and prompt. Thanks a lot for that!


No worries mate, glad to help!

This is a class called VoiceRecorder.cs ... It''s fairly simple to use. It''s a slightly modified version of one I found on thecodeproject a while back (I''m VERY sorry, I can''t find the original URL) it launches the inbuilt audio recording facilities of Windows Mobile.

You invoke it by using

Expand|Select|Wrap|Line Numbers


这篇关于记录&amp;从智能手机应用程序中保存声音字节(C#)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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