问题标签 [recording]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
2068 浏览

c# - .NET 代码记录特定表单活动 + 音频到 avi

我正在寻找一些 C# 代码 .. 或 .NET 组件来记录我的屏幕(而不是整个桌面)上的表单活动以及音频,类似于 Camtasia 等程序允许执行的操作。

0 投票
1 回答
295 浏览

iphone - Recorded Audio Files

i have a application in which i record the user voice and save it into documents folder. now i want to get it back in to the photo library of the iphone or i want to download it so that user can share it with anybody.i am sending mail of the recorded file but if the file size is greated than 8 mb its not allo me to send the email with attachment so in such situation i want to downlod it. so how can get it please help.

0 投票
3 回答
1105 浏览

iphone - 保存最后 30 秒的视频

我想开发一个程序,用户可以在按下停止按钮后捕获并保存最后 30 秒的视频。

1) 我们可以控制视频录制吗?

2)我们如何才能获得最后 30 秒的视频?

0 投票
1 回答
1202 浏览

iphone - iphone - 任何方式来操纵录制的音频?

具体来说,我只想记录一些东西,将其反转,然后回放。我浏览了苹果文档,找不到任何关于编辑音频的信息。可能吗?

0 投票
4 回答
14466 浏览

android - Android:AudioRecord 类问题:从不调用回调

我的 Android Java 应用程序需要将音频数据记录到 RAM 中并进行处理。这就是我使用“AudioRecord”类而不是“MediaRecorder”(仅记录到文件)的原因。

到现在为止,我对音频数据使用了带有“read()”的繁忙循环轮询。到目前为止,这一直有效,但它过多地与 CPU 挂钩。在两次轮询之间,我将线程置于睡眠状态以避免 100% 的 CPU 使用率。但是,这并不是一个真正干净的解决方案,因为不能保证睡眠时间,您必须减去安全时间才能不丢失音频片段。这不是 CPU 最优的。对于并行运行的线程,我需要尽可能多的空闲 CPU 周期。

现在我使用“OnRecordPositionUpdateListener”实现了录制。根据 SDK Docs,这看起来很有希望,也是正确的方法。一切似乎都正常(打开音频设备,读取()数据等),但从未调用过 Listner。

有人知道为什么吗?

信息:我正在使用真正的设备,而不是在模拟器下。使用忙碌循环的录音基本上可以工作(但不能令人满意)。只有回调监听器永远不会被调用。

这是我的源代码中的一个片段:

0 投票
2 回答
697 浏览

iphone - Why isn't my recording able to be played? (iPhone SDK)

I'm programming an app that lets me record doorbell sounds and play them back on a doorbell that the user sees when they push the button. My app seems to record and save the file (the file is there (in Documents) according to the iPhone simulator as I've created the directory in the app delegate)). However playback isn't working. (By the way, the recording property returns TRUE.)

UPDATE: Here's the zip of the whole project.

Can someone help me see what's wrong?

In another view controller:

0 投票
3 回答
1507 浏览

flash - 从 Flash AS3 录制和保存声音

如何在 Flash AS3 中录制和保存声音。我有对服务器的写入权限,也有对 PHP 文件的访问权限。

有任何想法吗?

0 投票
1 回答
1390 浏览

iphone - iPhone:录制到 CAF 文件只会产生静态

我正在开发一个 iPhone 录音应用程序,它可以创建 caf 格式的音频文件。

当我播放这些文件时,我这里唯一的东西是静态的。此外,文件的大小非常大,例如 1.7 mb 记录 10 秒。

我可以用其他格式录制,例如 mp3。有没有人有一些如何做到这一点的示例代码?

谢谢

0 投票
1 回答
1464 浏览

iphone - iPhone SDK:设置音频路由并在静音开关打开时静音音频

我有一个应用程序,用户可以在其中录制声音并在扬声器或听筒中播放声音。要路由音频,我通过以下方式设置 kAudioSessionProperty_OverrideAudioRoute:

我还应该确保当用户打开/关闭静音/振动开关时,声音应该静音/取消静音。为此,我设置了以下属性

现在,问题是当我设置 Ambient 属性时,音频路由和音频录制停止工作。

我怎样才能让所有这些一起工作?

谢谢!

0 投票
1 回答
473 浏览

java - 录制声音,然后在 Android 上使用/保存

我想在我的应用程序中添加一个功能,您可以在其中录制声音然后在应用程序中使用它(MediaPlayer)

我怎样才能做到这一点?

  • 如何录制声音?
  • 如何将其放入 Mediaplayer?
  • 一定要保存吗?或者它可以从被记录 -> 直接进入应用程序......