English 中文(简体)
pyaudio将样本与系统24联系起来?
原标题:pyaudio associate a sample with system clock?

我有一份申请,其中我还有其他一些信号提到系统24(time.(<>>>>>),我想在与其他信号相对照时记录音频投入和数字。

首先,我尝试使用警示软件,认为当数据来自声音卡时,就会发生。 您将期望定期进行回响,但样本期大致不同,但

我也试图阻挡APIC,认为如果数据首次提供,它或许会回来,但这似乎也有同样的问题。 在<代码>portaudio中,还有组别的概念,以回馈方式提供、当值_time相对于其他组别而言,投射_buffer_adc_time<>/code>,后者可能提供我所需要的信息。 但是,这两种数值通常都是零(Ubuntu 14, 而我的母板不肯定会使用哪一种低级的亚特兰大),其中之一有时是非零。

如果能够在<代码>pyaudio<>/code>上达到这一目的,则愿意直接使用<代码>portaudio,但无论我是否刚刚需要能够在<代码>上出现样本(并非具体样本,任何意愿)何时发生。 见pyaudio。 有许多选项来自<代码>portaudio。

我还要指出,这一时机有两个组成部分。 我对长期组成部分非常感兴趣,因此,如果我记录了一次事件,然后是一小时后又一次事件,我知道这两个事件是如何按系统分类的。 也可能产生短期相对效应,因此,在实际事件发生后,我所花的时间将始终保持在1米。 一旦我长期工作,我就可以直接衡量这一相对性。

edit: 目前——时间和<代码>输入_buffer_adc_time等,是这样做的首选方式,因此,也许我应当做的是,如何利用一种不同的基本内容,而这种信息实际上能够发挥作用?

问题回答

或许input_device_index 在开放下游时,或开放<代码>目前_time和_input_buffer_adc_time时,应当给予。





相关问题
Timing a method and threads in .NET

I have two threads in my app - the main UI thread and another thread initiated by the wm_WiiMoteChanged event handler (a background thread). In the main thread I do some video processing. I have a ...

C# sub millisecond timing

Is there anywhere in C# to perform timing operations with sub millisecond accuracy? I m putting timing code in my software and everything is being returned as 0ms. I would like to know if there is a ...

Specific Path Algorithm with Speed Considered

I need to create an algorithm where a "vehicle" covers a 1262 m x 1262 m area with 20% overlap between each "leg". The width of each leg is 103 m, which by my calculations gives ...

JavaScript event sequence

Some events in JavaScript fire before others. For example, with an input element, the keydown and keypress events fire first. Then, if the return value from those was not false, the input.value is ...

页: 1

在PHP5.2中,如何在一天获得最后二次? 时间(+86400只剩下一天)?

Accurate Timings with Oscilloscopes on PC

In the world of embedded software (firmware) it is fairly common to observe the order of events, take timings and optimise a program by getting it to waggle PIO lines and capturing their behavior on ...

Jquery fadein and out

Check this out: http://novarose.co.cc/web2/ Fade effects are kinda messed up and I do not how to make then work properly. I want code to run in following sequence: Fade out block Insert new content ...

Serial programming: measuring time between characters

I am sending/receiving data over a serial line in Linux and I would like to find the delay between characters. Modbus uses a 3.5 character delay to detect message frame boundaries. If there is more ...

热门标签