当前位置: 首页 > 软件库 > 应用工具 > 多媒体工具 >

pyo

Python DSP module
授权协议 LGPL-3.0 License
开发语言 C/C++
所属分类 应用工具、 多媒体工具
软件类型 开源软件
地区 不详
投 递 者 万乐逸
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Pyo - Python DSP module

pyo is a Python module written in C to help digital signal processing scriptcreation.

pyo is a Python module containing classes for a wide variety of audio signalprocessing types. With pyo, user will be able to include signal processingchains directly in Python scripts or projects, and to manipulate them in realtime through the interpreter. Tools in pyo module offer primitives, likemathematical operations on audio signal, basic signal processing (filters,delays, synthesis generators, etc.), but also complex algorithms to createsound granulation and others creative audio manipulations. pyo supports OSCprotocol (Open Sound Control), to ease communications between softwares, andMIDI protocol, for generating sound events and controlling process parameters.pyo allows creation of sophisticated signal processing chains with all thebenefits of a mature, and widely used, general programming language.

Systems : macOS (10.10+), linux, Windows (XP, Vista, 7, 8, 10)

Python versions : 2.7 (up to 1.0.1), 3.5 (up to 1.0.1), 3.6, 3.7, 3.8, 3.9.

For more resources, informations and documentation, visit thePYO OFFICIAL WEB SITE.

How to install pre-built packages on any platform using pip:INSTALL Instructions.

How to get pyo running from sources on macOS and linux:COMPILE Instructions.

pyo was awarded second prize in theLomus 2012 Free Software Competition.

You want to help the development of pyo ? Go to thepyo features marketand make a donation for the feature you want to promote. You can also submit newfeatures on the mailing-list ( pyo-discuss@googlegroups.com ).

Radio Pyo

If you want to listen to scripts rendered in real-time, just connect toRadio Pyo !

You want to have your script played on the radio ? Download the templateradiopyo_template.py,follow the rules and post it on the mailing-list !

Software using Pyo as audio engine

Cecilia 5 : An audio signalprocessing environment.

PsychoPy : An open-source application to allow thepresentation of stimuli and collection of data for a wide range of neuroscience,psychology and psychophysics experiments.

Soundgrain :A graphical interface where users can draw and edit trajectories to controlgranular sound synthesis.

Zyne : A modular soft synthesizer.

Pyo Synth : Pyo Synth is an opensource application that makes the manipulation of pyo scripts easier by lettingyou control it with a midi keyboard.

Examples

pyo is fully integrated to Python and very simple to use.

Play a sound:

>>> from pyo import *
>>> s = Server().boot()
>>> s.start()
>>> sf = SfPlayer("path/to/your/sound.aif", speed=1, loop=True).out()

Granulate an audio buffer:

>>> s = Server().boot()
>>> s.start()
>>> snd = SndTable("path/to/your/sound.aif")
>>> env = HannTable()
>>> pos = Phasor(freq=snd.getRate()*.25, mul=snd.getSize())
>>> dur = Noise(mul=.001, add=.1)
>>> g = Granulator(snd, env, [1, 1.001], pos, dur, 24, mul=.1).out()

Generate melodies:

>>> s = Server().boot()
>>> s.start()
>>> wav = SquareTable()
>>> env = CosTable([(0,0), (100,1), (500,.3), (8191,0)])
>>> met = Metro(.125, 12).play()
>>> amp = TrigEnv(met, table=env, mul=.1)
>>> pit = TrigXnoiseMidi(met, dist='loopseg', x1=20, scale=1, mrange=(48,84))
>>> out = Osc(table=wav, freq=pit, mul=amp).out()

Donation

