编写python DJing软件是否可行? [英] would it be feasable to write python DJing software

查看:66
本文介绍了编写python DJing软件是否可行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在考虑在python中编写一个用于DJ的系统,但我不知道
不确定Python是否足够快以处理所需的实时音频
$对于DJ来说,b $ b可以让一位大师对这个主题有所了解并告诉我这是否可行或者我是不是出于我的心态?

Hi, I''m thinking about writing a system for DJing in python, but I''m
not sure if Python is fast enough to handle the realtime audio needed
for DJing, could a guru shed some light on this subject and tell me if
this is doable or if I''m out of my fscking mind?

推荐答案

Levi Campbell写道:
Levi Campbell wrote:
我正在考虑在python中编写一个用于DJ的系统,但我是
不确定Python是否足够快以处理DJ所需的实时音频,一位大师可以对这个主题有所了解并告诉我这是否可行或者我是不是出于我的心态?
Hi, I''m thinking about writing a system for DJing in python, but I''m
not sure if Python is fast enough to handle the realtime audio needed
for DJing, could a guru shed some light on this subject and tell me if
this is doable or if I''m out of my fscking mind?




你是什么意思DJ?排队和播放音频文件?如果是这样,

python应该可以正常工作。查看PyMedia库以获取

使用python播放/混合音频。


-Farshid



What do you mean by DJing? Queueing and playing audio files? If so,
python should work fine. Check out the PyMedia library for
playing/mixing audio with python.

-Farshid


Levi Campbell写道:
Levi Campbell wrote:
我正在考虑在python中编写一个用于DJ的系统,但是我不确定Python是否足够快以处理所需的实时音频对于DJ来说,一位大师能不能对这个主题有所了解并告诉我这是否可行或者我是不是出于我的心态?
Hi, I''m thinking about writing a system for DJing in python, but I''m
not sure if Python is fast enough to handle the realtime audio needed
for DJing, could a guru shed some light on this subject and tell me if
this is doable or if I''m out of my fscking mind?



任何和所有的混合都可能发生在某种多媒体上用C语言编写的
库(如果编程笨拙并且速度慢〜

执行,如果原始样本/字节的计算是在python中完成的,所以

不应该是一个明显的性能影响。



Any and all mixing would probably happen in some sort of multimedia
library written in C (it would be both clumsy to program and slow to
execute if the calculations of raw samples/bytes were done in python) so
there shouldn''t be a noticable performance hit.


在星期五, 2006年2月3日02:35:56 +0100

Ivan Voras< ivoras @ __- fer.hr -__>写道:
On Fri, 03 Feb 2006 02:35:56 +0100
Ivan Voras <ivoras@__-fer.hr-__> wrote:
Levi Campbell写道:
Levi Campbell wrote:
我正在考虑在
python中编写一个DJ系统,但我不确定是否Python足够快,可以处理DJ所需的实时音频
Hi, I''m thinking about writing a system for DJing in
python, but I''m not sure if Python is fast enough to
handle the realtime audio needed for DJing



任何和所有混合都可能发生在用C编写的某种多媒体库中



Any and all mixing would probably happen in some sort of
multimedia library written in C




其中不止一个存在。您可能对

PyMedia,PyGame(SDL),pyogg,pyvorbis软件包感兴趣。


您可能想尝试谷歌搜索Python音频库 ;,

似乎会显示其他一些结果。


请注意,pyogg / pyvorbis还可以访问

Ogg文件中嵌入的元数据,听起来像是

可能对你的应用程序有用。


干杯,

特里


-

Terry Hancock(ha*****@AnansiSpaceworks.com)

Anansi Spaceworks http://www.AnansiSpaceworks.com



Of which more than one exists. You may have some interest in
PyMedia, PyGame (SDL), pyogg, pyvorbis packages.

You might want to try googling for "Python audio libraries",
that appears to turn up some other results.

Note that pyogg/pyvorbis will also give you access to
the embedded metadata in Ogg files, which sounds like it
might be useful in your application.

Cheers,
Terry

--
Terry Hancock (ha*****@AnansiSpaceworks.com)
Anansi Spaceworks http://www.AnansiSpaceworks.com


这篇关于编写python DJing软件是否可行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