mic

iPhone Mic volume

匿名 (未验证) 提交于 2019-12-03 08:30:34
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Is there any way to poll the mic input volume with AVFoundation? I have seen the CoreAudio examples like SpeakHere but I really only need the current value. Is CA my only option? 回答1: You should checkout SCListener. It's a simple way just to get the average or peak level of the mic. http://github.com/stephencelis/sc_listener 文章来源: iPhone Mic volume

Measurement with boost::posix_time::microsec_clock has error more than ten microseconds?

匿名 (未验证) 提交于 2019-12-03 02:26:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have the following code: long long unsigned int GetCurrentTimestamp() { LARGE_INTEGER res; QueryPerformanceCounter(&res); return res.QuadPart; } long long unsigned int initalizeFrequency() { LARGE_INTEGER res; QueryPerformanceFrequency(&res); return res.QuadPart; } //start time stamp boost::posix_time::ptime startTime = boost::posix_time::microsec_clock::local_time(); long long unsigned int start = GetCurrentTimestamp(); // .... // execution that should be measured // .... long long unsigned int end = GetCurrentTimestamp(); boost::posix

ValueError: time data does not match format '%Y-%m-%d %H:%M:%S.%f'

匿名 (未验证) 提交于 2019-12-03 01:39:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am facing one little problem. I am storing some date time data and the data is # "datetime","numb","temperature" "1998-04-18 16:48:36.76",0,38 "1998-04-18 16:48:36.8",1,42 "1998-04-18 16:48:36.88",2,23 "1998-04-18 16:48:36.92",3,24 "1998-04-18 16:48:36",4,42 "1998-04-18 16:48:37",5,33 "1998-04-18 16:48:37.08",6,25 the date time column is clearly string, so when I try to convert it , I got this error ValueError: time data '1998-04-18 16:48:36' does not match format '%Y-%m-%d %H:%M: %S.%f' my code is import time import datetime import

Switching from Internet Explorer to Microsoft Edge

匿名 (未验证) 提交于 2019-12-03 01:23:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: After the recent release of Windows 10, including the new browser - Microsoft Edge - would anyone simply know how to open Microsoft Edge browser via Excel VBA. I have tried searching the website without any luck. This is the current basic Excel VBA coding I use to open the Internet Explorer: Sub xyz () Dim Browser As SHDocVw . InternetExplorer 'Microsoft Internet Controls Dim HTMLdoc As MSHTML.HTMLDocument ' Microsoft HTML Object Library Dim URL As String URL = "http://www.bbc.co.uk/news" Set Browser = New InternetExplorer Browser

Get mic audio in android. AudioContext

匿名 (未验证) 提交于 2019-12-03 01:23:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: (For some reason I can't get an answer to this problem...) Hello. I need to access android microphone. I made a tuner app in the web using this: https://github.com/cwilso/PitchDetect . Works just fine. However when I build the app to android using intelXDK and cordova plugins I can't get any mic input. I am not sure if I need to use this: https://github.com/edimuj/cordova-plugin-audioinput . Seems like the right way to get the audioContext in android. Plus it shows a warning when installing the app saying that it needs to give authorization.

Tap Mic Input Using AVAudioEngine in Swift

匿名 (未验证) 提交于 2019-12-03 01:18:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I'm really excited about the new AVAudioEngine. It seems like a good API wrapper around audio unit. Unfortunately the documentation is so far nonexistent, and I'm having problems getting a simple graph to work. Using the following simple code to set up an audio engine graph, the tap block is never called. It mimics some of the sample code floating around the web, though those also did not work. let inputNode = audioEngine . inputNode var error : NSError ? let bus = 0 inputNode . installTapOnBus ( bus , bufferSize : 2048 , format :

How do I apply effect to mic input?(iOS Core Audio & Audio Graph)

匿名 (未验证) 提交于 2019-12-03 01:06:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I would like to develop application on iOS5 that get voice and apply effect(high pass filer, delay, and so on) to it and output it from speaker. I tried RemoteIO(input) -> effect ->RemoteIO(output) but it didn't work. AudioComponentDescription cd ; cd . componentType = kAudioUnitType_Output ; cd . componentSubType = kAudioUnitSubType_RemoteIO ; cd . componentManufacturer = kAudioUnitManufacturer_Apple ; cd . componentFlags = 0 ; cd . componentFlagsMask = 0 ; AUGraphAddNode ( self . auGraph , & cd , & remoteIONode ); AUGraphNodeInfo

Microphone detection Actionscript 3

匿名 (未验证) 提交于 2019-12-03 01:05:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm having a few problems detecting whether a microphone is detected or not. I'm running the function Microphone.getMicrophone() and that should return null if there is no microphone attached, or if the user has clicked Deny on the security panel, right? The problem I'm facing is, on some computers where there is no microphone installed, Microphone.getMicrophone() still traces out as [object Microphone] . So say for example the user doesn't have a microphone, and clicks allow in the security panel, I can't validate whether to switch to

#error “Use this header only with Microsoft Visual C++ compilers” in CodeBlocks

匿名 (未验证) 提交于 2019-12-03 00:57:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Need help here... I try to build my program but halfway this error ../../gitRepo/recotraffic2.git/include/inttypes.h|33|error: #error "Use this header only with Microsoft Visual C++ compilers!"| keep on pop up from inttype.h file , how I'm going to solve this 文章来源: #error “Use this header only with Microsoft Visual C++ compilers” in CodeBlocks

一次gitlab无法使用ssh登录的问题解决

匿名 (未验证) 提交于 2019-12-02 22:56:40
故障现象: [root@web-m data]# git clone ssh://git@gitlab.lixinkuan.com:22022/lxk/core.git Cloning into 'core'... git@gitlab.lixinkuan.com's password: Permission denied, please try again. git@gitlab.lixinkuan.com's password: Permission denied, please try again. git@gitlab.lixinkuan.com's password: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. 本地已经创建密钥并把私钥传至用户 SSH Keys中,操作过程没问题,但是只能通过http方式输入用户名密码登录。 提示中Permission denied已表明是权限问题,因为ssh登录时不能用密码登录