This project is developed by Olivier Bélanger on his free time to provide afully integrated Python dsp module for sound exploration and music composition.If you feel this project is useful to you and want to support it and it'sfuture development please consider donating money. I only ask for a smalldonation, but of course I appreciate any amount.

  • pyc和pyo简介 .pyc 在执行python代码时经常会看到同目录下自动生成同名的pyc文件。这是python源码编译后的字节码,一般会在代码执行时自动生成你代码中引用的py文件的pyc文件。这个文件可以直接执行,用文本编辑器打开也看不到源码。 .pyo pyo是跟pyc类似的优化编码后的文件。 编译成pyc文件 python -m py_compile file.py python -m p

  • http://blog.csdn.net/balabalamerobert/article/details/2683029#comments http://blog.csdn.net/zhengsenlie/article/details/30511257 http://www.cnblogs.com/txw1958/archive/2012/02/23/pyc_introduce.html ht

  • python执行py文件的流程 当我们执行一个py文件的时候,直接python xx.py即可,那么这个流程是怎么样的呢。先说明一下,python执行代码实际上是先打开文件然后执行里面的代码,所以文件的扩展名不一定是py的形式,txt形式也是依旧可以成功执行,只要文件里面的代码是符合python规范的。下面我们来看看python是怎么执行py文件的。 先将文件里面的内容读取出来,scanner对其

  • http://blog.csdn.net/balabalamerobert/article/details/2683029#comments http://blog.csdn.net/zhengsenlie/article/details/30511257 http://www.cnblogs.com/txw1958/archive/2012/02/23/pyc_introduce.html ht

  • 作者:知乎用户 链接:https://www.zhihu.com/question/30296617/answer/112564303 来源:知乎 著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 在很多工作上Python的运行流程基本上 取决于用户,因此源码不需要编译成二进制代码(否则无法实现大部分贴近用户的特性),而直接从源码运行程序。当我们运行python文件程序的时候,

  • 本文原创,版权属作者个人所有,如需转载请联系作者本人。Q&微:155122733 -------------------------------------------------------------------------------------------------------- 一. 单个生成pyc文件 1 命令方式---生成pyc文件: python -m py_compile te

  • py是源文件,pyc是源文件编译后的文件,pyo是源文件优化编译后的文件,pyd是其他语言写的python库 python并非完全是解释性语言,它是有编译的,先把源码py文件编译成pyc或者pyo,然后由python的虚拟机执行,相对于py文件来说,编译成pyc和pyo本质上和py没有太大区别,只是对于这个模块的加载速度提高了,并没有提高代码的执行速度,通常情况下不用主动去编译pyc文件,文档上说

  • python编译py成pyc和pyo pyc是一种二进制文件,是由py文件经过编译后,生成的文件,是一种byte code,py文件变成pyc文件后,加载的速度有所提高,而且pyc是一种跨平台的字节码,是由python的虚拟机来执行的,这个是类似于JAVA或 者.NET的虚拟机的概念。pyc的内容,是跟python的版本相关的,不同版本编译后的pyc文件是不同的,2.5编译的pyc文件,2.4版本

  • Autotools坚持在构建我的项目时(而不是在运行它时)生成pyo和pyc文件,无论我做什么.问题是我的Python配置有点奇怪,我不希望Python编译器在安装过程中运行.有没有办法禁用生成这些文件? 作为参考,以下是我尝试过的事情: >设置py_compile = echo,以便automake不会编译Python脚本 >在Makefile.am中手动定义install-pythonPYTH

  • Python([ˈpaɪθən])是一种面向对象、解释型计算机程序设计语言。Python 语法简洁、清晰,具有丰富和强大的类库。 Python源代码遵循 GPL (GNU General Public License) 协议,由 Guido van Rossum 于 1989 年底发明,第一个公开发行版发行于 1991 年。 Python 常被称为胶水语言,能把用其他语言编写的各模块 (尤其是 C

  • python py、pyc、pyo、pyd文件区别  py是源文件,pyc是源文件编译后的文件,pyo是源文件优化编译后的文件,pyd是其他语言写的python库

  • 作者:知乎用户  链接:https://www.zhihu.com/question/30296617/answer/112564303  来源:知乎  著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 作为Python爱好者,需要了解.py脚本的基本运行机制及特性: 在很多工作上Python的运行流程基本上取决于用户,因此源码不需要编译成二进制代码(否则无法实现大部分贴近用户

相关阅读

相关文章

相关问答

相关文档