简体   繁体   English

通过python为Skype录音

[英]Audio recording for skype via python

I have not tried anything yet but I am looking for some kind of pointers to show me the right direction. 我还没有尝试过任何东西,但是我正在寻找某种指示,以向我展示正确的方向。 I want to write a script in python to record the conversations from skype. 我想用python编写脚本来记录来自Skype的对话。 How can I write a program that records the conversation while conversations are made through skype? 通过Skype进行对话时,如何编写记录对话的程序? My platform is windows. 我的平台是Windows。

What I want to do: 我想做的事:

  1. Activate the python script (loop) to record as soon as the skype conversation starts. 启用python脚本(循环)以在Skype对话开始后立即进行记录。
  2. record the conversation. 记录对话。
  3. exit from the loop. 从循环退出。
  4. wait for the next conversation. 等待下一次对话。

Update: I looked into Pyaudio and I can do the recording part now. 更新:我调查了Pyaudio,现在可以开始录音了。 However, I am still confused about how to let my program know that the voice session is activated and closed in skype. 但是,我仍然对如何让程序知道语音会话已在Skype中被激活和关闭感到困惑。

Have you seen it? 你看到了吗? Skype for Developers Skype开发人员

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM