求 iteye账号分享帮忙下个附件 急用 拜托啦各位!!

求有PUDN账号的朋友帮个忙,下载个东西~急用拜托!!_百度知道
提问者采纳
用户名:luipudn密码:luipudn
提问者评价
其他类似问题
为您推荐:
您可能关注的推广回答者:
帮个忙的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁问题补充&&
本页链接:
猜你感兴趣
服务声明: 信息来源于互联网,不保证内容的可靠性、真实性及准确性,仅供参考,版权归原作者所有!Copyright &
Powered by&& 查看话题
求英语翻译啊!!!有急用啊!!拜托拜托~
蝴蝶效应(Butterfly Effect),是指在一个动力系统中,初始条件下微小的变化能引起整个系统长期而巨大的连锁反应。一只南美洲亚马逊河流域热带雨林中的蝴蝶,偶尔扇动几下翅膀,可能在两周后在美国德克萨斯引起一场龙卷风。此效应说明,事物发展的结果,对初始条件具有极为敏感的依赖性,初始条件的极小偏差,将会引起结果的极大差异。所以说,我们不能小看任何一件事,哪怕小的不能再小,因为它很有可能会酿成大祸。。。
& && &可以换一下顺序,怎么顺溜怎么来,拜托~~
谷歌翻译的&&你自己掺和掺和应该可以了&&感觉翻译还行
The Butterfly Effect (Butterfly Effect), is defined as a dynamic system, small changes in initial conditions can cause the entire system and great long-term ripple effect. A South American rainforest in the Amazon River Basin butterflies, occasionally flapping its wings a few weeks later in the United States may be caused by a tornado in Texas. This effect is described, the development of things, on the initial conditions, extremely sensitive dependence, small deviation of the initial conditions, the result will cause a great difference. So, we can not underestimate any one thing, even the small can not be small, because it is likely to lead to disaster. . . 采用翻译软件翻译在读一下就可以啦!比如搜狗翻译软件呀 百度翻译:
The butterfly effect, is refers to a dynamic system, the small change of initial conditions can cause the whole system of long and large chain reaction. A South American Amazon rainforest butterfly, flapping its wings a few occasionally, probably in two weeks in the United States caused by a tornado in Texas. This effect, the result of the development of things, has the extremely sensitive dependence on initial conditions, the initial conditions of minimal deviation, the result will cause a great difference. So, we can't look down on any one thing, even small cannot again small, because it is likely to lead to disaster...
维基百科中有原文的翻译比上面的好一些:
http://zh.wikipedia.org/wiki/%E8%9D%B4%E8%9D%B6%E6%95%88%E5%BA%94
http://en.wikipedia.org/wiki/Butterfly_effect
你可以看一下。android 局域网对讲机 -
- ITeye技术网站
博客分类:
参考了一些代码,实现了局域网的实时语音对讲功能,只要同网段局域网即可通话,文字聊天,传输文件等,包含了飞鸽传输的功能。
主要是录音发送和接收播放录音比较重要。录音线程:
public class AudioSend extends Thread {
Person person =
public AudioSend(Person person) {
this.person =
// android.os.Process.setThreadPriority(android.os.Process.THREAD_PRIORITY_URGENT_AUDIO);
public void run() {
super.run();
Socket socket =
OutputStream os =
AudioRecord recorder =
socket = new Socket(person.ipAddress, Constant.AUDIO_PORT);
socket.setSoTimeout(5000);
os = socket.getOutputStream();
// 获得录音缓冲区大小
int bufferSize = AudioRecord.getMinBufferSize(FlyGeonApplication.getInstance().sampRate, AudioFormat.CHANNEL_CONFIGURATION_MONO,
AudioFormat.ENCODING_PCM_16BIT);
Log.e("", "录音缓冲区大小"+bufferSize);
// 获得录音机对象
recorder = new AudioRecord(MediaRecorder.AudioSource.MIC, FlyGeonApplication.getInstance().sampRate, AudioFormat.CHANNEL_CONFIGURATION_MONO,
AudioFormat.ENCODING_PCM_16BIT, bufferSize * 10);
recorder.startRecording();// 开始录音
byte[] readBuffer = new byte[640];// 录音缓冲区
int length = 0;
while (!isStopTalk) {
length = recorder.read(readBuffer, 0, 640);// 从mic读取音频数据
if (length & 0 && length % 2 == 0) {
os.write(readBuffer, 0, length);// 写入到输出流,把音频数据通过网络发送给对方
recorder.stop();
recorder.release();
recorder =
os.close();
socket.close();
} catch (Exception e) {
e.printStackTrace();
接收播放线程
public class AudioPlay extends Thread {
Socket socket =
public AudioPlay(Socket socket) {
this.socket =
// android.os.Process.setThreadPriority(android.os.Process.THREAD_PRIORITY_URGENT_AUDIO);
public void run() {
super.run();
InputStream is = socket.getInputStream();
// 获得音频缓冲区大小
int bufferSize = android.media.AudioTrack.getMinBufferSize(FlyGeonApplication.getInstance().sampRate,
AudioFormat.CHANNEL_CONFIGURATION_MONO, AudioFormat.ENCODING_PCM_16BIT);
Log.e("", "播放缓冲区大小"+bufferSize);
// 获得音轨对象
AudioTrack player = new AudioTrack(FlyGeonApplication.getInstance().getVoiceMode(), FlyGeonApplication.getInstance().sampRate,
AudioFormat.CHANNEL_CONFIGURATION_MONO, AudioFormat.ENCODING_PCM_16BIT, bufferSize,
AudioTrack.MODE_STREAM);
// 设置喇叭音量
player.setStereoVolume(1.0f, 1.0f);
// 开始播放声音
player.play();
byte[] audio = new byte[160];// 音频读取缓存
int length = 0;
while (!isStopTalk) {
length = is.read(audio);// 从网络读取音频数据
byte[] temp = audio.clone();
if (length & 0 && length % 2 == 0) {
// for(int
// i=0;i&i++)audio[i]=(byte)(audio[i]*2);//音频放大1倍
player.write(audio, 0, temp.length);// 播放音频数据
player.stop();
player.release();
is.close();
socket.close();
} catch (IOException e) {
e.printStackTrace();
AudioTrack player = new AudioTrack(FlyGeonApplication.getInstance().getVoiceMode(), FlyGeonApplication.getInstance().sampRate,AudioFormat.CHANNEL_CONFIGURATION_MONO, AudioFormat.ENCODING_PCM_16BIT, bufferSize,AudioTrack.MODE_STREAM);其中第二个参数与机器有关,一般为8000。我在解决这个问题时 就是遍历一遍常见的可能数值,直到正确为止。
第一个参数是声音的播放模式,可以为听筒模式和扬声器模式。由于扬声器模式会有回音,所以一般用听筒模式即可。
以下是软件截图
以下是程序包,解压为apk即可安装
(762.3 KB)
下载次数: 1145
浏览 16016
博主还在么?我也想求一份源码...其实,我想要界面,哈哈哈
浏览: 31017 次
来自: 长沙
可以发一个源码学习一下吗?非常感谢!!@qq ...
求源码,,谢谢
可以发一个源码学习一下吗?非常感谢!!
求源码学习一下,非常感谢
博主你好,请问这个软件是你写的吗?感觉很不错,能不能发份源码学 ...

我要回帖

更多关于 iteye论坛 的文章

 

随机推荐